xsl-list
[Top] [All Lists]

[xsl] Detecting precedence of string content in XSLT 1.0

2006-12-21 00:56:07
Hi,

I have following input:
<fw-rule-order>
  fw_rule3
  fw_rule1
  fw_rule2
</fw-rule-order>

and the desired output:
<rule name="fw_rule3" precedence="0"/>
<rule name="fw_rule1" precedence="1"/>
<rule name="fw_rule2" precedence="2"/>

Could someone give me any hints how this could be solved in XSLT 1.0?

Thanks,

Harry Liljeström


--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>