Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - XSL-T inside XML file? [Thread Next] Re: XSL-T inside XML file?To: NULL Date: 6/1/2005 2:11:00 PM Petar Popara wrote: > I know it is possible to set stylesheet by putting: > > <?xml-stylesheet type="text/xsl" href="http://someurl/somefile.xslt"?> > > but, is it possible to have XML and stylesheet in the same file? To have > stylesheet as XML document element? Example: > > <XML> > <Data>some data here...</Data> > <Presentation>some xsl-t here</Presentation> > </XML> In theory that is possible, see <http://www.w3.org/TR/xslt#section-Embedding-Stylesheets> but not all XSLT processors support that, MSXML for instance does not. -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
