On 30 okt 2008, at 04.36, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]
> wrote:
Hi,
I am running Oxygen9.3. I am trying to use an XSLT 2.0 function
"lower-case()". For some reason the XLST doesn't recognise this
function. I
get the error:
SystemID: G:\asdd\work\dif2anzlic\DIF-ISO-ANZLIC.xsl
Location: 1378:0
Description: Error in expression lower-case(.): Unknown system
function:
lower-case
I don't understand why this is not working. I have set my
preferences to use
Saxon-B 9.0.0.6 for XSLT 2.0 Validation. Is there some other
setting that I
need to make?
Check what xslt transformer is used for the actual transformation.
As far as I know, it's Saxon 6.5 , (which is an xslt 1.0 transformer)
by default.
A snippet of the XSL code is:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" ...
...
<xsl:for-each
select="dif:ISO_Topic_Category">
<gmd:topicCategory>
<gmd:MD_TopicCategoryCode>
<xsl:value-of select="lower-case(normalize-space(.))"/>
</gmd:MD_TopicCategoryCode>
</gmd:topicCategory>
</xsl:for-each>
...
Thanks.
John
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user
------
What is a woman that you forsake her, and the hearth fire and the home
acre,
to go with the old grey Widow Maker. --Kipling, harp song of the Dane
women
Tommy Nordgren
[EMAIL PROTECTED]
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user