[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Displaying Text Nodes


Subject: RE: [xsl] Displaying Text Nodes
From: siarom egrub <egrubs@xxxxxxxxx>
Date: Wed, 4 Mar 2009 13:08:17 -0800 (PST)

Okay, that does it.

Thank you very much.

S.Egrub

--- On Wed, 3/4/09, Michael Kay <mike@xxxxxxxxxxxx> wrote:

> From: Michael Kay <mike@xxxxxxxxxxxx>
> Subject: RE: [xsl] Displaying Text Nodes
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxx]
>
> > Sent: 04 March 2009 20:40
> > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > 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@xxxxxxxxx>
> wrote:
> >
> > > From: Christopher R. Maden <crism@xxxxxxxxx>
> > > Subject: Re: [xsl] Displaying Text Nodes
> > > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> > > 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
> > >
> > >
> >
> >
> >       


Current Thread