About the xsl:copy.
The <xsl:copy> element creates a copy of the current node.
Can you tell me what is the current node for the following?
The <xsl:copy> element creates a copy of the current node.
Can you tell me what is the current node for the following?
Code:
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Application Name="CtMenu" Type="Class" ClassName="CMenuOnly" Authorize="False" CheckPoint="True" FeatureID="260">
<Input Name="Instructions" Static="yes">Select Option</Input>
<Input Name="Title" Static="yes">Management Menu</Input>
<Input Name="Menu" Static="yes">MgmtMenu</Input>
<Input Name="Scene" Static="yes">MenuOnly</Input>
<ProgID>S.dll</ProgID>
<Output Name="Status" Type="String" Static="no" />
<Output Name="DType" Static="yes">Default</Output>
<Output Name="RMenu" Static="yes">BShow</Output>
<Output Name="Next" Static="yes" xmlns:xsl="[URL unfurl="true"]http://www.w3.org/1999/XSL/Transform"[/URL] version="1">
<xsl:transform version="1.0" xmlns:xsl="[URL unfurl="true"]http://www.w3.org/1999/XSL/Transform">[/URL]
<xsl:output method="text" />
<xsl:template match="/">
<xsl:choose>
<xsl:when test="(/Configuration/GlobalArea/Variable[@Name='Status']) = 'Escape'">
<xsl:copy>AdminMenu</xsl:copy>
</xsl:when>
<xsl:when test="(/Configuration/GlobalArea/Variable[@Name='Status']) = 'MenuItemAT">
<xsl:copy>TA</xsl:copy>
</xsl:when>
<xsl:when test="(/Configuration/GlobalArea/Variable[@Name='Status']) = 'MenuItemCount'">
<xsl:copy>TO</xsl:copy>
</xsl:when>
<xsl:otherwise>
<xsl:copy></xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>
</Output>
</Application>
<Application Name="TA" Type="Class" ClassName="S.CA" ClearStack="True" Authorize="False">
.....