[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Including/Importing a stylesheet that is embedded
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|