Subject: [xsl] 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 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Remove node after testing, Jon Gorman | Thread | Re: [xsl] Remove node after testing, Jon Gorman |
Re: [xsl] Problem selecting distinc, Pankaj Bishnoi | Date | Re: [xsl] bad match expression, David Carlisle |
Month |