Subject: Re: Re: Designs for XSLT functions (Was: Re: RE: syntax sugar for call-template)
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Tue, 20 Feb 2001 18:31:21 +0000
|
Mike Kay wrote:
> Just an observation: The XSLT 1.1 WD doesn't allow an <exsl:function>
> element to appear inside <sxl:script>, but does allow it at the top level.
> <xsl:script> is declared as #PCDATA.
Well that wasn't very foresightful of the WG, was it?!? ;)
I know. We can still use xsl:script if we just wrap all the
exsl:function elements and so on inside a CDATA section! Problem
solved :)
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|