Subject: [xsl] XHTML Link stripping From: "Peter Hollas" <peterhollas@xxxxxxxxx> Date: Wed, 29 Nov 2006 12:36:18 +0000 |
Please could someone provide an example stylesheet of how to strip <a> link tags out of a source XHTML document whilst retaining the remaining node text from within the body. Preferably the output should have normalised whitespace and a space seperating each extracted piece of text. eg.
<html> <head> <title>Not wanted</title> </head> <body> <a>Not wanted</a> <div class="1">This text is wanted <a href="#">Not wanted</a> and so is this</div> <p>Wanted</p> </body> </html>
I'm sure that the solution is incredibly simple, but after days of trying I keep hitting a brick wall.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
SV: [xsl] Find node-set from string, Per Osnes | Thread | Re: [xsl] XHTML Link stripping, Emmanouil Batsis |
[xsl] Find node-set from string, Per Osnes | Date | Re: [xsl] Find node-set from string, Florent Georges |
Month |