XPath find if node exists
Using a XPath query how do you find if a node (tag) exists at all? For example if I needed to make sure a website page has the correct basic structure like /html/body and /html/head/title. 6 Answers 6
Using a XPath query how do you find if a node (tag) exists at all? For example if I needed to make sure a website page has the correct basic structure like /html/body and /html/head/title. 6 Answers 6
I want to produce a newline for text output in XSLT. Any ideas? 13 Answers 13
How can I insert Into an XSLT stylesheet, I keep getting this error: XML Parsing Error: undefined entity Essentially I want a non breaking space character in the XSLT Template. 12 Answers 12
How can I check if a value is null or empty with XSL? For example, if categoryName is empty? I’m using a when choosing construct. For example: <xsl:choose> <xsl:when test=”categoryName !=null”> <xsl:value-of select=”categoryName ” /> </xsl:when> <xsl:otherwise> <xsl:value-of select=”other” /> </xsl:otherwise> </xsl:choose> 14 Answers 14