Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - XML and keeping things seperated? [Thread Next] Re: XML and keeping things seperated?To: NULL Date: 6/1/2006 10:29:00 AM Stan R. wrote: > My question is, is it possible to have the main xml doc in one file > (say, main.xml), but have a seperate xml file for the transformations > (include both a XSLT and the main.xml document.) The example you've shown does exactly that -- the XSLT stylesheet is in a separate file called test.xsl. (Most likely in the same directory on the server, since this is a relative URI reference.) If you want to _specify_ these independently, rather than having the XML hint which XSLT to use, that can be done too... if your tools support it. Certainly an explicitly invoked XSLT system can run any stylesheet against any document. Theoretically, a browser could offer you that same option of overriding the hint, or could allow a document to specify several such hints and provide a mechinism allowing the user to pick among them... but that's a matter of browser features and isn't well standardized yet. Welcome to the leading edge. <sigh/> | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
