forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EMMEL Thomas <thomas.em...@3ds.com>
Subject Re: plugin: output.pdf: <a> not resolved in helper-commonElements.xsl, bug or feature?
Date Thu, 26 Feb 2009 16:39:47 GMT
Ross Gardler schrieb:
>
> 2009/2/26 EMMEL Thomas <thomas.emmel@3ds.com>:
> > Hi,
> >
> > there is a line in
> >
> plugins/org.apache.forrest.plugin.output.pdf/resources/stylesheets/helper-commonElements.xsl
>
> > which I changed locally for me:
> >
> >
> > @@ -368,7 +368,7 @@
> >       <xsl:apply-templates/>
> >     </fo:block>
> >   </xsl:template>
> > -  <xsl:template match="link|fork|jump">
> > +  <xsl:template match="link|fork|jump|a">
> >     <xsl:variable name="color"
> >       select="$config/colors/color[@name = 'body']/@link"/>
> >     <xsl:choose>
> >
> > Is it a bug or feature that <a></a> is not supported here?
> >
> > If I add it, the links will be activated, however they might be not
> useful
> > in all cases yet when generating the wholesite.pdf, where
> > external links need to be changed to internal links...
>
> In theory it is "feature".
>
> Internally Forrest does not have the <a> element. Under what
> circumstances do you find a document containing an <a> gets processed
> by this stylesheet?
>
> Ross
>
> -- 
> -- 
> Ross Gardler
>
> OSS Watch - awareness and understanding of open source software
> development and use in education
> http://www.oss-watch.ac.uk
>
Confusion !!!!

<a> is the first element documented in the document-v20.dtd and is
therefore very valid element in forrest I think.

http://forrest.apache.org/dtdx/document-v20.dtdx.html#a

I use it everywhere I need a link since <link> and <fork> and <jump> are
not in the DTD...

Do I miss something?????

Thomas





Mime
View raw message