Re: [xsl] Re: For each child, create a new parent node including only that child

Subject: Re: [xsl] Re: For each child, create a new parent node including only that child
From: "Manuel Souto Pico terminolator@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Aug 2019 11:36:17 -0000
Thanks, Ruud.

Yes, that seems simpler than what I was trying to do now with a regex. It
seems to work: https://xsltfiddle.liberty-development.net/6rewNxx/9

Cheers, Manuel

Ruud GROSMANN r.grosmann@xxxxxx <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
escreveu no dia quarta, 28/08/2019 C (s) 13:27:

> On 8/28/19 1:03 PM, Manuel Souto Pico terminolator@xxxxxxxxx wrote:
> > A quick update.
> >
> > I think I am closer in this version:
> > https://xsltfiddle.liberty-development.net/6rewNxx/4. The second
> problem
> > is fixed in it, the other two problems remain.
> >
> > I keep working on it, any tips are most welcome.
> >
> > Cheers, Manuel
>
>
> hi Manual,
> is it not simply a matter of making a template that fires for
> non-english nodes?
>
> <xsl:template match="tuv[@xml:lang !='en-ZZ]">
>
> Concerning the tmx element: you have explicitly made a rule to omit the
> tmx element itself. Add xsl:copy to it in order to get the tmx element
> in the output
>
> cheers, Ruud

Current Thread