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

Need help skipping a child element

Subject: Need help skipping a child element
From: "Fatbob" <fatbob73@xxxxxxxxxxx>
Date: Thu, 26 Mar 2009 12:39:09 -0400
 Need help skipping a child element
Hi everyone,

XSL newbie here. I have the following sample of my XML file...

<Row Type="Data">
 <Cell longDate="1143122100140" ChangeContext="FID=50020" ShowLink="true"
Status="Normal">Mar 23, 2006</Cell>
 <Cell ChangeContext="FID=50020" ShowLink="true" Status="Normal"></Cell>
 <Cell longDate="1143207120140" ChangeContext="FID=50020" ShowLink="true"
Status="Normal">Mar 24, 2006 08:32</Cell>
 <Cell ChangeContext="FID=50020" ShowLink="true"
Status="Normal">Compliti</Cell>
 <Cell ChangeContext="FID=50020" ShowLink="true" Status="Normal">Bio</Cell>
 <Cell ChangeContext="LDID=50114" ShowLink="true" Status="Normal">AC. MYCO.
TOTAL</Cell>
 <Cell ChangeContext="FID=50020" ShowLink="true" Status="Normal">1.8</Cell>
 <Cell ChangeContext="FID=50020" ShowLink="true"
Status="Normal">ug/mL</Cell>
 <Cell ChangeContext="FID=50020" ShowLink="true" Status="Normal"></Cell>
 <Cell ChangeContext="FID=50020" ShowLink="true" Status="Normal"></Cell>
 <Cell ChangeContext="FID=50020" ShowLink="true" Status="Normal">R</Cell>
 <Cell ChangeContext="FID=50020" ShowLink="true" Status="Normal"></Cell>
</Row>

Using XSL, I need to be able to remove (by this I mean or not display)
certain child elements. For example I only want to display the 1st, 2nd,
3rd, 6th and 7th, and always those elements only.

Any ideas how I can do this?

Thanks!

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.