Hello,
I am a real newbin for xsl.
Usually xsl is refered to xhtml or so. And the files are seperated. But how to understand this code?
The xml and xsl are merged together.
Thanks for your time.
I am a real newbin for xsl.
Usually xsl is refered to xhtml or so. And the files are seperated. But how to understand this code?
The xml and xsl are merged together.
Code:
<Application Name="MgmtMenu" Type="Class" ClassName="MenuOnly" 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>
<ProgID>Misc.dll</ProgID>
<Output Name="Status" Type="String" Static="no" />
<Output Name="Type" Static="yes">Default</Output>
<Output Name="RunMenu" Static="yes">BtnShow</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']) = 'MenuItemEscape'">
<xsl:copy>AdminMenu</xsl:copy>
</xsl:when>
<xsl:when test="(/Configuration/GlobalArea/Variable[@Name='Status']) = 'MenuItemAssign'">
<xsl:copy>Assign</xsl:copy>
</xsl:when>
<xsl:when test="(/Configuration/GlobalArea/Variable[@Name='Status']) = 'MenuItemFinal'">
<xsl:copy>Reconcile_OperID</xsl:copy>
</xsl:when>
<xsl:otherwise>
<xsl:copy></xsl:copy>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:transform>
</Output>
</Application>