[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Including CSS File References in HTML Output, Ignoring E

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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.