Søg etter node
HeiJeg er nybegynner i XSLT så kan noen hjelpe meg med bruke $foo istedenfor /displaying her, eg. $translations/$foo
<xsl:variable name="fob" select="'displaying'"/>
<xsl:value-of select="$translations/displaying" />
eg. full kode
<?xml version="1.0"?>
<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="languageArticle.xsl (kopi)"/>
<xsl:variable name="language" select="/site/language"/>
<xsl:output method="html"/>
<xsl:template match="/">
<xsl:for-each select="/verticaldata/contents/content">
<xsl:value-of select="name()"/><br/>
<xsl:variable name="fob" select="'displaying'"/>
<xsl:value-of select="$translations/displaying" />
<hr/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>