xsl-list
[Top] [All Lists]

group numbering problem

2003-09-05 15:59:00
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



<Prev in Thread] Current Thread [Next in Thread>