How To Replace Something with New Contents in Page

Posted by Agung Pambudi in ,
I added a new 'trans' transformation element , it will replace something with new contents in page.

the 'trans' element has Regex script to transform original html :

replace <P>&nbsp;</P><hr>
<P>c/o E\. Höpli und S\. Oehler</P>

Afterwards, "c/o E. Höpli und S. Oehler" is replaced by empty string, the order of paragraph will keep normal ones ,

and the 'Project' element has new XPath where extending <P> until reach <hr>, therefore, multiple paragraphs can be captured.


No comments:

Post a Comment