xsl-list
[Top] [All Lists]

[xsl] Display text and all the following nodes except <anchor> and <pb>

2008-09-18 01:58:23
Can anyone help me to get the desire output!!! I want all the text/following element except <pb> and <anchor> within <h1>

INPUT
<head>O<sCap>FFICERS</sCap> of <person>the</person> R<sCap>EGIMENT</sCap> of
I<sCap>NFANTRY</sCap><anchor id="J">anchor</anchor><pb n="2"/>2</pb>
</head>
<anchor id="c">anchor1</anchor>

OUTPUT
<h1>O<span class="sCap">FFICERS</span> of <span class="personn">the</span> R<span class="sCap">EGIMENT</span> of I<span class="sCap">NFANTRY</span></h1>
<a name="c"/>anchor1</a>


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--