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-27 03:31:10
W3C has specified how to do this
(http://www.w3.org/TR/xslt#section-Embedding-Stylesheets) however I
have read that many browsers are not (yet?) supporting this
functionality. Through some related research I was doing yesterday I
found a posting, and subsequently bookmarked it, that gives an
alternative where by you embed your data in the stylesheet. 

http://www.biglist.com/lists/xsl-list/archives/200205/msg00146.html

It's not much but I hope it helps.

Disclaimer: I have not tried this.

--- "Graves, Jim (CONTR)" <jim(_dot_)graves(_at_)ngc(_dot_)com> wrote:

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>
--~--




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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>
--~--