, , , ,

Using Standard functions in XSLT Oracle XDK.

четверг, 18 ноября 2010 г. Оставить комментарий

Continue to consider new features xsl-transformer in Oracle XDK.
Now let's talk about the Standard functions.

Standard functions appeared in 2 versions XSLT, so the version = "2.0" is necessary to specify the header of XSLT.


select ora_20000_xmlutility.XMLTransformClob
(xml_sample.xmltext,
q'~<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fn="http://www.w3.org/2005/xpath-functions">

<xsl:template match="/">
<xsl:value-of select="fn:upper-case('Function plig-in.')"/>
</xsl:template>
</xsl:stylesheet>
~' )
from xml_sample;

Result:



<?xml version = '1.0' encoding = 'UTF-8'?>
FUNCTION PLIG-IN.

Additional links:


0 коммент. »

Оставьте Ваш комментарий