On Tue, 2004-06-29 at 18:17, Colin Paul Adams wrote: > >>>>> "Bruno" == Bruno Dumon <[EMAIL PROTECTED]> writes: > > Bruno> How will you do this, generate all elements with > Bruno> xsl:element? > > Yes. > At least, only those whose parent is not an html/xhtml element.
So the namespace of an element made using xsl:element is inherited by literally-defined elements? > > Bruno> I wonder if that won't slow it down too > Bruno> much... (besides reducing readability). > > It isn't much less readable, and I doubt if anyone will notice the > performance difference - I think it will be very small. Let's hope so :-) > > Bruno> Alternatively, wouldn't it be possible to transform the > Bruno> html XSLs using XSL to an XHTML equivalent? > > Probably. You are suggesting that this should be done as a cocoon > build-time task? I'm not suggesting anything, it could be a possibility. But I'm also fine with your approach, as long as my concerns aren't true. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED]
