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

Re: stylesheet expansion

Subject: Re: stylesheet expansion
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Dec 2007 06:22:24 +0000
Re:  stylesheet expansion
>>>>> "Abel" == Abel Braaksma <abel.online@xxxxxxxxx> writes:

    Abel> <xsl:import
    Abel> href="http://otherhost-to-same-location/multiple-stylesheets-in-one.xslt#include-me"
    Abel> />

    Abel> but I don't know (not tested), if the #-syntax is supported
    Abel> this way (I remember a few W3C notes on the subject, but I
    Abel> can't recall whether it is legal and whether only the node
    Abel> with "include-me" will get selected).

Whether fragment identifiers are supported is implementation dependent.
As too, which media types are supported.

For the really pedantic, note that there isn't strictly any
circumstances under which any appropriate media-type/fragment
identifier combination would be legitimate, due to RFC 3023 not having
been updated.

In practice, one uses the XPointer framework, and ignores the
conformance nicety (Gestalt actually has options to override this
behaviour, so as to override the objection of even the most
died-in-the-wool pedant (such as the author), but no-one would use it
in practice).

So, in practice, you could get away with using this approach (by
aliasing two different URIs to refer to the same resource, thus
defeating the processor check), but it sounds highly cumbersome to me.

Compiled transformations sounds like a better solution.
-- 
Colin Adams
Preston Lancashire

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.