Re: [xsl] XUpdate

Subject: Re: [xsl] XUpdate
From: Mike Brown <mike@xxxxxxxx>
Date: Wed, 16 Apr 2003 02:01:32 -0600 (MDT)
> Anyway I noticed that the 4Suite implementation is in python which is 
> cool but not so good for me since so far I'm doing everything in XSLT 
> ... is there an Xupdate implementation in XSLT?

What we did in 4Suite, aside from the python API and the 4xupdate command-line
utility, was make an XSLT extension element that takes an XUpdate doc given in
its content and applies it to the file that was supplied for the source tree.
Unfortunately for you, it is only usable when the stylesheet and source doc
are in, and the transformation is being invoked by, 4Suite's resource
repository (a document store with various interfaces). It won't work on
arbitrary docs coming in from ordinary files or streams.

However, it wouldn't be too much trouble to write an extension element that
can be used more generally. Post to the 4suite list [1] about it, if you're
interested in this. Of course this might lock you into using our XSLT
processor, which may not yet be stable or fast enough for your needs. Many
people use it without complaint, though. It *might* be possible to use
4Suite's Ft.Xml.XUpdate module from within Jython, if you want to try writing
the extension element for a Java based processor. I don't know if anyone has
ever attempted this.

As for a pure XSLT + EXSLT implementation, I don't know of any, but that would
be an interesting project.



  Mike J. Brown   |
  Denver, CO, USA |

 XSL-List info and archive:

Current Thread