Article View: pl.comp.xml
Article #9482Re: Sortowanie i grupowanie
From: szomiz
Date: Tue, 11 Sep 2007 16:21
Date: Tue, 11 Sep 2007 16:21
28 lines
1638 bytes
1638 bytes
Użytkownik "TomDom" <tomasz.dom@gmail.com> napisał w wiadomości
news:1189517311.580430.310750@22g2000hsm.googlegroups.com...
przekształcić do postaci:
<employees>
<group no='1'>
<employee>
<name>Abc</name>
<post>P2</name>
</employee>
...
</group>
<group no='2'>
<employee>
<name>Xyz</name>
<post>P1</name>
</employee>
...
</group>
...
</employees>
A co jest wyznacznikiem grupowania, bo z przykladu za cholere to nie wynika?
Generalnie grupuje sie przy pomocy xsl:key.
sz.
Technical Details
Message-ID:
<fc6fk2$p8s$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<1189517311.580430.310750@22g2000hsm.googlegroups.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.internetia.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "szomiz" <szomiz@kocha.dostawac.reklamy.przez.net> Newsgroups: pl.comp.xml Subject: Re: Sortowanie i grupowanie Date: Tue, 11 Sep 2007 18:21:28 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 30 Message-ID: <fc6fk2$p8s$1@nemesis.news.tpi.pl> References: <1189517311.580430.310750@22g2000hsm.googlegroups.com> NNTP-Posting-Host: hau2.internetdsl.tpnet.pl X-Trace: nemesis.news.tpi.pl 1189528002 25884 79.187.20.2 (11 Sep 2007 16:26:42 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Tue, 11 Sep 2007 16:26:42 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.2663 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit