I'm currently having a problem with a transformation of a file. Does anyone could help me to understand what the problem is?
My source file is:
<?xml version="1.0" encoding="UTF-8"?>
<xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
<fields>
<field name="A">
<field name="0216"><value>abcde</value></field>
</field>
<fields>
</xfdf>
My XSLT file is:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<personalData>
<personal>
<name>
<xsl:value-of select="//field[@name='A']//field[@name='0216']//value"/>
</name>
</personal>
</personalData>
</xsl:template>
</xsl:stylesheet>
The output file is:
<?xml version="1.0" encoding="UTF-8"?>
<personalData>
<personal>
<name/>
</personal>
</personalData>
I don't understand why the value is empty...
Thank you in advance,
Maxime