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

Looping problem

Subject: Looping problem
From: "Deepak Rao" <deepaksubs@xxxxxxxxxxx>
Date: Mon, 02 Dec 2002 17:30:02 -0500
looping problem
Hi,

Sorry for the seemingly simple question, I tried searching on the FAQ but could not find it.

The following is the XML I want to transform. Can anyone help me out in writing a statement which access only the LOOP2 section and its children of the first LOOP1 section. I want to ingnore the rest of the LOOP1 sections and its children. I want to use a for-each (if possible)

<XML>
  <ABC>2323</ABC>
  <LOOP1>
     <XYZ>232</XYZ>
     <ERT>5465</ERT>
     <LOOP2>
        <DFG>345</DFG>
        <CVB>675</CVB>
     </LOOP2>
     <LOOP2>
        <DFG>123</DFG>
        <CVB>346</CVB>
     </LOOP2>
  </LOOP1>
  <LOOP1>
     <XYZ>123</XYZ>
     <ERT>345</ERT>
     <LOOP2>
        <DFG>123</DFG>
        <CVB>346</CVB>
     </LOOP2>
  </LOOP1>
  <LOOP1>
     <XYZ>123</XYZ>
     <ERT>345</ERT>
  </LOOP1>
</XML>

Thanks,
Deepak

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus



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



Current Thread
  • Looping problem
    • Deepak Rao - Mon, 2 Dec 2002 17:25:22 -0500 (EST) <=
      • <Possible follow-ups>
      • Passin, Tom - Mon, 2 Dec 2002 18:01:24 -0500 (EST)

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.