XSL-memo

Nodes and attributes (@tributes)

xml:
<moment mid="1"><name>foo</name></moment>
xsl:
//moment/name
//moment/@mid

if/then/else

<xsl:choose>
 <xsl:when test="mid = //values/mid">
  ...
 </xsl:when>
 <xsl:otherwise>
  ...
 </xsl:otherwise>
</xsl:choose>

http://www.dpawson.co.uk/xsl/sect2/N8090.html#d10871e79

comments powered by Disqus


Back to the index

Blog roll

R-bloggers, Debian Weekly
Valid XHTML 1.0 Strict [Valid RSS] Valid CSS! Emacs Muse Last modified: oktober 17, 2019