RE: [xsl] Including/Importing a stylesheet that is embedded within an XML document?

Subject: RE: [xsl] 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
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