You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2001/01/26 16:51:46 UTC
cvs commit: xml-xalan/test/tests/conf/output output63.xsl
dmarston 01/01/26 07:51:46
Modified: test/tests/conf/output output63.xsl
Log:
Add more HTML elements to the test
Revision Changes Path
1.3 +15 -3 xml-xalan/test/tests/conf/output/output63.xsl
Index: output63.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/output/output63.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- output63.xsl 2000/12/19 22:54:08 1.2
+++ output63.xsl 2001/01/26 15:51:46 1.3
@@ -1,6 +1,7 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:jsp="http://www.w3.org/jsp"
+ xmlns="http://www.w3.org/TR/REC-html40"
exclude-result-prefixes="jsp">
<!-- FileName: OUTP63 -->
@@ -11,14 +12,25 @@
differently from the xml output method unless the
expanded-name of the element has a null namespace URI; an
element whose expanded-name has a non-null namespace URI
- should be output as XML. -->
+ should be output as XML. So the html tags <p>, <hr> and
+ <br> in this case, due to the default html namespace will
+ be output as xml not html. -->
+ <!-- Creator: Paul Dick -->
<xsl:output method="html"/>
<xsl:template match="/">
- <root>
+ <HTML>
<jsp:setProperty name="blah" property="blah" value="blah"/>
- </root>
+ <P></P>
+ <p/>
+ <P/>
+ <hr size="8"></hr>
+ <hr size="8"/>
+ <br/>
+ <br>
+ </br>
+ </HTML>
</xsl:template>
</xsl:stylesheet>