This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Q on incremental processing and count()


Hello Michael,

it's not clear what you want to do. Your variables are ok, no problems to
see. You only can shorten them:

<xsl:variable name="col-num" select="10"/>

<xsl:variable name="col-num" select="count(thead/th-row)"/>

<xsl:variable name="col-num" select="count(thead[1]/th-row)"/>

Between the two last declarations there should be no difference, because of
your XML.

But what exactly is the problem? What's the result you get and you expect?
What's the context of the variable declaration?

Regards,

Joerg


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]