(dsssl) Count and Display <week><question> tags. How?

Subject: (dsssl) Count and Display <week><question> tags. How?
From: Jeremy Cowgar <jcowgar@xxxxxxxxx>
Date: Mon, 17 Sep 2001 11:04:19 -0400
I am sorry for posting such a simplistic question to the list but I have searched the net up and down and I am new to DSSSL in general. I started learning it by doing some of my homework with it for college and tonight I have to turn in my questions and answers but I can't make them print correctly!

Here's what I have done:

<week>
<question>How old are you?
<answer>26</answer>
</question>

<question>What color hair do you have?
<answer>Brown</answer>
</question>
</week>

What I want to come out of DSSSL is:

Week 1
[1] How old are you?
26

[2] What color hair do you have?
Brown

Week 2
...etc...

I have used DSSSL for many other things such as notes, studies, sermons, etc... but I never had the need to number items like this time and I am in a real bind. Can anyone tell me how to do this or point me in the right direction? Oh, I already have everything working except the numbering. It simply says Week, [] How old are you? ...etc...

Thanks!

Jeremy Cowgar - jcowgar@xxxxxxxxx


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread