Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XML and keeping things seperated?

From: Joe Kesselman <keshlam-nospam@-------.--->
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/>


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent