This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Does a transform understand base \ extension types?
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Does a transform understand base \ extension types?
- From: Jeni Tennison <mail at jenitennison dot com>
- Date: Fri, 30 Mar 2001 13:41:49 +0100
- Organization: Jeni Tennison Consulting Ltd
- References: <002701c0b905$9a501b10$0100007f@PCUKMKA>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Mike Kay wrote:
> XSLT 1.0 does not make any use of information from a DTD or Schema.
Mike and David are always picking holes in my sweeping statements, so
it's time I got one of them back...
A stylesheet may make use of information from a DTD in that:
(a) if an attribute is declared in a DTD with a default value and
that attribute is missing in the source XML then the source node
tree that the XSLT processor processes will contain the
attribute with the default value (technically, this is specified
in the XPath Recommendation)
(b) if attributes are declared in a DTD as an ID attribute then the
XSLT stylesheet may use the id() function to get at the element
with a particular ID (technically, this is specified in the
XPath Recommendation)
(c) if an unparsed entity is declared in a DTD then the XSLT
stylesheet may use the unparsed-entity-uri() function to get the
URI of the entity (this *is* specified in the XSLT
Recommendation)
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list