Subject: Re: [xsl] positional grouping xslt2 From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 10 Mar 2004 09:56:34 GMT |
<title><xsl:value-of select="self::head1"/></title> <title><xsl:copy-of select="self::head1/node()"/></title> Why different please David? As usual, value-of will give you a string but if there is any markup in the title and you want to keep it you want to use copy-of. In this case there probably is no markup, but still... is used to further group by name the following stuff, note how the first item in the list is skipped, since its the current group key thingy. well in particular it's the title element which you have already handled separately. -- http://www.dcarlisle.demon.co.uk/matthew ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. 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 ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] positional grouping xslt2, David . Pawson | Thread | RE: [xsl] positional grouping xslt2, David . Pawson |
RE: [xsl] positional grouping xslt2, Michael Kay | Date | [xsl] DOM node?, james walker |
Month |