[jdom-interest] Replace

Ritchie, Rob rdritchi at bechtel.com
Mon Feb 4 12:18:34 PST 2002


Hi,
 
I am wondering has any suggestions as to how I could implement a replace
function. Essentially I would like to parse out tags like <bind
field="x"> and replace it with the value of x as a String
 
<hello>
    <xxx/>
    <bind field="x"/>
    <yyy/>
    more text here
</hello>
 
becomes
 
<hello>
    <xxx/>
    value of x here
    <yyy/>
    more text here
</hello>
 
Any suggestions on the best way to achieve this?
 
Thanks
 
Rob.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20020204/e8b4b936/attachment.htm


More information about the jdom-interest mailing list