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

RE: Including/Importing a stylesheet that is embedded

Subject: RE: Including/Importing a stylesheet that is embedded within an XML document?
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Thu, 31 Jul 2003 10:11:28 -0700
importing a stylesheet
Hi,

Use a jaxp URIResolver to receive the request, do a transformation on the
XML to extract the XSL and return it to the main transformation.

Does that work for you?

-Rob

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-
> list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Roger L. Costello
> Sent: Thursday, July 31, 2003 8:22 AM
> To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx; Costello,Roger L.
> 
> Hi Folks,
> 
> I have two questions:
> 
> 1. Has anyone ever (successfully) included/imported a stylesheet that is
> embedded within an XML document?  If so, which XSLT Processor did you
> use?  What did your xsl:include href look like, i.e., did you use a
> fragment identifier, e.g.,
> 
>    <xsl:include href="XML-file.xml#stylesheet-id"/>
> 
> Here's what Michael Kay's book says about this:
> 
> "The standard doesn't explicitly say whether or not an embedded
> stylesheet can be included or imported into another."
> 
> 2. Has anyone ever (successfully) embedded multiple stylesheets within
> an XML document?
> 
> Thanks!  /Roger
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 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.