[Top] [All Lists]

RE: [xsl] Conditional Include statements

2009-04-02 04:03:17
i can use doc(' ') to get stylesheet itself, then modify it, 
and at last apply modified stylesheet to input document

That doesn't modify the stylesheet you're executing either. It creates a new
stylesheet and then calls it.

The point about "dynamic include" (which a lot of people ask for, without
realising what it would mean) is that it would allow a template rule to
modify itself.

In fact, the OP hasn't come back to us to explain the requirement, but what
people are usually looking for is some kind of dynamic despatch mechanism,
and of course there are existing ways of achieving this in XSLT that work
perfectly well.

Michael Kay

XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>

<Prev in Thread] Current Thread [Next in Thread>