Subject: RE: [xsl] Displaying Text Nodes From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Wed, 4 Mar 2009 20:52:39 -0000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Displaying Text Nodes, siarom egrub | Thread | RE: [xsl] Displaying Text Nodes, siarom egrub |
Re: [xsl] Displaying Text Nodes, siarom egrub | Date | RE: [xsl] Displaying Text Nodes, siarom egrub |
Month |