[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: "Xsl List" <xsl@xxxxxxxxxxxxxxx>
Date: Tue, 28 Sep 2004 11:24:42 +0200
surname cheers
Hi Michael,

I get an empty body. Not an error.

You use the following data:

<Doc title="Mr"/>
<Doc forename="John"/>
<Doc surname="Smith"/>

and the following key:
  <xsl:key name="contacts-by-surname" match="Doc" use="surname" />
  <xsl:key name="contacts-by-surname" match="Doc" use="@surname" />

The selection in use selects an element "surname" which doesn't exist.
A few Doc element have an attribute surname.  Assuming you don't want
the entries with empty surname?

  <xsl:key name="contacts-by-surname" match="Doc[@surname!='']"
use="@surname" />



XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>

Current Thread


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.
First Name
Last Name
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.