Subject: Re: [xsl] Isolate spezial text term with pattern From: "Tammo Wenterodt" <Tammo.Wenterodt@xxxxxx> Date: Mon, 25 Jul 2005 15:14:10 +0200 |
sed -e "s|</comment>|</pb>|g" document.xml > temp.xml sed -e "s|PB|</comment><pb>|g" temp.xml > document.new.xml
<document> <report> <comment>Hallo commentar. </comment><pb>123</pb> </report> <report> <comment>Hallo commentar. </comment><pb>456</pb> </report> </document>
Regards, Tammo Wenterodt
<document> <report> <comment>Hallo commentar. PB123</comment> </report> <report> <comment>Hallo commentar. PB456</comment> </report> ...... </document>
What i now what to do is the following: I will islote the terms "PB123" and "PB456" and so on in the hole document. Therefore i need a spezial pattern i think. The pattern is always the same: "PB" and then 3 or 4 numbers. I will write this terms in an extra column in a HTML table.
How i get the text from <comment>...</comment> is clear for me. Thats no problem.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Isolate spezial text term wit, KrustyDerClown | Thread | Re: [xsl] Isolate spezial text term, KrustyDerClown |
RE: [xsl] Keys working on nodeset?, Andrew Welch | Date | [xsl] Can't save a node tree in a v, John Robb |
Month |