I don't know if this is intentional, but when I use ComposeXML with the #PB_XML_NoDeclaration flag I get two empty lines (the first line would usually contain the declaration):
Code: Select all
#XML = ~"<?xml version=\"1.0\" encoding=\"utf-8\"?><Nothing><StillNothing></StillNothing></Nothing>"
ParseXML(0,#XML)
FormatXML(0,#PB_XML_ReFormat|#PB_XML_CutNewline)
Debug ComposeXML(0,#PB_XML_NoDeclaration)