Subject: Re: Problem with xslfo
From: meenakshi n <mina_hurray@xxxxxxxxx>
Date: Wed, 11 Oct 2006 09:53:39 -0700 (PDT)
|
Thanks David. I tried this, but what is happening now
is that all the Note elements in the entire document
now appear right above level1.
--- David Carlisle <davidc@xxxxxxxxx> wrote:
>
> Something like this
> first have a template for notes that does nothing
> <xsl:template match="note"/>
> then when you apply temnplates to your input you
> will get
> 1.Some text here
> 2.Some text
> Then before applyying templates you wnat to process
> all notes so
>
> <xsl:template match="root">
> <xsl:for-each select=".//note">
> Note: <xsl:apply-templates/>
> </xsl:for-each>
> <xsl:apply-templates/>
> </xsl:template>
>
> David
>
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
|