Subject: Re: [xsl] Normalizing space / XPTY0004 From: Syd Bauman <s.bauman@xxxxxxx> Date: Tue, 30 Jul 2013 16:14:31 -0400 |
> >Is there some reason not to use > > <xsl:template match="Paragraph[@stylename = 'Body']"> > > <xsl:apply-templates select="./TextRun/Text/@value"/> > > </xsl:template> > >? > > Not that I can see ... though the "./" is redundant. Right. Good point. I was just copying from the OP -- all I did was s/value-of/apply-templates/;. :-) > What led you to believe this was verboten? Only that Gerrit and Michael had raised other solutions that, IMHO, seem a little less XSLT-ish. So I thought maybe there was some "gotcha" I had overlooked. Thanks, Ken! -- Syd Bauman, EMT-Paramedic Senior XML Programmer/Analyst Northeastern University Women Writers Project Syd_Bauman@xxxxxxxxxxxxxxxx N.B.: New e-mail address is s.bauman@xxxxxxx
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Normalizing space / XPTY0, G. Ken Holman | Thread | Re: [xsl] Normalizing space / XPTY0, Imsieke, Gerrit, le- |
Re: [xsl] best boolean practice, Wolfgang Laun | Date | Re: [xsl] Normalizing space / XPTY0, Imsieke, Gerrit, le- |
Month |