Hi
creating a XLM with XLMBuilder I have the first row as
how to add a second row like this ?
To write the XML i'm using:
Thanks
creating a XLM with XLMBuilder I have the first row as
B4X:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
how to add a second row like this ?
B4X:
<?xml-stylesheet type='text/xsl' href='FMystylesheet.xsl'?>
To write the XML i'm using:
B4X:
Dim props As Map
props.Initialize
props.Put("{http://xml.apache.org/xslt}indent-amount", "4")
props.Put("indent", "yes")
Log(x.asString2(props))
Dim sax As String
Dim Prog As Int
Prog = CursorFBill.GetInt("Doc_Number")
sax = "BR101_" & NumberFormat2(Prog,5,0,0,False) & ".xml"
File.WriteString(File.DirApp, sax, x.asString2(props))
If File.Exists(File.DirApp,sax ) Then Log("exists")
Thanks