Re: [xsl] Grouping by key

Subject: Re: [xsl] Grouping by key
From: gopinath.emmidisetty@xxxxxxxxxxxxxxxxxxxxxxxxx
Date: Thu, 2 Dec 2004 12:00:25 +0000
David wrote:

>        <xsl:if test="$collapse=1">
>                <xsl:template match="/">
>
>That's a syntax error, you should get no output at all. xsl:template has 
to be at the top level.

I have removed that if and I still don't get any result.  FYI, If I remove 
all <xsl:if> elements, I get the result.

Here is the xml, if it is of any help.
<documents>
  <account recno="1">
    <companyname colno="0">ABC Ltd</companyname>
    <accountnumber colno="0">1001001</accountnumber>
    <town colno="0">Rockport</town>
    <postcode colno="0">RP12XY</postcode>
    <phone colno="0">01952290290</phone>
  </account>
---
---
---
</documents>

Thanks.

Current Thread