Search found 27 matches: txmliterator

Return to advanced search

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

... I have explained in the previous post we need to implement a way to detect if there is an error in the XML file or check if it is a Harbour (Class TXmlIterator) bug. When I load a file created not read good Please try it < ?xml version = "1.0" encoding = "ISO-8859-1" ? > ...
by Antonio Linares
Sat Nov 28, 2020 11:03 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Are there any Treeview samples with associated edit boxes?
Replies: 44
Views: 6101

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

... try pim.exe first with the included xml files in pim.zip. Open them from pim.exe. They should read fine. * We have noticed that Harbour Class TXmlIterator seems to fails when numbers are used instead of chars, i.e.: <1></1>. This is something to be confirmed, fixed and reported ...
by Antonio Linares
Sat Nov 28, 2020 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Are there any Treeview samples with associated edit boxes?
Replies: 44
Views: 6101

XML help

... 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 := "" cTagData := "" IF ...
by cdmmaui
Thu Jun 06, 2019 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML help
Replies: 2
Views: 532

Re: Need explanation: FWH XML example

... Included is a file \harbour-3.0.0\contrib\xhb\txml.prg which provides full source code for the classes TXMLNode and TXMLIterator (and some more). There you can find all methods and properties, maybe this can help you. I'm no expert on xml file handling, but I suggest, ...
by gkuhnert
Mon Jul 17, 2017 7:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need explanation: FWH XML example
Replies: 3
Views: 1134

Re: Información sobre TXmlDocument y TXmlIterator

FiveWiDi wrote:Hola a todos,

Dónde puedo encontrar información sobre la clase TXmlDocument y TXmlIterator?

Quiero entender los ejemplos que aporta FiveWin pero no sé que significan algunas DATAS ni el comportamiento de algun MÉTODO.


Muchas gracias,
by FiveWiDi
Wed Aug 24, 2016 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Información sobre TXmlDocument y TXmlIterator
Replies: 2
Views: 896

Información sobre TXmlDocument y TXmlIterator

Hola a todos,

Dónde puedo encontrar información sobre la clase TXmlDocument y TXmlIterator?

Quiero entender los ejemplos que aporta FiveWin pero no sé que significan algunas DATAS ni el comportamiento de algun MÉTODO.
by FiveWiDi
Tue Aug 23, 2016 6:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Información sobre TXmlDocument y TXmlIterator
Replies: 2
Views: 896

XML Read Problems

... ) IF LEN(aXmlFile)>0 cXmlFile := aXmlFile[1,1] hFile := FOpen( cSource + cXmlFile ) oXmlDoc := TXmlDocument():New( hFile ) oXmlIter := TXmlIterator():New( oXmlDoc:oRoot ) WHILE .T. oTagActual = oXmlIter:Next() If oTagActual != nil //MsgInfo( oTagActual:cName, oTagActual:cData ) // Init... ...
by cdmmaui
Tue Apr 26, 2016 1:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML Read Problems
Replies: 1
Views: 1087

Re: Factura Electronica Argentina - XML de la AFIP

... "FiveWin.ch" function Main() local hFile := FOpen( "test.xml" ) Local oXmlDoc := TXmlDocument():New( hFile ) Local oXmlIter := TXmlIterator():New( oXmlDoc:oRoot ), oTagActual while .T. oTagActual = oXmlIter:Next() If oTagActual != nil MsgInfo( oTagActual:cName, oTagActual:cData ...
by Enrrique Vertiz
Fri Jul 17, 2015 12:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Factura Electronica Argentina - XML de la AFIP
Replies: 6
Views: 1414

Re: Error al leer XML

... Moneda="MXN" subTotal="506.00" hFile := FOpen(Archivo2) oXmlDoc := TXmlDocument():New( hFile ) oXmlIter := TXmlIterator():New( oXmlDoc:oRoot ) oDatos:Blank() aDatos := {} oXmlNode := oXmlDoc:FindFirst( "Header" ) DO WHILE .T. oTagActual = oXmlIter:Next() ...
by servicomver
Thu Jun 11, 2015 3:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al leer XML
Replies: 4
Views: 1645

Error al leer XML

Hola, estoy tratando de leer un XML de la siguiente forma: hFile := FOpen(Archivo2) oXmlDoc := TXmlDocument():New( hFile ) oXmlIter := TXmlIterator():New( oXmlDoc:oRoot ) oDatos:Blank() aDatos := {} DO WHILE .T. oTagActual = oXmlIter:Next() If oTagActual != nil HEval( oTagActual:aAttributes, ...
by servicomver
Wed Jun 10, 2015 9:01 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al leer XML
Replies: 4
Views: 1645

Re: TXMLDocument()/TXMLIterator()

My version is 10.6 yet, can you post the sample?
by sambomb
Mon May 11, 2015 4:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXMLDocument()/TXMLIterator()
Replies: 3
Views: 1011

Re: TXMLDocument()/TXMLIterator()

you looked at the example c: \ FWH \ samples \ xmlreader.prg

Saludos
by horacio
Mon May 11, 2015 3:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXMLDocument()/TXMLIterator()
Replies: 3
Views: 1011

TXMLDocument()/TXMLIterator()

I have a XML with this structure: The TXML classes dont have a sample with multiple nodes with the same name with Iterators in each. <Tributacoes> -> Multiple <Segmento> Each <Segmento> have Multiple nodes, each with Multiple tags. How I can read this file to an array? Sample: a...
by sambomb
Mon May 11, 2015 12:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TXMLDocument()/TXMLIterator()
Replies: 3
Views: 1011
Next

Return to advanced search