KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
What is the difference between two given below codes? Both codes checks whether an attribute exists in a tag or not: <xsl:choose> <xsl:when test="string-length(DBE:Attribute[@name='s0SelectedSite']/node()) > 0"> <table> ... </table> </xsl:when> <xsl:otherwise> <table> ... </table> </xsl:otherwise> </xsl:choose> and <xsl:if test="@Col1-AllocValue"> <xsl:copy-of select="@Col1-AllocValue"/> </xsl:if>
Tags (comma-separated)
Save Edits
Cancel