[opencms-dev] Uploading an old system
M Butcher
mbutcher at grcomputing.net
Fri Jan 23 19:01:01 CET 2004
If you want to translate all of the XML _before_ loading them, you could
use a XSLT converter. On UNIX/Linux, xsltproc would do the trick.
Something like this would do the trick.
for file in *.xml;do
xsltproc -o $file.html $file mystyle.xsl
done
However, if you wanted to do the XSL transformation inside of OpenCms
(via a JSP template or something), that should work as well. You may
want to look at writing a module specifically for that task,as I would
imagine you could get a lot of reuse out of it. Also, you could
implement a lot of it in Java and (if you were really ambitious) write a
taglib to make things _really_ easy.
Matt
Barák Tamás wrote:
> Hi!
>
> I'm a newbie in OpenCms, and I have a very big
> problem. I'm working on an existing project and I want
> to put this into the OpenCms system. But, it contains
> a lot of xml and one xslt files. So my problem is that
> I want to transform all of my xml files with that xslt
> file, like a template. I thought about the Xalan and a
> jsp-template, but I need some help. Can somebody help
> me?
>
> Tamas
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!
> http://webhosting.yahoo.com/ps/sb/
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list