|
Subject: Re: [xsl] Wrap changing element sequence into container: with 'for-each-group'? From: Yves Forkl <Y.Forkl@xxxxxx> Date: Wed, 31 Jan 2007 16:32:06 +0100 |
It's so much easier if you provide an example, failing that I'll provide one:-)
<root>
<flatsequence>
<a>a</a>
<b>b</b>
<c>c</c>
<d>d</d>
<e>e</e>
<f>f</f> <h>h</h>
<i>i</i>
<j>j</j>
</flatsequence>
<flatsequence>
<a>a</a> <c>c</c>
<d>d</d>
<e>e</e>
<f>f</f>
<g>g</g>
<h>h</h>
<i>i</i>
<j>j</j>
</flatsequence>
</root><root>
<hierarchy>
<a>a</a>
<container1>
<b>b</b>
<c>c</c>
</container1>
<d>d</d>
<e>e</e>
<f>f</f>
<container2> <h>h</h>
<i>i</i>
</container2>
<j>j</j>
</hierarchy>
<hierarchy>
<a>a</a>
<container1> <c>c</c>
</container1>
<d>d</d>
<e>e</e>
<f>f</f>
<container2>
<g>g</g>
<h>h</h>
<i>i</i>
</container2>
<j>j</j>
</hierarchy>
</root> <xsl:template match="root">
<xsl:copy>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Wrap changing element seq, David Carlisle | Thread | Re: [xsl] Wrap changing element seq, David Carlisle |
| Re: [xsl] Simple Question, David Carlisle | Date | Re: [xsl] Wrap changing element seq, David Carlisle |
| Month |