logo       

extension element that creates instructions: msg#00168

text.xml.saxon.help

Subject: extension element that creates instructions

Hello,

I want to write my own Saxon extension that creates XSLT instructions.
The extension should load additional XSLT code from an external systems (e.g. a database); this imported code should be interpreted as well. Is this possible?

While writing, another idea comes to my mind: maybe it is easier to use an import statement in the stylesheet that loads via a special URIResolver a new stylesheet that contains only a named template with the code from the external system. This named template could then be called instead of using an extension.

So far I have only written simple extension, so is the first approach possible at all? Or is the second approach with the import better?

Thanks,
Peter




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise