Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

editing an attribute of an XML file

Status
Not open for further replies.

dandan86

Programmer
Jul 22, 2006
14
IL
hey guys,
so, here is the issue: I got this XML with a very long attribute in it (the attribute is more than a few lines long, it represents a part of an html document using escape tags) - now, I need to edit specific parts of that attribute - my problem is: say i have the attribute node - how can i change/erase specific parts of the attributes, like, how can tell the parser to go "until you reach some certain word".
to illustrate: say it's something like that:
<element att="&lg;b&gd;some text bla bla&lg;/b&gt;"
that's how the attribute looks like, it basically represents:
<b>some text bla bla</b>
so, how can i reach, say, the start of the sentence ("some text bla bla") and change it to another sentence

thanks in advance

 
Hey,
I am just using editplus - i am rather a beginner.
I can download other tools if that's the way to do it.

thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top