I got this XML document with an XML-string defined inside an element:
<HIT>
<FIELD NAME="xmlstring">
<?xml version="1.0"?>
<kontaktpersoner><person><funksjon><![CDATA[Økonomi]]></funksjon><tittel> <![CDATA[regnskapsansv.]]></tittel><email><![CDATA[[email protected]]]></email><navn><![CDATA[Test Test]]></navn></person><person><funksjon><![CDATA[Leder]]></funksjon><tittel><![CDATA[adm. dir.]]></tittel><email><![CDATA[[email protected]]]></email><navn><![CDATA[Test2 Test]]></navn></person></kontaktpersoner>
</FIELD>
</HIT>
The XML inside the element with the "xmlstring"
attribute is escaped with <
and >
and is read as string and not XML.
How do I make it possible to use this with XPath in XSLT?