This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
apples into baskets
- To: <xsl-list at mulberrytech dot com>
- Subject: apples into baskets
- From: Evgenii Bazarov <evgeniibazarov at usa dot net>
- Date: 2 Jun 00 03:14:53 MSD
- Reply-To: xsl-list at mulberrytech dot com
What I am trying to do is to put fruits into baskets:
INPUT:
<basket/>
<apples>3</apples>
<oranges>5</oranges>
<basket/>
<apples>7</apples>
<oranges>9</oranges>
OUTPUT:
<harvest>
<basket id=1>
<apples>3</apples>
<oranges>5</oranges>
</basket>
<basket id=2>
<apples>7</apples>
<oranges>9</oranges>
</basket>
</harvest>
I don't know hom many baskests potentially coming from the input.
I tried couple of things, but wasn't lucky. Can somebody
help with an idea?
Thanks,
Evg
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list