|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Grouping by key
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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








