adriantreanor
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by adriantreanor
-
-
The XML file still wont open in FF.Im sorry the code I was going to display: <?xml version="1.0" encoding="utf-8"?><!DOCTYPE note [ <!ELEMENT note (to,from,heading,body)> <!ELEMENT to (#PCDATA)> <!ELEMENT from (#PCDATA)> <!ELEMENT heading (#PCDATA)> <!ELEMENT body (#PCDATA)>]><note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note> Error message:XML Parsing Error: XML or text declaration not at start of entityLocation: file:///C:/xml/TMP34fh9bl3c4.xmlLine Number 1, Column 9:<body ><?xml version="1.0" encoding="utf-8"?>--------^
-
Sorry I deleted the body tag but I still get an error. XML Parsing Error: not well-formedLocation: file:///C:/xml/TMP2fkdibl2fw.xmlLine Number 7, Column 30: <!ELEMENT body (#PCDATA)]>-----------------------------^
-
Im just learning XML. I typed the following into a xml file but when I go to test it in FF it gives me the followong error although there are no errors in the xml code. Can anyone help?. The XML file still wont open in FF.Im sorry the code I was going to display: <?xml version="1.0" encoding="utf-8"?><!DOCTYPE note [<!ELEMENT note (to,from,heading,body)><!ELEMENT to (#PCDATA)><!ELEMENT from (#PCDATA)><!ELEMENT heading (#PCDATA)><!ELEMENT body (#PCDATA)>]><note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note> Error message:XML Parsing Error: XML or text declaration not at start of entityLocation: file:///C:/xml/TMP34fh9bl3c4.xmlLine Number 1, Column 9:<body ><?xml version="1.0" encoding="utf-8"?>--------^ Im sorry but there is no body tag even if the error message says there is. <?xml version="1.0" encoding="utf-8"?><!DOCTYPE note [ <!ELEMENT note (to,from,heading,body)> <!ELEMENT to (#PCDATA)> <!ELEMENT from (#PCDATA)> <!ELEMENT heading (#PCDATA)> <!ELEMENT body (#PCDATA)> ]><note><to>Tove</to><from>Jani</from><heading>Reminder</heading><body>Don't forget me this weekend!</body></note>
- 1
XML FF
in XML
Posted · Edited by adriantreanor
Im sorry but there is no body tag even if the error message says there is. < ?xml version="1.0" encoding="utf-8"?>< !DOCTYPE note [<!ELEMENT note (to,from,heading,body)><!ELEMENT to (#PCDATA)><!ELEMENT from (#PCDATA)><!ELEMENT heading (#PCDATA)><!ELEMENT body (#PCDATA)>]>< note>< to>Tove</to>< from>Jani</from>< heading>Reminder</heading>< body>Don't forget me this weekend!</body>< /note> XML Parsing Error: XML or text declaration not at start of entityLocation: file:///C:/xml/TMP4yhnhbl5pq.xmlLine Number 1, Column 9:<body ><?xml version="1.0" encoding="utf-8"?>--------^Can you help?.