Re: Including CSS File References in HTML Output, Ignoring Entiti es, Extracting Data from DBHTML Calls....

Subject: Re: Including CSS File References in HTML Output, Ignoring Entiti es, Extracting Data from DBHTML Calls....
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 30 Mar 2000 14:09:59 GMT
> 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


Current Thread