I need help to read into a xml file with the this definition
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<Document xmlns="urn:iso:std:iso:20022:tech:xsd:pain.001.001.03" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CstmrCdtTrfInitn>
<GrpHdr>
<NbOfTxs>3</NbOfTxs>
The problem is that I can't read the nodes when the xml has Document xmlns... (I tested removing this line and I can read the nodes)
My xsl is this:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output encoding="UTF-8" indent="yes" method="xml" standalone="no" omit-xml-declaration="yes"/>
<xsl:template match='GrpHdr'>
<NbOfTxs><xsl:value-of select="NbOfTxs"/></NbOfTxs>
</xsl:template>
</xsl:stylesheet>