Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] xslt 1.0 vs xslt 2.0 problem

From: "Darcy Parker" <darcyparker@--------->
To:
Date: 9/3/2008 7:38:00 PM
No it shouldn't contradict what I said.

First you need to select the A nodes that have B elements with @a
containing 'foo'.  (Everyone provided methods that can do this.)

Second, you then copy or recreate the A nodes but only copy/reproduce
the B sub-nodes that have @a containing 'foo'.  (I think others will
agree with this, but neglected to see this as a requirement in your
first message.)

Darcy
On Wed, Sep 3, 2008 at 2:19 PM, mark bordelon <markcbordelon@xxxxxxxxx> wrote:
> I did understand you mean the first node, not the first attribute.
>
> Comprehension check: Does this at all contradict what Darcy wrote? I don't think it does...but just making sure.
>
> --- On Wed, 9/3/08, Andrew Welch <andrew.j.welch@xxxxxxxxx> wrote:
>
> From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
> Subject: Re: [xsl] xslt 1.0 vs xslt 2.0 problem
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Date: Wednesday, September 3, 2008, 11:17 AM
>
> I wrote:
>
>> //A[contains((B/@a[1]), 'foo')]
>
> but meant:
>
> //A[contains((B/@a)[1], 'foo')]
>
> ...but hopefully you got the idea!
>
>
>
>
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent