View Single Post
  #3 (permalink)  
Old March 17th, 2010, 04:25 AM
samjudson's Avatar
samjudson samjudson is offline
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Actually, it might be complaining about the output XML I suppose.

Are you creating a document root element, or simply outputting a load of XML elements? I can't see a root element being output here.

<root>
<AA>1</AA>
<AB>2</AB>
</root>

The above is a valid XML document.

<AA>1</AA>
<AB>2</AB>

The above isn't a valid XML document (although it is a valid XML fragment, and some XSLT processors will allow that to be output).
__________________
/- Sam Judson : Wrox Technical Editor -/

Think before you post: What have you tried?