> -----Original Message-----
> From: Gav.... [mailto:[EMAIL PROTECTED]
> Sent: Sunday, 4 March 2007 4:56 PM
> To: dev@forrest.apache.org
> Subject: RE: [jira] Commented: (FOR-811) shine and polish the pelt theme
> so that it closely resembles the pelt skin
> 
> 
> 
> > -----Original Message-----
> > From: Gav.... [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, 4 March 2007 3:59 PM
> > To: dev@forrest.apache.org
> > Subject: RE: [jira] Commented: (FOR-811) shine and polish the pelt theme
> > so that it closely resembles the pelt skin
> >
> <snip>
> >
> > 2. Font resize facility is missing from Pelt Theme, there is an inline
> > comment about it not working with Pelt Theme, so need to look at it.
> >
> 
> Cocoon is complaining about not being able to find the variable 'root'
> 
> In the branding-fontsize.ft we have :-
> 
> <script type="text/javascript"
> src="{$root}themes/fontsize.js">&#160;</script>
> 
> But '$root' is not declared anywhere in the file, where is it supposed to
> be
> Getting it from?
> 
> (I notice other files declare it earlier on like
> <xsl:variable name="root"
> select="$defaultVariables/*/[EMAIL PROTECTED]'root']/@value"/>
> Which I tried without success)
> 
> Gav...

I have :-

<xsl:param name="defaultVariables" select="'test.html'"/>
<xsl:variable name="root"
select="$defaultVariables/*/[EMAIL PROTECTED]'root']/@value"/>
                          <xsl:template name="branding-fontsize-head">
                      <script type="text/javascript"
        
src="{$root}themes/fontsize.js">&#160;</script>

I may be going the wrong way about this, but I'm looking at other files for
clues.

Can someone talk me through this.

<xsl:param name="defaultVariables" select="'test.html'"/>

Why 'test.html' , and where is this file, I found a 'test1.html' in
src/documentation.

select="$defaultVariables/*/[EMAIL PROTECTED]'root']/@value"/>

How and what does this resolve to.

The above answers may explain but

src="{$root}themes/fontsize.js">&#160;</script>

how does that end up being /themes/pelt/js/fontsize.js

Thanks

Gav...