Page 1 of 1

invalid xml caracter

Posted: Fri Jan 30, 2004 2:57 pm
by ol4pr0
Me seems to have troubles with displaying the date that comes from the database into a xml file..
besides the date the whole document is well formatted.

error
A name contained an invalid character. Error processing resource 'resulta.xml'. Line 3, Position 7

<dato="January 30 2004">
------^
xml

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<Caudat_xml>
	<dato="January 30 2004">
	</dato>
ect....

</Caudat_xml>
[/quote]

Posted: Sat Jan 31, 2004 10:01 am
by twigletmac

Code: Select all

<dato="January 30 2004">
   </dato>
You've got an attribute but no containing element, it seems very strange, I would have expected to see:

Code: Select all

<dato value="January 30 2004" />
or

Code: Select all

<dato>January 30 2004</dato>
Mac

Posted: Mon Feb 02, 2004 10:42 am
by ol4pr0
hehe how very dumb of me.