[thelist] Simple XPath question

fstorr fffrancis at fstorr.demon.co.uk
Mon Nov 10 17:32:19 CST 2003


Hi all

How do I get hold of this <emp>element</emp> in this code:

<para>
Please note that company toilets are now <emp>strictly out of 
bounds</emp> for fishing expeditions.
</para>

I can transform the para element fine, but can't seem to get that <emp> 
to be styled inline with its surrounding <para> content.

The whole thing is wrapped in:

<article>
   <title>Some title here</title>
     <content>
	<para>
Please note that company toilets are now <emp>strictly out of 
bounds</emp> for fishing expeditions.
	</para>
      </content>
</article>

I'm transforming the para with:

<xsl:template match="para">
	<p><xsl:value-of select="."/></p>
</xsl:template>

Help!

Thanks

Francis





More information about the thelist mailing list