I'm making an XML document and a corresponding DTD.
Most of it is fine but I am having a problem with some URLs/URIs
I have defined a 'webPage' element as plain text:
<!ELEMENT webPage (#PCDATA)>
I expect there is a better way of properly specifiying a URL but it isn't massively important for this- plain text will suffice.
In my XML documnet I can specify conventional URLs fine e.g:
http://www.theonering.net/movie/char/legolas.html
but a lot of my URLs are of the form:
http://www.allmovie.com/cg/avg.dll?p=avg&sql=B77309
this doesn't seem to wor but the error message is a bit useless. What does one do to make this kind of URL work. As I said having it as plain text is acceptable but for some reason it can't read that as plain text.
XML/HTML Noob here!
Most of it is fine but I am having a problem with some URLs/URIs
I have defined a 'webPage' element as plain text:
<!ELEMENT webPage (#PCDATA)>
I expect there is a better way of properly specifiying a URL but it isn't massively important for this- plain text will suffice.
In my XML documnet I can specify conventional URLs fine e.g:
http://www.theonering.net/movie/char/legolas.html
but a lot of my URLs are of the form:
http://www.allmovie.com/cg/avg.dll?p=avg&sql=B77309
this doesn't seem to wor but the error message is a bit useless. What does one do to make this kind of URL work. As I said having it as plain text is acceptable but for some reason it can't read that as plain text.
XML/HTML Noob here!