Changeset 1620

Show
Ignore:
Timestamp:
06/09/08 18:40:40 (3 months ago)
Author:
mikey
Message:

make lang and base lang available at runtime
whitespace fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/resources/xsl/stub.xsl

    r1619 r1620  
    77    exclude-result-prefixes="php xi ixsl stub"> 
    88 
    9   <xsl:strip-space elements="stub:link" /> 
     9  <xsl:strip-space elements="stub:link"/> 
    1010   
    1111  <xsl:template match="stub:document"> 
    1212    <ixsl:stylesheet version="1.0" exclude-result-prefixes="ixsl"> 
    1313      <ixsl:output> 
    14         <xsl:copy-of select="@method" /> 
    15         <xsl:copy-of select="@omit-xml-declaration" /> 
    16         <xsl:copy-of select="@doctype-public" /> 
    17         <xsl:copy-of select="@doctype-system" /> 
     14        <xsl:copy-of select="@method"/> 
     15        <xsl:copy-of select="@omit-xml-declaration"/> 
     16        <xsl:copy-of select="@doctype-public"/> 
     17        <xsl:copy-of select="@doctype-system"/> 
    1818      </ixsl:output> 
    19       <ixsl:variable name="page" select="/document/@page" /> 
    20       <ixsl:variable name="__acceptsCookies" select="/document/session/acceptsCookies/text()" /> 
    21       <ixsl:variable name="__sessid" select="/document/session/id" /> 
    22       <ixsl:variable name="__sessname" select="/document/session/name" /> 
     19      <ixsl:variable name="page" select="/document/@page"/> 
     20      <ixsl:variable name="__acceptsCookies" select="/document/session/acceptsCookies/text()"/> 
     21      <ixsl:variable name="__sessid" select="/document/session/id"/> 
     22      <ixsl:variable name="__sessname" select="/document/session/name"/> 
     23      <ixsl:variable name="__lang"><xsl:value-of select="$lang"/></ixsl:variable> 
     24      <ixsl:variable name="__lang_base"><xsl:value-of select="$lang_base"/></ixsl:variable> 
    2325      <ixsl:template match="/"> 
    2426        <xsl:apply-templates select="node()"/>