Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: using xsl variables in count()

From: "Joris Gillis" <roac@-------.-->
To: NULL
Date: 3/3/2005 4:17:00 PM
Hi,

Tempore 17:02:37, die Thursday 03 March 2005 AD, hinc in foro {microsoft.public.xsl} scripsit Ryan <rlhuff@g...>:

> The challenge is that I'm running into problems on this
> line:
> count(/dsQueryResponse/Rows/Row[normalize-space(@Status) =
> '$uniqueStatus']/@ID)
>
omit the quotes ('') ;they indicate that you're dealing with a string, which is not what you want.

(You can also use 'current()/@Status' in stead of the variable 'uniqueStatus')

> Another note... @Status has the same value as $uniqueStatus here. I
> need to access one or the other.
?


regards,
-- 
Joris Gillis (http://www.ticalc.org/cgi-bin/acct-view.cgi?userid=38041)
Veni, vidi, wiki (http://www.wikipedia.org)


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent