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

RE: XSLT 1.0: Grouping Adjacent Elements in Embedded

Subject: RE: XSLT 1.0: Grouping Adjacent Elements in Embedded Lists
From: "Joe Heidenreich" <HeidenreichJ@xxxxxxxx>
Date: Fri, 5 Nov 2004 15:10:28 -0500
RE:  XSLT 1.0: Grouping Adjacent Elements in Embedded
Thanks Geert.

When I apply your transform I get the same error. My output comes out as:

<p>
   <ol>
      <li>Top: Item 1</li>
      <p>
         <ol>
            <li>Sub A: Item 1</li>
         </ol>
      </p>
   </ol>
</p>

<p>
   <ol>
      <li>Top: Item 2</li>
      <p>
         <ol>
            <li>Sub B: Item 1</li>
            <li>Sub B: Item 2</li>
            <li>Sub B: Item 3</li>
         </ol>
      </p>
   </ol>
</p>

<p>
   <ol>
      <li>Top: Item 3</li>
      <p>
         <ol>
            <li>Sub C: Item 1</li>
            <li>Sub C: Item 2</li>
         </ol>
      </p>
   </ol>
</p>

With each Top level item in its own paragraph. Also, a basic unembedded list
has the same result.

<OL_LI>Top: Item 1</OL_LI>
<OL_LI>Top: Item 2</OL_LI>
<OL_LI>Top: Item 3</OL_LI>

is translated as

<p>
   <ol>
      <li>Top: Item 1</li>
   </ol>
</p>

<p>
   <ol>
      <li>Top: Item 2</li>
   </ol>
</p>

<p>
   <ol>
      <li>Top: Item 3</li>
   </ol>
</p>

I'm using MSXML2 for my translator. I appreciate your help.
-Joe

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.