[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: [xslt transform & grouping] Using the Muenchia

Subject: Re: Re: [xslt transform & grouping] Using the Muenchian Method?
From: "Michael PG" <xrow@xxxxxxx>
Date: Wed, 06 Oct 2004 13:07:37 +0000
microsft generate id
As a workaround I used generate-id() function in Muenchian method instead of count():
Something with numeric predicate I think.


<xsl:for-each select="Document[@filter='' or @filter=$filter]/Article[generate-id()=generate-id(key('by-info',@info)[@filter='' or @filter=$filter])]">

Now it works as it should.

--Michael


From: David Carlisle <davidc@xxxxxxxxx>
Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Re: [xslt transform & grouping] Using the Muenchian Method?
Date: Wed, 6 Oct 2004 13:44:00 +0100


> I tried to use other namespace in XSLT file.
>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl"/>

that's not just another namespace that is a different language that is
almost completely unrelated to XSLT. It was implemented in msxml 2 (and so
IE5) prior to Microsoft implementing XSLT, MSXML3 implemented both
languages, MSXML4 and later products only implement XSLT. No
non-microsft product ever implemented that language, which was loosely
based on an early draft of XSL but mainly consisted of microsoft specific
constructs.

Microsoft's wd-xsl doesn't have anything analogous to xsl:key as far as
I can recall and the behaviour of its templating language was quite
different. So you'd have to completely re-write your stylesheet to use
that language.

It would be bizarre indeed to use that language when it is not supported
in any current product. I don't know but I would be most surprised if it
is implemented in the standard .net classes.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.