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.
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--