AnsweredAssumed Answered

Run a simple XSL transform?

Question asked by randomman on Sep 20, 2007
Latest reply on Oct 1, 2007 by gavinc
The quick question: What's the best way to run an XSL transform on an xml document held in the repository?

A bit of background…

My aim is to create a fully automated Word to xhtml transformation. I'm not worried about images and the one to many nature of that transform as I'm using it as a mark-up helper tool.

So far, I've got a word file going into Alfresco and xhtml being created. I also have an XSLT file that can transform auto-created xhtml into xhtml i'm happy with. Now I just need to fill in that missing link and run a transform inside Alfresco.

I was thinking I could run a script on the file as part of a content rule, but after taking another look at the Javascript API, it's looking like I can only use a FreeMarker template and not XSL.

Any thoughts, anyone?

Outcomes