This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: getting XSL to ignore a line


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@nag.co.uk]
Sent: July 20, 2001 11:18 AM
To: xsl-list@lists.mulberrytech.com
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]