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

RE: An all-in-one XML data set (usually a separate fil

Subject: RE: An all-in-one XML data set (usually a separate file) that contains a built-in stylesheet (not as a separate file)
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 24 Feb 2006 00:16:49 -0000
xml data sets
XSLT as a language supports the idea of keeping a stylesheet embedded within
the source document that it transforms, and I occasionally use such embedded
stylesheets with Saxon. But I don't know which if any browsers support them.

The other way around ought to be trivial, you just put the "source document"
in a global variable. Ought to be, but isn't because of the silly inability
in XSLT 1.0 to convert RTFs to node-sets.

Michael Kay
http://www.saxonica.com/


> -----Original Message-----
> From: Graves, Jim (CONTR) [mailto:jim.graves@xxxxxxx] 
> Sent: 23 February 2006 22:32
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  An all-in-one XML data set (usually a separate 
> file) that contains a built-in stylesheet (not as a separate file)
> 
> All,
> 
> 
> Working scenario/problem: someone can see the file in the browser (IE)
> and simply click on it, then it runs the XSLT on the XML contained in
> the file (containing both XSLT and XML) and the result is displayed in
> the browser.
> 
> That is, how can one have an 'all-in-one' XML data set (usually a
> separate file) that contains a built-in stylesheet (not as a separate
> file)?
> 
> 
> Or is it the other way 'round? An XSLT file that contains the 
> XML input
> data?
> 
> 
> Thanks in advance for your help.

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.