Subject: Re: [xsl] Re: [xslt transform & grouping] Using the Muenchian Method? From: "Michael PG" <xrow@xxxxxxx> Date: Wed, 06 Oct 2004 07:25:42 +0000 |
<Documents> <Document chapter="1" title="title 1" href="file1.xml" filter=""> <Article title="1.1" info="sub" filter="drink"/> <Article title="1.2" info="main" filter="food"/> </Document> <Document chapter="2" title="title 2" href="file2.xml" filter="drink"> <Article title="2.1" info="sub" filter="drink"/> <Article title="2.2" info="main" filter="food"/> </Document> </Documents>
From: Anton Triest <anton@xxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Re: [xslt transform & grouping] Using the Muenchian Method?
Date: Wed, 06 Oct 2004 00:47:56 +0200
Michael PG wrote:
After adding the suggested line I got an exception lake it last case.
select="Document[@filter='' or @filter=$filter]/Article[count(.|key('by-info',@info)[@filter='' or @filter=$filter][1])=1]">
Hi Michael (I'm jumping in again, was away yesterday)
did you define the key in this template? (that caused the exception last time, didn't it)
if so, maybe you'll better post the complete stylesheet once more... (+ exception details)
Anton
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Re: [xslt transform & gro, Anton Triest | Thread | Re: [xsl] Re: [xslt transform & gro, Werner, Wolfgang |
RE: [xsl] using XML elements as att, Narang, Prateek | Date | Re: [xsl] Re: [xslt transform & gro, Werner, Wolfgang |
Month |