[Home] [By Thread] [By Date] [Recent Entries]
Quoting "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>:
At 2007-11-23 22:11 +0100, Andreas Peter wrote:Unfortunaltely I still have a problem with xsl:for-each-group and my xml example. For a better understanding the test-xml-file: Hello Ken, many thanks for taking time. I know that all of you out there are really busy. The desired output from the above input should look like this. I hope this helps: <set>
<book>
<bookinfo/>
<title>h1</title>
<chapter>
<title>for h2</title>
<para>para of h2</para>
<sect1>
<title>for h3</title>
<para>paras of h3</para>
<sect2>
<title>for h4</title>
<para>para of h4</para>
<sect3>
<title>for h5</title>
<para>para of h5</para>
<sect4>
<title>for h6</title>
<para>para of h6</para>
</sect4>
</sect3>
</sect2>
</sect1>
</chapter>
<chapter>
<title>for h2</title>
<para>para of h2</para>
<sect1>
<title>for h3</title>
<para>paras of h3</para>
<sect2>
<title>for h4</title>
<para>para of h4</para>
<sect3>
<title>for h5</title>
<para>para of h5</para>
<sect4>
<title>for h6</title>
<para>para of h6</para>
</sect4>
</sect3>
</sect2>
</sect1>
</chapter>
</book>
</set>By the way, how can I get a good XSLT programmer? I am reading and testing a lot, but it is so hard for me understanding this language. Are there realy good books on the market? Thanks so much, Andreas
|

Cart



