asked on
<xsl:choose>
<xsl:when test="starts-with($path,'\')"> <!-- Starts with \ - e.g \abc\def\ghi -->
<xsl:choose>
<xsl:when test="not (string(substring-after(substring-after($path, '\'), '\'))) ">
<!--DO STUFF1() -->
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="xxx">
<xsl:with-param name="$path" select="substring-after(substring-after($path, '\'), '\')"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise> <!-- Doesn't start with \ - e.g abc\def\ghi-->
<xsl:choose>
<xsl:when test="not (string(substring-after($path, '\'))) ">
<!--DO STUFF1() -->
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="xxx">
<xsl:with-param name="$path" select="substring-after($path, '\')"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
ASKER
ASKER
Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.
TRUSTED BY
ASKER
c:\window\temp or
\server\temp
hence the conditional processing