I have a (simplified) XML file I'm trying to transform:
<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns="http://www.symplectic.co.uk/vivo/" xmlns:api="http://www.symplectic.co.uk/publications/api">
<tag>Hello, Hello.</tag>
</entry>
Wrapping my content in the "entry" tag seems to cause problems with this statement in my XSLT.
<xsl:value-of select="$xmlfile/entry/tag"/>
Where the $xmlFile is the fn:document output of the above XML. I have found that when removing the entry tags from the XML and simply modifying my XSLT to:
<xsl:value-of select="$xmlfile/tag"/>
I get the content (Hello,Hello) I'm expecting in my output. I have verified that doing a copy-of $xmlfile returns the full XML file. I'm sure there is something I'm not doing right syntactically as I'm new to XSL. Any advice would be appreciated.
Thanks!