forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <>
Subject Re: Howto V 2.0 transform
Date Fri, 15 Apr 2005 05:18:08 GMT
Mark Eggers wrote:
> After being away from using Forrest for a while, I decided to give it
> another shot.
> I am working on creating a large How To site, and hence my interest in
> the How To DTD.
> I noticed that the FAQ section of the How To V 2.0 DTD wasn't getting
> translated using the seeded site.
> I did some digging around in $FORREST_HOME/main/webapp and
> $FORREST_HOME/main/webapp/resources/stylesheets
> I made a slight modification of forrest.xmap, and added a new stylesheet
> in $FORREST_HOME/main/webapp/resources/stylesheets

Hey, that was a clever way to demonstrate a fix,
to tweak the sitemap to call a copy of the xsl.

However, if you are using svn, then you could just change
the actual file and send the 'svn diff'.

> This fixes the FAQ section of the How To V 2.0 DTD, but it's still a bit
> ugly.  In particular it doesn't copy over all the attributes, and the ID
> generation for the TOC is not nice (being taken from the question or
> faqsection title).
> If people are interested I can submit it to JIRA for comment and review.

I looked at your stuff at FOR-479 and decided to
just commit it. Now everyone can review and help.

> I'm primarily a systems person, so I have no idea about how well this
> solution really works.

I don't profess to know either. I tested it on our
Forrest How-To docs and it works, so it is committed.


View raw message