Subject: Need help skipping a child element
From: "Fatbob" <fatbob73@xxxxxxxxxxx>
Date: Thu, 26 Mar 2009 12:39:09 -0400
|
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!
|