Except that I can't seem to make it work =/
This:
## -----------------------------------------------------
## D E F A U L T C O P Y
## -----------------------------------------------------
#match( "text()" )
$node.value()
#end
#match( "*" )
<$node.name()
#foreach ( $attr in $node.selectNodes( "@*" ) )
${attr.name()}="${attr.value()}"
#end
>
$context.applyTemplates("*")
</$node.name()>
#end
Does not seem to produce any text nodes =/
Any DVSL hackuh wanna help out? Pete?
-- jt
On Mon, 2002-06-10 at 22:13, Matt Ho wrote:
> That would work for me. How do we go about getting this change put in?
>
> M
>
> > -----Original Message-----
> > From: James Taylor [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, June 10, 2002 11:44 AM
> > To: Turbine Maven Developers List
> > Subject: Re: proposed change to stylesheets/site.dvsl
> >
> > 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:turbine-maven-dev-
> > [EMAIL PROTECTED]>
> > > For additional commands, e-mail: <mailto:turbine-maven-dev-
> > [EMAIL PROTECTED]>
> > >
> > >
> >
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:turbine-maven-dev-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-maven-dev-
> > [EMAIL PROTECTED]>
>
>
> --
> 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]>