Search found 130 matches: txmldocument

Return to advanced search

Funcion XMLToHash

... la forma de pasar un XML a Hash, y encontré una función de Rafa Carmona, tomado ideas de esa función, escribí esta otra función, utilizando TXmlDocument: FUNCTION XMLToHash(cXMLFile)   LOCAL oXmlDoc, oRoot, hResult      TRY      oXmlDoc := TXmlDocument():New(cXMLFile)  ...
by csincuir
Tue Dec 17, 2024 5:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funcion XMLToHash
Replies: 2
Views: 114

TXmlDocument() Class - SOLUCIONADO-

Hola a todos, Estoy intentando cambiar el valor de un Tag en un XML (su valor no el Tag en si) y no doy con el METHOD de esta clase. Dónde puedo encontrar con qué método de la clase puedo cambiarlo? Muchas gracias, Editado ======= Así lo hago: oTagRemisionVoluntariaIncidencia:cData := "Stres&qu...
by FiveWiDi
Sat Nov 16, 2024 11:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: TXmlDocument() Class - SOLUCIONADO-
Replies: 0
Views: 275

Ayuda con Mensaje Error irrecuperable 9009: hb_xrealloc

... Hola Fivewinners Need to open 160.000+ xml files and extract some info Necesito abrir mas de 160.000 archivos xml y sacar informacion I use tXmlDocument class Uso la clase TxmlDocument I have the file names in an Array Tengo los nombres de los archivos en un arreglo     For X=1 to 160.xxx  ...
by Adolfo
Wed Mar 20, 2024 7:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con Mensaje Error irrecuperable 9009: hb_xrealloc
Replies: 4
Views: 1220

Help with HB_REALLOC ERROR 9009

... Hola Fivewinners Need to open 160.000+ xml files and extract some info Necesito abrir mas de 160.000 archivos xml y sacar informacion I use tXmlDocument class Uso la clase TxmlDocument I have the file names in an Array Tengo los nombres de los archivos en un arreglo     For X=1 to 160.xxx  ...
by Adolfo
Wed Mar 20, 2024 7:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with HB_REALLOC ERROR 9009
Replies: 5
Views: 1515

Re: PepPol European Invoicing standard

... facil y mucho menos más clara. Saludos Soy de la opinión que un XML debería tratarse con las funciones específicas para ello, por ejemplo: oDoc := TXMLDocument():New() oDoc:oRoot:AddBelow( TxmlNode():New( HBXML_TYPE_PI, 'xml' , , "version='1.0' encoding='ISO-8859-1'" ) ) oDocument := ...
by FiveWiDi
Wed Feb 14, 2024 10:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PepPol European Invoicing standard
Replies: 12
Views: 1905

Re: Como detecto si un archivo es del tipo XML?

... Build 9200 Time from start: 0 hours 0 mins 2 secs Error occurred at: 10/11/2023, 06:24:00 Error description: Error BASE/1004 Message not found: TXMLDOCUMENT:CURNODE Args: [ 1] = O TXMLDOCUMENT
by goosfancito
Fri Nov 10, 2023 5:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como detecto si un archivo es del tipo XML?
Replies: 10
Views: 1084

Re: read a big xml file

kajot wrote:How can I use
oText:ReadLine()

with
TXmlDocument():New( )

KAJOT

what do you need to use that for?
by cnavarro
Sun Jun 25, 2023 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: read a big xml file
Replies: 11
Views: 986

Re: read a big xml file

How can I use
oText:ReadLine()

with
TXmlDocument():New( )

KAJOT
by kajot
Sun Jun 25, 2023 5:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: read a big xml file
Replies: 11
Views: 986

Re: AYUDA PARA LEER XML DE FACTURA ELECTRONICA ( SOLUCIONADO )

... nXml := '<?xml version="1.0" encoding="UTF-8"?>'+CRLF nXml += cText Else nXml := cXml cNodo:= cProc EndIf oXmlDoc := TXmlDocument():new( nXml ) IF oXmlDoc:nStatus != HBXML_STATUS_OK RETURN cRet ENDIF oNode := oXmlDoc:findfirst(cNodo) If oNode != Nil If lNodo xmlNode ...
by CARLOS ATUNCAR
Thu Apr 01, 2021 3:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA PARA LEER XML DE FACTURA ELECTRONICA ( SOLUCIONADO )
Replies: 6
Views: 1623

read xml file

How read xml file size 10Mb cFileName:='test.xml' I am using oXmlDoc := TXmlDocument():new( ) // HBXML_TYPE_CDATA HBXML_STYLE_NOESCAPE IF oXmlDoc:nStatus != HBXML_STATUS_OK Msginfo( "error file .XML" ) Break ENDIF oXmlDoc:read( Memoread( cFileName ...
by kajot
Wed Dec 09, 2020 9:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: read xml file
Replies: 6
Views: 1367

Re: Are there any Treeview samples with associated edit boxes?

... with "New" highlighted. I'll play with some Export/Save As routines, as this proceeds. This is has some real potential, Antonio. Class TXmlDocument() provides XML error detection support, so we have already included it: https://github.com/FiveTechSoft/FWH_tools/blob/master/pim.zip ...
by FWExplorer
Sat Nov 28, 2020 1:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Are there any Treeview samples with associated edit boxes?
Replies: 44
Views: 6210

Re: Are there any Treeview samples with associated edit boxes?

Class TXmlDocument() provides XML error detection support, so we have already included it:
https://github.com/FiveTechSoft/FWH_tools/blob/master/pim.zip

Silvio, now you can check the error in your XML file! Anyhow, we get the error description but no idea what the error is yet :-)
by Antonio Linares
Sat Nov 28, 2020 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Are there any Treeview samples with associated edit boxes?
Replies: 44
Views: 6210

Re: buildH.BAT more than 1 PRG ?

... NTOCMONTH(), BEFORATNUM(), HHASKEY(), ADDMONTH(), EOM(), TIMETOSEC(), OS_ISWTSCLIENT(), NUMAT(), ANSITOWIDE(), AFTERATNUM(), EXENAME(), TXMLDOCUMENT(), HSETCASEMATCH(), GETACTIVEOBJECT(), CREATEOBJECT(), HB_GETFILESINZIP(), HB_UNZIPOPEN(), HB_UNZIPFILEFIRST(), HB_UNZIPFILEINFO(), HB_UNZIPFILEOPEN(), ...
by Jimmy
Sat Dec 21, 2019 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: buildH.BAT more than 1 PRG ?
Replies: 4
Views: 1149

XML read, memory allocation error

... Terminated at: 2019-06-09 08:54:10 Unrecoverable error 9006: hb_xgrab can't allocate memory Called from HBXML_DATAREAD(0) Called from (b)TXMLDOCUMENT(0) in xhb\txml.prg Called from TXMLDOCUMENT:READ(0) in xhb\txml.prg Called from TXMLDOCUMENT:NEW(0) in xhb\txml.prg Called from _STARTUP(133) ...
by cdmmaui
Thu Jun 20, 2019 5:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML read, memory allocation error
Replies: 2
Views: 651

XML help

... Sample Code /********* nXmlMax := LEN(aXmlFile) cXmlFile := aXmlFile[nXmlMax,1] cStart := TIME() hFile := FOpen( cSource + cXmlFile ) oXmlDoc := TXmlDocument():New( hFile ) oXmlIter := TXmlIterator():New( oXmlDoc:oRoot ) WHILE .T. oTagActual = oXmlIter:Next() If oTagActual != nil cTagName := ...
by cdmmaui
Thu Jun 06, 2019 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML help
Replies: 2
Views: 538
Next

Return to advanced search