[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: Gregory Propf <gpropf@xxxxxxxxxx>
Date: Fri, 25 Apr 2003 21:12:59 -0400
xinclude 2003
Elliotte Rusty Harold wrote:
At 6:48 PM -0400 4/25/03, Gregory Propf wrote:

The funny thing is that if you use an external entity defined in a DTD xalan WILL do the include. It seems this would tend to be at the same level in the "stack" too. Unless a DTD is regarged as being part of XSLT. It was my understanding that DTD is an older system of XML schema specification. But I may be wrong. I am very new to the XML universe.


No, it's not really in the same layer of the stack. By my version of the XML stack <http://www.cafeconleche.org/books/effectivexml/chapters/15.html> Entities are resolved in the conversion from the syntax layer to the structure layer, whereas XInclude resolution and XSLT processing would take place on top of the structure layer, and may take place in either order as the local process dictates. That is, an XSLT stylesheet can be applied before or after XIncludes are resolved or both.

Ok, I looked at your link. 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. I'm just thinking of it like a mathematical process. If y = sin(x) and someone tells me that x = 2a + b then it seems that you better redefine y as y = sin (2a + b).


--
"Firing people can give you a pretty good buzz, but it's a poor, poor substitute for killing. I realize that now" - Dale Gribble



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.