amiro 2002/07/25 08:22:26
Modified: java/xdocs/sources/xalan xsltc_constraints.xml
Log:
fix typo, java for Java in doc on xsltc and external java functions
Revision Changes Path
1.36 +6 -6 xml-xalan/java/xdocs/sources/xalan/xsltc_constraints.xml
Index: xsltc_constraints.xml
===================================================================
RCS file: /home/cvs/xml-xalan/java/xdocs/sources/xalan/xsltc_constraints.xml,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- xsltc_constraints.xml 29 Jun 2002 13:01:24 -0000 1.35
+++ xsltc_constraints.xml 25 Jul 2002 15:22:25 -0000 1.36
@@ -35,19 +35,19 @@
<ul>
<li><em>Calling external Java methods from a Translet.</em><br/>
At the time of writing, only static methods are supported. A call to a
function
- whose namespace is either
<code><http://xml.apache.org/xslt/Java</code>
- or <code><http://xml.apache.org/xalan/xsltc/Java</code>
+ whose namespace is either
<code><http://xml.apache.org/xslt/java</code>
+ or <code><http://xml.apache.org/xalan/xsltc/java</code>
is resolved by loading the appropriate class and calling a static method
that
matches the signature of the function. The class can be specified as
part
of the namespace URI or as part of the function call as shown in the
following
example:<br/>
<source> <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- xmlns:Java="http://xml.apache.org/xslt/Java"
-
xmlns:Java-system="http://xml.apache.org/xslt/Java/java.lang.System">
+ xmlns:java="http://xml.apache.org/xslt/java"
+
xmlns:java-system="http://xml.apache.org/xslt/java/java.lang.System">
<xsl:template match="/">
- <xsl:value-of
select="Java:java.lang.System.currentTimeMillis()"/>
- <xsl:value-of select="Java-system:currentTimeMillis()"/>
+ <xsl:value-of
select="java:java.lang.System.currentTimeMillis()"/>
+ <xsl:value-of select="java-system:currentTimeMillis()"/>
</xsl:template>
</xsl:stylesheet></source><br/></li>
<li><em>Result Tree Fragments as Node Sets</em><br/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]