I would expected that the stylesheet below would tag the
contents of the element "Date" with <b> and </b>, but it doesn't,
at least not with xsltproc. It just passes the content through
unchanged.
I've also tried diffent permutations of upper and lower case.
What have I missed?
-Lars
Stylesheet:
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output omit-xml-declaration="yes"
method="xml" media-type="text/xml" encoding="utf-8" />
<xsl:template match="Date">
<b> <xsl:apply-templates/> </b>
</xsl:template>
</xsl:stylesheet>
Data:
<?xml version="1.0" encoding="UTF-8" ?>
<FMPDSORESULT xmlns="http://www.filemaker.com/fmpdsoresult">
<ROW MODID="3" RECORDID="38">
<Article_Titles.Title>
<DATA>Texan city</DATA>
</Article_Titles.Title>
<Date>2003-12-22</Date>
<Article_Quotes.Quote>
<DATA>The city is about three months</DATA>
</Article_Quotes.Quote>
</ROW>
</FMPDSORESULT>
--
Lars
"Chances are that patents on software ... in fact stifle
innovation. Europe could still alter course"
http://www.nosoftwarepatents.com/en/m/intro/