cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: One XML file -> multiple HTML
Date Mon, 24 Apr 2000 16:00:20 GMT
On Mon, 24 Apr 2000, tom stuart wrote:

> I've got my CV (resume) on my web site, and constantly updating the plain
> text, HTML and PDF versions of it is an ongoing nightmare. So, I want to
> redo the whole thing in XML/XSL. It would be nice to present a web
> interface for generating HTML, plain formatted text, PDF, raw source XML
> (you never know) and, say, some alternative HTML documents too (a summary
> version, or one with a different layout) from the same source XML content,
> just by requesting different URLs.
> 
> Or maybe you have a manual contained within one large XML file, and would
> like to generate one HTML page with just a generated contents list and
> another HTML page of the entire formatted manual.
> 
> Can you do this, without resorting to writing Java (and XSP if possible)?
> All of the complicated functionality is present (XML -[XSL]-> result XML
> -[formatter]-> HTML/PDF) but to make several copies of the XML file just
> for the purpose of putting different <?xml-stylesheet?> tags in each one
> seems to defy the whole point of separating the content.
> 
> What's the (official) solution?

Check out cocoon2 and the sitemap. you should be able to do the bulk of
what you're describing right now.

- donald


Mime
View raw message