Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

replace work-around for Xpath 1.0

1,022 views
Skip to first unread message

Barnum

unread,
Sep 14, 2009, 5:39:24 AM9/14/09
to
Hi,

still struggling with XPath 1.0, now it's the replace function (only
in 2.0) I need.
Is there a work-around for that in 1.0?

Thanks!

Martin Honnen

unread,
Sep 14, 2009, 6:54:29 AM9/14/09
to
Barnum wrote:

Not in XPath 1.0. In XSLT 1.0 you can write a recursive, named template
that implements the string replacement:
http://www.dpawson.co.uk/xsl/sect2/replace.html#d9701e43


--

Martin Honnen --- MVP XML
http://msmvps.com/blogs/martin_honnen/

Barnum

unread,
Sep 14, 2009, 7:22:43 AM9/14/09
to

Works fine, thanks!

0 new messages