Convert attribute to node-set using xalan
Hello,
I've this XML
<MsgType TheXML="<FrameworkConfig DefaultChannel="default">#xA; <Channel Name="FileAdapter" AdapterType="AclFileAdapter">#xA; <AdapterParameter Name="OutputFolder" Value="val"/>#xA; <AdapterParameter Name="HeaderIncluded" Value="y"/>#xA; <RoutingEntry MessageType="FILE_ADAPTER" Requestor=""/>#xA; </Channel>#xA; </FrameworkConfig>" />
I'm using XSLT 2.0 and I've the following :
<xsl:variable name="frameXML">
<xsl:value-of select="@TheXML" disable-output-escaping="yes"/>
</xsl:variable>
<xsl:value-of select="exsl:node-set($frameXML)/FrameworkConfig/@DefaultChannel"></xsl:value-of>
I'm using Xalan 2.7 processor and would like to be able to parse TheXML attribute. I know I can achieve the same using saxon:parse, is it possible to do that same thing with xalan.
Thanks.
|