RE: [xsl] getting XSL to ignore a line

Subject: RE: [xsl] getting XSL to ignore a line
From: "Hewko, Doug" <Doug.Hewko@xxxxxxxxxxxxxxx>
Date: Fri, 20 Jul 2001 11:41:54 -0400
Wow, something I may actually know. :)

I took a look at that URL and got the following error:
Cannot have a DTD declaration outside of a DTD. Line 1, Position 11 

<!ELEMENT moreovernews (article*)>


Change the first line to:
<!ELEMENT moreovernews (article)+>


The plus sign would indicate at least one instance of, which is what you
would want instead of the "article" being optional. Why bother having a DTD
if there can be no XML document??
-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: July 20, 2001 11:18 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] getting XSL to ignore a line



<!DOCTYPE moreovernews SYSTEM
"http://p.moreover.com/xml_dtds/moreovernews.dtd";>

well that says that a DTD is to be found at that address, if a DTD is
not there, remove the whole statement.

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread