Subject: [xsl] Matching certain elements following an element From: Matthew Fonda <mfonda@xxxxxxxxxx> Date: Fri, 04 Nov 2005 12:24:14 -0800 |
I need to pass the template a parameter, I will call this $section, and then I need the stylesheet to return whatever is in that section. So for example, if $section = 'foo', it would match the h2/a/text() = foo, and return everything up to the next h2/a. So it would return: <p>......</p> <p>......</p> <p>......</p> <img>....</img> <p>......</p>
Or if $section = 'baz', I need to get: <foo>....</foo> <a>......</a> <p>......</p> <p>......</p> <baz/>
Thanks, -- Matthew
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Rename element, Shailesh Shinde | Thread | Re: [xsl] Matching certain elements, Wendell Piez |
[xsl] Recursive substitution, Agnisys | Date | RE: [xsl] Re: Re: Change of Attribu, Wendell Piez |
Month |