Re: [xml] Replacing parts of xml with xsl

On Fri, Jul 16, 2004 at 08:17:51AM -0400, Daniel Veillard wrote:
On Fri, Jul 16, 2004 at 12:06:16PM +0100, Colin Gillespie wrote:
I hopefully have a simple problem.

  Hopefully you have checked the existing examples.

I want to use a xsl style sheet to change a part of the xml that is
specified with an xpath expression.

  XSLT is not defined to work on a subtree.

        well ok.  but how about if you just grab the subtree, set it as the root
element in a new document, and then xslt that?  Then take the result and
toss is back into the original document.  voila!  xslt on a subtree!


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]