mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-11-06 23:49:25 +03:00
libxslt/transform.c libxslt/functions.c: Added the extension API suggested by Thomas Broyer, this should allow implementation of EXSLT for example. - libxslt/extra.[ch]: added a fake xsltFunctionLocalTime() in Norm's CVS extension namespace to avoid complaints, some cleanup - configure.in tests/Makefile.am tests/extensions/*: added a test for new modules testing both elements and functions registration Daniel
13 lines
444 B
XML
13 lines
444 B
XML
<?xml version='1.0'?>
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:libxslt="http://xmlsoft.org/XSLT/"
|
|
xmlns:test="http://xmlsoft.org/XSLT/"
|
|
xsl:extension-element-prefixes="libxslt test"
|
|
version='1.0'>
|
|
<!-- the prefix is registered twice to check single initialization -->
|
|
<xsl:template match="/">
|
|
<libxslt:test/>
|
|
<xsl:value-of select="libxslt:test('SUCCESS')"/>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|