Subject: RE: [xsl] xsl with dynamic xpath statement from param and variable From: "Ralph Price" <Ralph.Price@xxxxxxxxxxx> Date: Thu, 6 Sep 2007 13:55:40 +1200 |
Hi Ken thanks for your rapid response to my question. The first solution has worked just fine. You were correct in your comment about my oversight in wiping out attributes. I noticed that after I had posted to the list. I am testing the xsl in XmlSpy and as such I am not sure of what 'processing engine' is being used but the second solution produces an error dialog stating that "Variables and parameters cannot be used in patterns'. I assume that despite the version being stated as being 2.0 it is still processing using 1.0? I will happily take on any criticism for what I have done and any misdirection was my own from what I have been able to gleen from books and on-line. Any misinterpretations are my own. (San Francisco is probably a bit far for a training course) Best regards Ralph Price New Zealand -----Original Message----- From: G. Ken Holman [mailto:gkholman@xxxxxxxxxxxxxxxxxxxx] Sent: Thursday, 6 September 2007 1:02 p.m. To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] xsl with dynamic xpath statement from param and variable At 2007-09-06 11:38 +1200, Ralph Price wrote: >My problem seems like it should be simple > >Essentially there are nodes in my xml that I wish to discard based on a >child value existing in that node. That value is to be supplied by a >param. > >The original data looks like: >... <SNIP /> ------------------------------------------------------------------------ CAUTION - This message may contain privileged and confidential information intended only for the use of the addressee(s) named above. If you are not the intended recipient of this message you are notified that any use, dissemination, distribution or reproduction of this message is prohibited; If you have received this message in error please notify the sender immediately via return email and erase all copies of this message and attachments. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Rotorua District Council. ------------------------------------------------------------------------
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl with dynamic xpath st, G. Ken Holman | Thread | RE: [xsl] xsl with dynamic xpath st, G. Ken Holman |
Re: [xsl] xsl with dynamic xpath st, G. Ken Holman | Date | RE: [xsl] xsl with dynamic xpath st, G. Ken Holman |
Month |