Michael Lund
Usenet Archive
- Joined
- Dec 24, 2004
- Messages
- 2
- Reaction score
- 0
Hi,
I have this XML.
<stuff>
<class name="class a" superclass="">
<field name="field a" type="int">a is an integer</field> <class> <class name="class aa" superclass="a"> <field name="field aa" type="string">aa is a string</field> <class> <class name="class ab" superclass="ab"> <field name="field b" type="stuff">b is something else</field> <class> </stuff>
I need a stylesheet that can give med the output:
Class a:
field a - integer - a is an integer
Class aa:
field a - integer - a is an integer
field aa - string - aa is a string
Class ab
field a - integer - a is an integer
field b - stuff - b is something else
But I haven't got the slightest idea how do this
NB: there is no guarantee that "class a" occur before the other classes in my XML.
Can you help get me startet?
thanks and merry christmas,
Michael
I have this XML.
<stuff>
<class name="class a" superclass="">
<field name="field a" type="int">a is an integer</field> <class> <class name="class aa" superclass="a"> <field name="field aa" type="string">aa is a string</field> <class> <class name="class ab" superclass="ab"> <field name="field b" type="stuff">b is something else</field> <class> </stuff>
I need a stylesheet that can give med the output:
Class a:
field a - integer - a is an integer
Class aa:
field a - integer - a is an integer
field aa - string - aa is a string
Class ab
field a - integer - a is an integer
field b - stuff - b is something else
But I haven't got the slightest idea how do this
NB: there is no guarantee that "class a" occur before the other classes in my XML.
Can you help get me startet?
thanks and merry christmas,
Michael