greenrd 01/01/16 09:40:11
Modified: . changes.xml
src/org/apache/cocoon/processor/xsp xsp-java.xsl
Log:
commented out experimental stuff
Revision Changes Path
1.178 +4 -3 xml-cocoon/changes.xml
Index: changes.xml
===================================================================
RCS file: /home/cvs/xml-cocoon/changes.xml,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -r1.177 -r1.178
--- changes.xml 2001/01/16 15:50:26 1.177
+++ changes.xml 2001/01/16 17:40:11 1.178
@@ -4,7 +4,7 @@
<!--
History of Cocoon changes
- $Id: changes.xml,v 1.177 2001/01/16 15:50:26 greenrd Exp $
+ $Id: changes.xml,v 1.178 2001/01/16 17:40:11 greenrd Exp $
-->
<changes title="History of Changes">
@@ -25,9 +25,10 @@
now show up perfectly in all versions of Internet Explorer - as far as we
know!
</action>
<action dev="DB" type="add">
- Added experimental support for xsp:variable declaration and method
calling to util taglib.
+ Added EXPERIMENTAL support for xsp:variable declaration and code
generation to xsp core logicsheet,
+ and method calling to util taglib.
This is designed to automatically pass through required environment
variables such
- as xspCurrentNode.
+ as xspCurrentNode. Need to uncomment the templates at the end of
xsp-java.xsl to use this.
</action>
<action dev="DB" type="update">
In esql, encoding is now an element not an attribute, to allow passthru.
1.26 +8 -4
xml-cocoon/src/org/apache/cocoon/processor/xsp/xsp-java.xsl
Index: xsp-java.xsl
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/processor/xsp/xsp-java.xsl,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- xsp-java.xsl 2001/01/16 06:59:39 1.25
+++ xsp-java.xsl 2001/01/16 17:40:11 1.26
@@ -319,11 +319,12 @@
</xsl:choose>
</xsl:template>
+ <!-- *** Dynamic Tag Support - EXPERIMENTAL AND UNOFFICIAL - uncomment to
use
<xsl:template match="xsp:variable"/>
+ -->
- <!-- *** Dynamic Tag Support *** -->
-
- <!-- Expand dynamic tags to code -->
+ <!-- *** Dynamic Tag Support - EXPERIMENTAL AND UNOFFICIAL - uncomment to
use
+ Expand dynamic tags to code
<xsl:template name="expr-value" match="xsp:expr-value">
<xsl:choose>
<xsl:when test="name(*[1]) = 'xsp:expr'">
@@ -332,13 +333,16 @@
<xsl:otherwise>"<xsl:value-of select="."/>"</xsl:otherwise>
</xsl:choose>
</xsl:template>
+ -->
- <!-- Prolog declarations required to mix code and markup -->
+ <!-- *** Dynamic Tag Support - EXPERIMENTAL AND UNOFFICIAL - uncomment to
use
+ Prolog declarations required to mix code and markup
<xsl:template match="xsp:declare-node-stack">
Node xspParentNode = null;
Node xspCurrentNode = <xsl:value-of select="@node-argument"/>;
Stack xspNodeStack = new Stack();
Document document = <xsl:value-of
select="@node-argument"/>.getOwnerDocument();
</xsl:template>
+ -->
</xsl:stylesheet>