<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Name_Detail_Data">
<!-- Output the child elements (First_Name and Last_Name), including both text and tags -->
<xsl:copy-of select="*"/>
<!-- For the full name, output the child elements (First_Name and Last_Name) text only -->
<Full_Name>
<xsl:value-of select="*"/>
</Full_Name>
</xsl:template>
</xsl:stylesheet>
Could the transformer in use for XSLT become a user preference / option?
e.g. to be able to use Saxon-HE
Ref: https://github.com/Saxonica/Saxon-HE/
Reason is that the XSLT I am using is producing different results in XML Tools as compared to Saxon
The XSLT is supposed to concatenate first and last names into Full_Name
XML:
XSL: