This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
FW: Unique sorting
- From: "Andrew Welch" <andrew at thebristoldirectory dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 26 Dec 2001 18:06:31 -0000
- Subject: FW: [xsl] Unique sorting
- Reply-to: xsl-list at lists dot mulberrytech dot com
><xsl:template><xsl:apply-templates/></xsl:template>
This line is to blame, probably left in their from wd-xsl where it is allowed. Remove that line and you wont get the error.
andrew
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of dragonjia
Sent: Wednesday, December 26, 2001 2:04 AM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] Unique sorting
is there something wrong with my xsl??
but It report:
XSL Runtime Error
Required attribute 'match' is missing.
I'm puzzling...
<?xsl version="1.0" encoding="GB2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<xsl:template><xsl:apply-templates/></xsl:template>
<xsl:template match="/">
<html>
<head><title>my test</title>
</head>
<body>
<xsl:apply-templates select="clone"/>
</body>
</html>
</xsl:template>
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Markus Spath
Sent: 2001年12月25日 6:33
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] Unique sorting
Hi David,
I had the same problem and Joerg recommended me Jeni's site:
http://www.jenitennison.com/xslt/grouping/muenchian.html
which probably will help you out too.
merry x-mas to all,
Markus
David Dymm wrote:
>
> Assume the following XML hierarchy:
>
> A -|- B -|- C -|- D -|- E
>
> repeated **many** times within the document. I want to produce an unique
> sort based on the value of C so that each value of C is only repeated once
> in my output. How is this done?
>
> David Dymm
> SAIC
> 304 284-9000 x228
> 304 284-9001 [fax]
> Dymm@asset.com
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list