Re: [xsl] Select issue with some attr and others not.

Subject: Re: [xsl] Select issue with some attr and others not.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 16 Apr 2004 17:28:42 +0100
> AND I want to pull back this result with xsl (depeding on the
> language.)

You didn't say what that transform was, is it just dropping the spanish?

If so you just need a stylesheet with two templates, one that copies

<xsl:template match="node()">
<xsl:copy-of select="@*/>

and then one to not copy spanish

<xsl:template  match="*[@lang='es-ES']"/>

You probably won't get the output written using CDATA but that's just a
syntactic quirk and doesn't affect the way the files are processed by an
XML application.


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:

Current Thread