xsl-list
[Top] [All Lists]

Re: Conditional processing of nodes

2004-02-05 13:32:16
Hello Charles, hi Andreas, hello  list,

thanks a lot for your hints. My solution looks a bit different, but is based on your input. I use a XPath expression similar to your' as a parameter for the XPathDirectoryGenerator (<http://cocoon.apache.org/2.1/userdocs/generators/xpathdirectory- generator.html>) in cocoon. As a result I get a file consisting of the contents of all those little files meeting the condition audience = internal.

--mv


Am 02.02.2004 um 22:49 schrieb cknell(_at_)onebox(_dot_)com:

<xsl:template match="contents[preceding-sibling::audience[internal]]">
 <!-- Your code here -->
</xsl:template
--
Charles Knell
cknell(_at_)onebox(_dot_)com - email



-----Original Message-----
From:     Markus Vaterlaus <mvaterlaus(_at_)mus(_dot_)ch>
Sent:     Mon, 2 Feb 2004 22:09:19 +0100
To:       xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject:  [xsl] Conditional processing of nodes

Hi all,

I'm quite struck with a XSL problem: I have a big file which is generated out of about 300 small files using cocoon's XPathDirectoryGenerator. Each of the small files has the same structure:

<snip/>


XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>