xsl-list
[Top] [All Lists]

[xsl] Need help skipping a child element

2009-03-26 12:39:33
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">Complété</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!


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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