xsl-list
[Top] [All Lists]

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

2019-08-28 06:36:21
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(_dot_)grosmann(_at_)sdu(_dot_)nl 
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com>
escreveu no dia quarta, 28/08/2019 à(s) 13:27:

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



--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--
<Prev in Thread] Current Thread [Next in Thread>