xsl-list
[Top] [All Lists]

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

2019-08-28 06:27:34
On 8/28/19 1:03 PM, Manuel Souto Pico terminolator(_at_)gmail(_dot_)com 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



<Prev in Thread] Current Thread [Next in Thread>