[xsl] group numbering problem

Subject: [xsl] group numbering problem
From: John Sharp <jsharp@xxxxxx>
Date: Fri, 05 Sep 2003 17:59:00 -0500
Hi. I'm having a problem generating numbers
for each of the following (grouped by @name)

I need output of:

 Blue   1  Fast TRUE  FALSE
 Blue   2  Slow TRUE  FALSE
 Red    1  Fast FALSE FALSE
 Yellow 1  Fast FALSE FALSE
 Yellow 2  Fast FALSE FALSE

>From this XML

<Flow>
   <SubFlow name="Blue">
      <Method>Fast</TestMethod>
      <Include>TRUE</Include>
      <Execute>FALSE</Execute>
   </SubFlow>
   <SubFlow name="Blue">
      <Method>Slow</TestMethod>
      <Include>TRUE</Include>
      <Execute>FALSE</Execute>
   </SubFlow>

   <SubFlow name="Red">
      <Method>Fast</TestMethod>
      <Include>FALSE</Include>
      <Execute>FALSE</Execute>
   </SubFlow>

   <SubFlow name="Yellow">
      <Method>Fast</TestMethod>
      <Include>FALSE</Include>
      <Execute>FALSE</Execute>
   </SubFlow>   

   <SubFlow name="Yellow">
      <Method>Slow</TestMethod>
      <Include>FALSE</Include>
      <Execute>FALSE</Execute>
   </SubFlow>
 </Flow>

PS, as I'm on the digest list, a CC copy/reply would be great.

Kind regards, John

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread