|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: [xslt transform & grouping] Using the Muenchia
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" /> Cheers, Juergen --+------------------------------------------------------------------ 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> --+--
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








