Subject:Specifying condition with count function Author:Fadi Yoosuf Date:15 Jun 2009 09:36 AM
Hi
I am writing a code generation app using xslt.
My purpose is to check if any two nodes of the same parent node, have the same attribute value.
If so I want to append a number sequence in the ouput code, so that there is no duplication.
For example
-------------
if xml file is like
<code>
<methods>
<method name="first">
<method name="first">
<method name="second">
<method name="third">
</methods></code>
I want the output to be
-------------
void first1() {}
void first2() {}
void second() {}
void third() {}
Note: there is no number sequence attached to function name if it is not duplicated.
Subject:Specifying condition with count function Author:(Deleted User) Date:16 Jun 2009 12:28 PM
I am sorry, this is the support forum for users of Stylus Studio; if you need support for other vendors' products, please use the appropriate web site.