Re: [xsl] Process some elements, but not others...

Subject: Re: [xsl] Process some elements, but not others...
From: S Woodside <sbwoodside@xxxxxxxxx>
Date: Fri, 14 Feb 2003 02:00:27 -0500
I've been thinking recently about using namespaces to solve this, well, my situation is more complex but it seems to be a good tool to use (except it's not working for me right now, but I'm sure that's my fault) e.g.,

    <p>This is <ref xmlns="foobar">the</ref> text node</p>


<xsl:stylesheet  xmlns:xsl="";
  xmlns:foobar="foobar"  version="1.0">
<xsl:template match="foobar:ref">

it's probably overkill for your example but I think it's a more flexible solution in the long run?


On Thursday, February 13, 2003, at 09:57 PM, Ted Stresen-Reuter wrote:


I have an xml document whose elements contain html as in the following example:

    <p>This is <ref>the</ref> text node</p>

What I'd like to be able to do is transform just the ref element and copy all the others.

Any suggestions? The last time I asked a question here everyone was _very_ helpful and I'm very appreciative so thanks!

Ted Stresen-Reuter



XSL-List info and archive:

Current Thread