On Tuesday 09 September 2008 16:19:19 David Carlisle wrote:
> It's probably OK to refactor it, although normally in xslt it shouldn't
> really be necessary, if you xsl:import cd2html.xsl into your own
> stylehseet then you can overide any templates as the templates in your
> stylesheet have higher import precedence.

Sure, I'm already xsl:importing it, but still I wouldn't be able to reuse
large parts of cd2html.xsl.  E.g., the template matching <CD/> contains a lot
of code, part of which I'd like to reuse.  And if I reimplement many features
of cd2html.xsl in my own, slightly different way, any update of the XSLT for a
newer OpenMath version would be harder to maintain, as both of us would have
to do more work.

So I'll do the refactoring and test it carefully by regenerating the XHTML
files.

Cheers,

Christoph

-- 
Christoph Lange, DERI Galway/Jacobs Univ. Bremen, http://kwarc.info/clange

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Om3 mailing list
[email protected]
http://openmath.org/mailman/listinfo/om3

Reply via email to