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

Re: Xinclude with Xalan 2.4

Subject: Re: Xinclude with Xalan 2.4
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sat, 26 Apr 2003 09:44:40 +0100
xalan xinclude
>  But I see it like this - a stylesheet is 
> applied to an XML document.  If the document declares, in effect "I 
> contain this other document here.xml" then it seems that it would be 
> implied that anyone wishing to apply a stylesheet would, of necessity, 
> have to first parse the xml and do the include of here.xml.  Thus, I 
> would think that XInclude should always precede any application of a 
> stylesheet.

XSLT is an XML application so naturally depends on the results of XML
parsing. So entity expansion happens during teh parse, before XSLT.

Some of the earliest implementations of Xinclude were done _as_ XSLT
stylesheets matching the elements in the xinclude namespace, clearly
this processing happens after (or rather, during) XSLT processing.

Xinclude is another XML application so also depends on the results of
parsing. Especially as Xinclude is a later specification than XSLT
you shouldn't expect an XSLT processor to know anything about this at
all, just as you shouldn't expect an Xinclude processor to know about
XSLT, or Xforms or MathML. You may find some applications
that can parse, do XInclude processing and XSLT transforms, in which
case you have some flexibility in whch order things happen (except
parsing will always come first in a native XML application). 

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.