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: Tony Kinnis <kinnist@xxxxxxxxx>
Date: Mon, 27 Feb 2006 02:31:10 -0800 (PST)
|
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.graves@xxxxxxx> 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.
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|