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

Re: Frustrated with xxx:node-set

Subject: Re: Frustrated with xxx:node-set
From: Karl Stubsjoen <kstubs@xxxxxxxxx>
Date: Wed, 1 Jun 2005 13:42:15 -0700
foo color code
Ahhh... that would be my conclusion.  I'm open to other ways of
aggregating and summarizing data with xslt1.0 ... it is a must for me!

On 6/1/05, David Carlisle <davidc@xxxxxxxxx> wrote:
>
> I changed the top of your stylesheet to use saxon 6's node-set extension
> rather then MS's.
>
> I get the result below, no empty summary element, so perhaps there is a
> bug in the processor you are using.
>
> David
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:fx="http://icl.com/saxon">
> <xsl:output indent="yes"/>
>
>
>
> $ saxon sum.xml sum.xsl
> <?xml version="1.0" encoding="utf-8"?>
> <result xmlns:fx="http://icl.com/saxon">
>   <foo>
>      <B code="FOO">red</B>
>      <B code="FOO">blue</B>
>      <B code="FOO">blue</B>
>      <B code="FOO">green</B>
>   </foo>
>   <bar>
>      <B code="BAR">green</B>
>      <B code="BAR">red</B>
>      <B code="BAR">green</B>
>      <B code="BAR">green</B>
>      <B code="BAR">blue</B>
>   </bar>
>   <foobar_summary>
>      <summary_for_foo>
>         <summary code="FOO" color="red">1</summary>
>         <summary code="FOO" color="blue">2</summary>
>         <summary code="FOO" color="green">1</summary>
>      </summary_for_foo>
>      <summary_for_bar>
>         <summary code="BAR" color="green">3</summary>
>         <summary code="BAR" color="red">1</summary>
>         <summary code="BAR" color="blue">1</summary>
>      </summary_for_bar>
>   </foobar_summary>
>   <foo>
>      <B code="FOO">green</B>
>      <B code="FOO">blue</B>
>      <B code="FOO">red</B>
>      <B code="FOO">green</B>
>      <B code="FOO">green</B>
>      <B code="FOO">green</B>
>      <B code="FOO">green</B>
>   </foo>
>   <bar>
>      <B code="BAR">green</B>
>      <B code="BAR">green</B>
>      <B code="BAR">green</B>
>      <B code="BAR">blue</B>
>      <B code="BAR">blue</B>
>   </bar>
>   <foobar_summary>
>      <summary_for_foo>
>         <summary code="FOO" color="green">5</summary>
>         <summary code="FOO" color="blue">1</summary>
>         <summary code="FOO" color="red">1</summary>
>      </summary_for_foo>
>      <summary_for_bar>
>         <summary code="BAR" color="green">3</summary>
>         <summary code="BAR" color="blue">2</summary>
>      </summary_for_bar>
>   </foobar_summary>
> </result>
>
>
> ________________________________________________________________________
> 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
> ________________________________________________________________________

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.