This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]