Search the Community
Showing results for tags 'choose'.
Hi folks, Would love to get some assistance with some basic XSLT coding for a template/choose or transform. I have the following XSLT coding which is used to essentially transform (replace) the subject line of an email which is generated by the system. This small section of text allows me to put in the company name to be used in the "Value of select" and this I can kind of follow. XSLT Template/Code <xsl:template match="@* | node()"> <xsl:copy> <xsl:apply-templates select="@* | node()"/> </xsl:copy> </xsl:template&g
I am trying to apply <href> links to only top root nodes of my tab navigation by testing for if they have child nodes. If they have children they should not get a link assigned to them, but I want all subsuquent parents (those in nested <ul> that have children) to have links. Here is the location of my test page: https://edit-www.rose-hulman.edu/offices-services/alumni-affairs-2.aspx You can see from the first tab dropdown the problem I am having. Under "Alumni Affairs", which has no link assigned to it, as it shouldn't, there is "Young Alumni Counsel" . This node needs to have a l
<xsl:variable name="test" select="'ohhi'"/><xsl:variable name="sections" select="/QUERY_MODULE/CRITERIA/SECTIONS"/> <xsl:variable name="sections3"> <xsl:choose> <xsl:when test="$test='ohhi'"><xsl:value-of select="$sections"/></xsl:when> <xsl:otherwise><xsl:value-of select="$sections"/></xsl:otherwise> </xsl:choose></xsl:variable> sections3 and sections should have the same results but they do not. obviously this is pointless code. the original code was not working, so i reduced it to isolate the problem.