How about something like this for the default element case (which I
think is incredibly ugly but it does give a fair approximation of
xsl:copy)
#match( "*" )
<$node.name()
#foreach ( $attr in $node.selectNodes( "@*" ) )
${attr.name()}="${attr.value()}"
#end
>
$context.applyTemplates()
</$node.name()>
#end
On Mon, 2002-06-10 at 13:37, Matt Ho wrote:
> Heya,
>
> I'd like to propose the following lines be added to
> stylesheets/site.dvsl
>
>
> #match("ol")
> <ol>
> $context.applyTemplates("*")
> </ol>
> #end
>
> #match("ul")
> <ul>
> $context.applyTemplates("*")
> </ul>
> #end
>
>
> This will enable developers to insert other tags such as source in the
> middle of a list so that developers could, for example provide source
> snippets in the middle of a getting started list.
>
>
> M
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>