xsl-list
[Top] [All Lists]

Re: [xsl] Problem with xslfo

2006-10-13 12:56:19
Hi
This problem has been resolved. Thank yo all for your
help.

--- meenakshi n <mina_hurray(_at_)yahoo(_dot_)com> wrote:

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(_at_)nag(_dot_)co(_dot_)uk> 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





--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:

<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 


--~------------------------------------------------------------------
XSL-List info and archive: 
http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to:
http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>