Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Recursive xslt expansion

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 1/4/2007 2:00:00 PM

Hallvard B Furuseth wrote:
> Can I have one XSLT style sheet which expands some brief XML to a longer
> "normalized" form, which one of several other XSLT style sheets expands
> further (or one of several parts of one sheet)?  Finally, I'll render it
> with a CSS style sheet.  Or is there some other way one normally does
> that?

You can chain XSLT transformations as long as the stylesheets transform 
to XML respectively don't depend on stuff like disable-output-escaping. 
The last stylesheet in the chain can then transform to HTML.

Using one stylesheet to do several transformation passes is also 
possible with XSLT 1.0 but only if the XSLT processsor supports an 
extension function like exsl:node-set to transform a result tree 
fragment to a node set so that each pass creates a result tree fragment, 
the extension functions then creates a temporary node set on which the 
next pass works.



-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/


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