XML Script logo
_filter with the 'times' attribute specified
Code
<_filter find="number" replace="quantity" times="2" >
<Birds >
	<Type name="robin" number="3" />
	<Type name="bluetit" number="4" />
	<Type name="sparrowhawk" number="1" />
</Birds>
</_filter>
Output

<Birds >
	<Type name="robin" quantity="3" />
	<Type name="bluetit" quantity="4" />
	<Type name="sparrowhawk" number="1" />
</Birds>
Ref

x.7802

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited