Xalan XSLT Processor - Redirect feature - Multiple destination documents

0 views
Skip to first unread message

Damien Cuvillier

unread,
May 11, 2007, 9:25:48 AM5/11/07
to codesqua...@googlegroups.com
One more tip today about XSLT & Xalan ! :-)

The W3C Recommandation about XSLT define a node which is called : <xsl:document>
It allows to obtain multiple documents from only one document.
It appeared on 2.0 version.

Unfortunately, we have not found any free implementation of the recommandation.

However, Xalan Processor gives a different way to do the same thing.
Even if it does not fit to the specification, it works well. That why I decided to use it despite of the non standard way.

After adding the new following namespace in XSLT Stylesheet header :
xmlns:redirect=" http://xml.apache.org/xalan/redirect "
extension-element-prefixes="redirect"

Use this syntax to redirect a part of data in a different document.
<redirect:write select="filename">
<!-- Add Here data you want to put in the doc -->
</redirect>

CodeSquale 0.3 is in the starting block.
Be ready.

We are working hard to give a interesting software.
Please give us your feedbacks.


Regards

Damien Cuvillier
    Ingénieur étude et architecture
    Ajilon
    Tél : 06.73.35.21.66
    Email : damien.c...@ajilon.fr

Please consider your environmental responsibility before printing this e-mail.
Reply all
Reply to author
Forward
0 new messages