This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Entities within my stylesheet.
- From: Yago Alvarado <Yago dot Alvarado at uk dot cpm-int dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 25 Sep 2002 14:15:08 +0100
- Subject: Re: [xsl] Entities within my stylesheet.
- Reply-to: xsl-list at lists dot mulberrytech dot com
See comments in line.
-----Original Message-----
From: David Carlisle <davidc@nag.co.uk>
[mailto:owner-xsl-list-digest@lists.mulberrytech.com]
Sent: 24 September 2002 17:28
To: xsl-list-digest@lists.mulberrytech.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.
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