|
-
Feb 20th, 2006, 05:14 AM
#1
Thread Starter
Junior Member
a quick question
Hi just a quick query
i have the following tags in my document
<row 1>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
</row 1>
<row 2>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="xxx" align="right"><p>ABCDEFGHI</p></Unit>
</row 2>
i need to number the "xxx" values withing the <row> and </row> tags.. So within each <row> </row> block the numbers should begin from 1 onwards.
example
<row 1>
<Unit colname="1" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="2" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="3" align="right"><p>ABCDEFGHI</p></Unit>
</row 1>
<row 2>
<Unit colname="1" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="2" align="right"><p>ABCDEFGHI</p></Unit>
<Unit colname="3" align="right"><p>ABCDEFGHI</p></Unit>
</row 2>...and so on.
is this possible?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|