Hi all
I am trying to load XML in unity without a document element (I get it from a web service). The XML has the following form:
<virtualpatientscript>
<act id="Introduction">
<triggermap>
<trigger_map_id>12886</trigger_map_id>
<responses>
<speech>Social_3.hap</speech>
</responses>
<triggers>
</triggers>
<topic>Social</topic>
<sentences>
</virtualpatientscript>
[code]
Unity returns the following error which i think is related to the way the document is constructed. Is there any way to bypass that?
XmlException: Document element did not appear. Line 1, position 1.
Mono.Xml2.XmlTextReader.Read ()