3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
4 xmlns:dsl="http://www.decisionsoft.com/website"
5 xmlns:html="http://www.w3.org/1999/xhtml"
6 xmlns:layout="http://www.decisionsoft.com/website-layout"
7 xmlns="http://www.w3.org/1999/xhtml">
9 <xsl:variable name="myPath" select="/dsl:page/@path" />
10 <xsl:variable name="layout" select="document('../docs/bug158.doc')"/>
11 <xsl:variable name="root"><xsl:value-of select="$layout//layout:page[@path=$myPath]" />
14 <xsl:template match="/">
15 myPath is <xsl:value-of select="$myPath" />
16 root is <xsl:value-of select="$root" />