xsl-list
[Top] [All Lists]

RE: [xsl] Displaying Text Nodes

2009-03-04 16:09:12

Okay, that does it. 

Thank you very much.

S.Egrub

--- On Wed, 3/4/09, Michael Kay <mike(_at_)saxonica(_dot_)com> wrote:

From: Michael Kay <mike(_at_)saxonica(_dot_)com>
Subject: RE: [xsl] Displaying Text Nodes
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Date: Wednesday, March 4, 2009, 3:52 PM
Actually, I think you want

<xsl:apply-templates
select="node()[not(preceding-sibling::br)] "/> 

That will then apply-templates to the text nodes and also
to the
<superscript> element; the template rule for the
superscript element will
presumably take care of displaying the text within this
element.

Michael Kay
http://www.saxonica.com/

-----Original Message-----
From: siarom egrub [mailto:egrubs(_at_)yahoo(_dot_)com]

Sent: 04 March 2009 20:40
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Displaying Text Nodes


Thank you very much for your help and response. For
some 
reason the text/character within <superscript>
doesn't display.

Current output: Access Ultrasensitive ESTRADIOL QC 

Required Output: Access® Ultrasensitive ESTRADIOL QC

Thanks again,
S. Egrub

--- On Wed, 3/4/09, Christopher R. Maden <crism(_at_)maden(_dot_)org>
wrote:

From: Christopher R. Maden <crism(_at_)maden(_dot_)org>
Subject: Re: [xsl] Displaying Text Nodes
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Date: Wednesday, March 4, 2009, 3:10 PM I wrote:
Use <xsl:apply-templates/> instead.

I realized as soon as I hit Send that this is
ambiguous.  I 
meant to 
use the apply-templates instruction with the same
select
pattern:

<xsl:apply-templates
select="text()[not(preceding-sibling::br)]
"/>

~Chris




--~------------------------------------------------------------------
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>
--~--




       



--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--







--~------------------------------------------------------------------
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>