Page 1 of 1

Inaccurate Error Message

Posted: Wed May 13, 2009 2:59 pm
by AND51
Hello!

Code: Select all

CreateXML(0, #PB_Ascii)

html=CreateXMLNode(RootXMLNode(0))
SetXMLNodeName(html, "html")


head=CreateXMLNode(html, 0, #PB_XML_Instruction)
SetXMLNodeName(head, "head")

title=CreateXMLNode(head)
IDE wrote:A commant/CData/DTD node cannot have children.
Instruction-nodes cannot have children obviusly, too.