See comments in line.
-----Original Message-----
From: David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk>
[mailto:owner-xsl-list-digest(_at_)lists(_dot_)mulberrytech(_dot_)com]
Sent: 24 September 2002 17:28
To: xsl-list-digest(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Entities within my stylesheet.
----------------------------------------------------------------------------
----
YA> ERROR: The element 'xsl:stylesheet' is used but not declared in the
YA> DTD/Schema.
DC> You are using a validating parser so it expects to see a full dtd
DC> defining every element and attribute in your stylesheet.
I was a bit puzzled by this problem because it looked to me as if, as you
say, you needed to validate the whole document but all the places where
I saw this use of entities... were assuming that you could do it without
including a DTD document or defining every element and I just couldn't...
So thank you for putting some light on this issue. Now I'll be able
to sleep at night. I won't be able to use it though but at least I know why.
;-)
DC> Having said that you don't really need to declare these entities in teh
DC> stylesheet you can just use ñ or type teh n-tilde character
DC> directly, either of which isn't really any harder than typing ñ
DC> and avoids the need for the doctype declaration.
I know I don't need to, in fact I've been avoiding them for a few months
because I've never managed to make them work. ;-)
It's just that the "code" looks much more readable IMHO if you
have something like € &cr; or ñ than having lots of different
&#xxx; numbers.
Thank you for the explanation.
I was really starting to think my computer hates me. :-)
Regards,
Yago
_____________________________________________________________________
This e-mail has been scanned for viruses by the WorldCom Internet Managed
Scanning Service - powered by MessageLabs. For further information visit
http://www.worldcom.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list