xsl-list
[Top] [All Lists]

RE: An all-in-one XML data set (usually a separate file) that contains a built-in stylesheet (not as a separate file)

2006-02-23 17:16:49
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(_dot_)graves(_at_)ngc(_dot_)com] 
Sent: 23 February 2006 22:32
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] 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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--