Re: [Hypercontent-users] Strip text from content on render
Brought to you by:
alexvigdor
|
From: Adam C. <ac...@co...> - 2007-09-13 13:52:12
|
Carl,
Something like this should ignore any border attributes.
<xsl:template match="@*">
<!--Copy attribute if it's not border-->
<xsl:if test="name() != 'border'">
<xsl:copy />
</xsl:if>
</xsl:template>
Adam
On 9/13/07 7:25 AM, "Carl P Barrow" <C.P...@hu...> wrote:
> All,
>
> Does anyone know of a good/easy way to strip out certain text from the content
> on render. They want to strip out all instances of border=0 from the content,
> which can't be done in reality but I thought it might be possible in XSL.
>
> Cheers
> Carl
>
> *************************************
>
> Carl Barrow
> Systems Integrator
> e-Services
> The University of Hull
> Cottingham Road
> Hull
> HU6 7RX
> Ext. 6838
>
> *************************************
>
>
>
>
> ******************************************************************************
> ***********
> To view the terms under which this email is distributed, please go to
> http://www.hull.ac.uk/legal/email_disclaimer.html
> ******************************************************************************
> ***********
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
> _______________________________________________
> Hypercontent-users mailing list
> Hyp...@li...
> https://lists.sourceforge.net/lists/listinfo/hypercontent-users
|