> From: jeff.day@xxxxxx [mailto:jeff.day@xxxxxx]
> Sent: 23 July 2003 16:30
> Subject: Change text on given node at runtime
> I would like to be able, at runtime, to parse an XML file and change
>
> <A>Original text</A>
>
> to
>
> <A>Some new text</A>
>
>
> On the next occasion I might want to do this...
>
> <F>Old text</F>
>
> change to
>
> <F>New text</F>
>
> So at runtime I need to pass in two parameters that specify
> the required
> node and the new text for it.
>
as with many things xslt, jeni's done it !
http://www.jenitennison.com/xslt/utilities/markup.html
should be able to hack this up to do your bidding.
cheers, jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|