Link to home
Start Free TrialLog in
Avatar of levisl
levisl

asked on

XSLT multiple outputs using XSLT 1.0

Hello all,
I'm looking for a solution to pretty much the exact problem as described in XSLT Multiple Outputs question, but I'm restricted to xslt 1.0, preferably with no extensions.  My understanding is that result-document is a 2.0 addition.  Does anyone know of a solution that does not use any 2.0 features.

Thanks much.
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

THere are some extension functions that do the same, at least I know that saxon 6 allows this.
If you really don't want extension functions, all you are left with is running different stylesheets, or the same stylesheet with parameters until you have all the output documents.
So you will have to organise this outside your stylesheet.

Maybe there is an extension function for your processor... which one are you using?
Avatar of levisl
levisl

ASKER

Thanks for the quick reply, Gertone.  We're using xalan 2.7.0, and I just confirmed that it's OK to use xalan extensions.  Do you know if xalan supports this?  If you don't know offhand, don't sweat it; I can certainly check that out.  Short answer is "for 1.0 if supported by extensions can use them, otherwise need to handle with multiple stylesheets or with multiple calls to stylesheet using parameters." Is that pretty much right?
ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of levisl

ASKER

Thanks,  I'll try that approach and post more questions if I have them.