Search found 128 matches: txmldocument

Return to advanced search

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: 122

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: 130

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: 340

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: 594

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: 701

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: 701

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: 1206

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: 1194

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: 4558

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: 4558

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: 869

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: 592

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: 473

Re: Acquisire un fattura elettronica

... " perchè ultimamente ho creato la classe TfatturaElettronica non più con il Fcreate e fclose come all'inizio ma ho usato le classe TXmlDocument() e TXmlNode() forse più professionale e posso dividere le parti con vari metodi Per l'acquisizione pensavo ci fosse un comando per riconoscere ...
by Silvio.Falconi
Wed Dec 12, 2018 8:12 am
 
Forum: All products support
Topic: Acquisire un fattura elettronica
Replies: 13
Views: 3877

Re: Fatturazione Elettronica

Ragazzi, invece di usare fcreate e fclose non si puo' usare direttamente la classe TXmlDocument() oXml := TXmlDocument():new( '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>' ) oXmlNode := TXmlNode():new( , '<p:FatturaElettronica ...
by Silvio.Falconi
Wed Dec 05, 2018 10:36 am
 
Forum: All products support
Topic: Fatturazione Elettronica
Replies: 91
Views: 62700
Next

Return to advanced search