|
Subject: [xsl] First Occurance Problem From: "Deepak Rao" <deepaksubs@xxxxxxxxxxx> Date: Mon, 24 Mar 2003 11:57:01 -0500 |
<agg1>
<agg2> <----Can repeat 1 to N times
<tag1></tag1> <----Both tag1 and tag2 can be empty
<tag2></tag2>
</agg2>
</agg1><agg1>
<agg2> <----Can occur only once
<tagx></tagx> <----tag1 will have the value from the first
populated occurance of tag1 in the source xml
</agg2>
</agg1><agg1>
<agg2>
<tag2>value tag2-1</tag2>
</agg2>
<agg2>
<tag1>value tag1</tag1>
</agg2>
<agg2>
<tag2>value tag2-2</tag2>
</agg2>
</agg1><agg1>
<agg2>
<tagx>value tag1</tagx>
</agg2>
</agg1>Thanks, Deepak
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Breaking up XML(XHTML) in, Leonidas Kanellos | Thread | Re: [xsl] First Occurance Problem, Jeni Tennison |
| RE: [xsl] use of xsl:key in cross-r, Lars Huttar | Date | Re: [xsl] First Occurance Problem, Jeni Tennison |
| Month |