Page 1 of 1

XSLT doesn't work on big XML file

Posted: Wed Sep 10, 2025 3:26 pm
by birgitstrackenbrock
Why doe the attached XSLT do not work on the attached XML file?
When I use it for a small XML file with only 5 terms it works ok.
What can/must I do?
legacytermid.zip

Re: XSLT doesn't work on big XML file

Posted: Fri Sep 12, 2025 2:17 pm
by tavy
Hello,

Which version of Oxygen are you using?
Which engine do you use to perform the transformation?
Do you encounter any errors?

Regards,
Octavian

Re: XSLT doesn't work on big XML file

Posted: Tue Sep 16, 2025 12:30 pm
by birgitstrackenbrock
I use Oxygen 27, Saxon EE 12.5
En als ik een klein XML file als input heb, ja, dan werkt het en ik krijg hits.

Re: XSLT doesn't work on big XML file

Posted: Tue Sep 16, 2025 5:01 pm
by tavy
The transformation seems to be working fine.
I'm not sure what you are trying to achieve. Maybe the problem is that the condition @value = following::vma:prop[@name = 'legacytermid']/@value is always false. You don't have a following vma:prop element with the same @value.

Re: XSLT doesn't work on big XML file

Posted: Tue Sep 16, 2025 5:47 pm
by birgitstrackenbrock
I find out the the problem is not the big XML file but the content in @value.
The script cannot find values with an underscore like this:
<vma:prop name="legacytermid" value="cwf_Leerdoelen_8raob1"/>
What do I have to change?

Re: XSLT doesn't work on big XML file

Posted: Wed Sep 17, 2025 11:14 am
by birgitstrackenbrock
If have seen, there is nothing wrong with the XSLT, there is really no dubbel value in the XML. Sorry for all the work.