vfp6 crear xml
Publicado por Danny (4 intervenciones) el 13/01/2012 19:03:53
Hola
Me podrian ayudar con esto
- <seller>
- <IDE type="FACT">
<GAB>0000103766</GAB>
</IDE>
</seller>
esto es lo que estoy trabtando de hacer
- <seller>
<IDE type="FACT">0000103766</IDE>
</seller>
Podrian ayudar esto es lo que estoy usando.
nseller = oroot.appendChild( cfdxml.createNode("ELEMENT","seller",""))
IDE = oroot.appendChild( cfdxml.createNode("ELEMENT","IDE",""))
IDE.setAttribute("type","FACT")
IDE.appendChild(cfdxml.createElement("GAB"))
IDE.lastChild.text = "0000103766"
nseller.appendchild(IDE)
Saludos,
Me podrian ayudar con esto
- <seller>
- <IDE type="FACT">
<GAB>0000103766</GAB>
</IDE>
</seller>
esto es lo que estoy trabtando de hacer
- <seller>
<IDE type="FACT">0000103766</IDE>
</seller>
Podrian ayudar esto es lo que estoy usando.
nseller = oroot.appendChild( cfdxml.createNode("ELEMENT","seller",""))
IDE = oroot.appendChild( cfdxml.createNode("ELEMENT","IDE",""))
IDE.setAttribute("type","FACT")
IDE.appendChild(cfdxml.createElement("GAB"))
IDE.lastChild.text = "0000103766"
nseller.appendchild(IDE)
Saludos,
Valora esta pregunta


0