RE: An all-in-one XML data set (usually a separate fil
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.
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