PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → XML command for webdev
XML command for webdev
Iniciado por guest, 06,feb. 2015 13:59 - 2 respuestas
Publicado el 06,febrero 2015 - 13:59
according to the screen shot, what XML command to issue to add the value so that it appears in the same order:-

strOrderNumber
class=xl24
width=64
strCustomerID
class=xl24
width=64


Regards,

Peter Zhou
Publicado el 06,febrero 2015 - 14:01
sorry...the screen shot
Publicado el 06,febrero 2015 - 17:58
I have used the following code but the "class" & "width" attributes are appearing before the "strOrderNumber"

XMLParent(sMyXMLDoc)
XMLAddChild(sMyXMLDoc, "tr", "",True)

XMLAddChild(sMyXMLDoc, "td", "strOrderNumber")
XMLAddAttribute(sMyXMLDoc, "class", "xl24")
XMLAddAttribute(sMyXMLDoc, "width", "64")


XMLAddChild(sMyXMLDoc, "td", "strCustomerID")

XMLAddChild(sMyXMLDoc, "td", "dtmOrderDate")