M
Mike Conmackie
Greetings,
I am trying to create a node in the output tree using a variable. Here are
some fragments that I hope will explain the problem better.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:glbl="http://www.compuware.com/XSL/globalvariables"
version="1.0">
<glbl:host-id-types>
<glbl:host-id-type t="undefined">unspecified</glbl:host-id-type>
<glbl:host-id-type t="Eth">ethernet</glbl:host-id-type>
<glbl:host-id-type t="Serial">serial</glbl:host-id-type>
<glbl:host-id-type t="Softkey">softkey</glbl:host-id-type>
</glbl:host-id-types>
<xsl:key name="host-id-type-lookup" match="glbl:host-id-type" use="." />
I am trying to create a node in the output tree using a variable. Here are
some fragments that I hope will explain the problem better.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:glbl="http://www.compuware.com/XSL/globalvariables"
version="1.0">
<glbl:host-id-types>
<glbl:host-id-type t="undefined">unspecified</glbl:host-id-type>
<glbl:host-id-type t="Eth">ethernet</glbl:host-id-type>
<glbl:host-id-type t="Serial">serial</glbl:host-id-type>
<glbl:host-id-type t="Softkey">softkey</glbl:host-id-type>
</glbl:host-id-types>
<xsl:key name="host-id-type-lookup" match="glbl:host-id-type" use="." />