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

Remove node after testing for equality using value fro

Subject: Remove node after testing for equality using value from external xml document
From: "Evans, Martin Chf Tech " <Martin.Evans934@xxxxxx>
Date: Thu, 9 Feb 2006 09:02:00 -0000
xsl test equality
My apologies Jon

I should have stated that I am trying to remove nodes that have a
HARDWARE_PART_NO = to the corresponding HARDWARE_PART_NO in an external
XML document.

The xsl code snippet:

>             <xsl:when test="self::Row[HARDWARE_PART_NO !=
'EJ200-101']">
>                 <xsl:comment>Structural Part No Removed</xsl:comment>

Does test for inequality, my fopar there, I should have said that that
was the template I use to remove nodes non equal HARDWARE_PART_NO exist.
What I think the test should look like is something along the lines of:

>             <xsl:when test="self::Row[HARDWARE_PART_NO != 'Param or
Variable']">
>                 <xsl:comment>Structural Part No Removed</xsl:comment>

This needs to be after the call to the external document or set of
params/variables.

Hope this gives some clarity to my situation.


Martin Evans

Chf Tech Martin Evans
LAIPT FD(Ops) FD(Strike)2a1
Andover (94391) 2270
Civil: 01264 382270

DII email:  DCSA LAIPT FD2a1
Internet email:  Martin.Evans934@xxxxxx


This e-mail was sent from an e-mail address under the control of MOD.
Privileged/In confidence information may be contained in this message.
If you have received this e-mail in error, please destroy all copies in
your possession or control and kindly notify the sender by e-mail.   The
addressee (or individual responsible for delivery of the message to such
person) may not forward, disclose or copy this e-mail to any third party
without prior consent of MOD.  Furthermore, MOD does not accept
liability for any changes made to this e-mail after it was sent.
Please advise immediately if you or your employer do not consent to
Internet e-mail for messages of this kind.

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.