This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > July 2004 > XSLT: <xsl:number TEST="@quality!='decay'">





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author XSLT: <xsl:number TEST="@quality!='decay'">
Nikolay Klinachyov

2004-07-29, 7:16 pm

Hi

For select="//apple_on_tree"
We have
<xsl:number level="any"/> = 1,2,3,4,5,6,7,...
But for:
apple_on_tree[2] test="@quality='decay'"
apple_on_tree[4] test="@quality='decay'"
apple_on_tree[7] test="@quality='decay'"

How for result:
<xsl:element name="apple_in_basket">
to get an index without the misses:
<xsl:number level="any" TEST="@quality!='decay'"> = 1,2,3,4,...
?
I.e. to reconstruct an index from
<xsl:number level="any"/> = 1,3,5,6,...
to
<xsl:number level="any"/> = 1,2,3,4,...
?
Condition: I should have repeated access to a new index

--
Regards,
Nikolay Klinachyov



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews