This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Including CSS File References in HTML Output, Ignoring Entities, Extracting Data from DBHTML Calls....
- To: xsl-list at mulberrytech dot com
- Subject: Re: Including CSS File References in HTML Output, Ignoring Entities, Extracting Data from DBHTML Calls....
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 30 Mar 2000 14:09:59 GMT
- References: <7D70697C0E38D111B4FF080036B39A0301A1AA35@ntdevexc.ansys.com>
- Reply-To: xsl-list at mulberrytech dot com
> why does the XT processor care about
> resolving those entities?
It doesn't. It doesn't see them.
he entities have already been expanded by the xml parser (probably xp in
this case) before the XSL process starts.
The whole point about entities is that they do not affect the document
they are just author shorthands.
a document can have
<foo>xxx</foo>
or it can have
<!ENTITY x "<foo>xxx</foo>">
..
&x;
and an XML application must treat these the same and in particular
both must trigger a templat <xsl:template match="foo"/>
If you want some markup in the document to survive past the XMl parser
and be meaningful to the application you can _not_ use entities, use
elements or processing instructions.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list