|
Subject: [xsl] Selectively convert subordinate elements to text From: "Darren Wheatley" <darren@xxxxxxxxxxxx> Date: Fri, 25 May 2007 00:44:25 +0100 |
Hi,
I have a fragment something like this:
<widget>This <B>is</B> some <SUP>text</SUP> that I want to convert
<HIDDEN>don't convert this</HIDDEN> to text</widget>
What I want to end up with is this:
This is some text that I want to convert to text
I have tried <xsl:value-of select="."/> but of course that gives me:
This is some text that I want to convert don't convert this to text
Can anyone suggest a way that I can convert the fragment to text while
simultaneously dropping the <HIDDEN> element?
Thanks
D.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] [xml] repeating elements, cknell | Thread | Re: [xsl] Selectively convert subor, Jeff Sese |
| RE: Re: [xsl] XSLT 2.0 multi-level , cknell | Date | Re: [xsl] Selectively convert subor, Jeff Sese |
| Month |