I have the following:
 
        <xsl:variable name="product-page">
          <xsl:value-of select="document($product-page-filename)" />
        </xsl:variable>
 
        <xsl:variable name="title">
          <xsl:value-of select="$product-page/html/head/title" />
        </xsl:variable>
 
This seems not to work (the "title" variable remains empty").
 
While, this does work -
 
        <xsl:variable name="product-page">
          <xsl:value-of select="document($product-page-filename)" />
        </xsl:variable>
 
        <xsl:variable name="title">
          <xsl:value-of select="document($product-page-filename)/html/head/title" />
        </xsl:variable>
 
Is that a bug, or a feature? :-)
 
Gil Tayar
Chief Technology Officer
WebCollage
Business: (212) 563 2643
Mobile: (917) 509 9663