JIH2000
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by JIH2000
-
-
I just tried a1 as you suggested, but that didn't work... I also tried to use IE to view the XML but it gives me the same error, even when i change the line and the DTD to:<!DOCTYPE Protocols [ <!ELEMENT Protocols (Protocol)> <!ELEMENT Protocol (Title, Category, Keywords, Uses, Description, Requirements, Method)> <!ATTLIST Protocol number ID #REQUIRED> <!ELEMENT Title (#PCDATA)> <!ELEMENT Category (#PCDATA)> <!ELEMENT Keywords (#PCDATA)> <!ELEMENT Uses (#PCDATA)> <!ELEMENT Description (#PCDATA)> <!ELEMENT Requirements (#PCDATA)> <!ELEMENT Method (#PCDATA)>]><Protocols> <Protocol number="1"> <Title> </Title> <Category> </Category> <Keywords> </Keywords> <Uses> </Uses> <Description> </Description> <Requirements> </Requirements> <Method> </Method> </Protocol number ="1"></Protocols>A name contained an invalid character. Error processing resource 'file:///D:/Jim/Documents/IT/Protocols.xml'. Line 24, Pos...</Protocol number ="1">------------^Can anyone help? Please...Try: <Protocol ID="a1">Not sure whether you can start id's with numbers. -
Hi,I'd appreciate a fresh pair of eyes on this short peice of code, i'm using an editor which says there's something wrong with: <Protocol ID="1"> Saying: A name was started with an invalid character...Any ideas??Thanks in advance. <!DOCTYPE Protocols [ <!ELEMENT Protocols (Protocol)> <!ELEMENT Protocol (Title, Category, Keywords, Uses, Description, Requirements, Method)> <!ATTLIST Protocol ID ID #REQUIRED> <!ELEMENT Title (#PCDATA)> <!ELEMENT Category (#PCDATA)> <!ELEMENT Keywords (#PCDATA)> <!ELEMENT Uses (#PCDATA)> <!ELEMENT Description (#PCDATA)> <!ELEMENT Requirements (#PCDATA)> <!ELEMENT Method (#PCDATA)>]><Protocols> <Protocol ID="1"> <Title> </Title> <Category> </Category> <Keywords> </Keywords> <Uses> </Uses> <Description> </Description> <Requirements> </Requirements> <Method> </Method> </Protocol ID="1"></Protocols>
DTD / Content help
in XML
Posted
XML file