[Xmltask-users] Does the replace task have access to the current node information?
Brought to you by:
bagnew
From: Scott S. <ssy...@gm...> - 2005-03-18 00:13:00
|
does the replace task have access to the current node information? <replace path="parent/child[@attrB]" withText="current()/@attrA . current()/@attrB" /> i am trying to do the below transform, and remembered that i had used xmltask, a couple of years ago, with good success. if i use XSLT, it *seems* like i have to reconstruct everything, making the changes as i go. the schema is more complicated than the below example. INPUT: <parent> <child attrA="a" attrB="b" /> <child attrA="a1" attrB="b2" /> </parent> OUTPUT: <parent> <child attrA="a" attrB="a.b" /> <child attrA="a1" attrB="a1.b2" /> </parent> i am glad this list started. thanks, scott |