Strang result appear after I downgrade to xalan 2.5.1. The xml after woody transform 
is like:
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/TR/xhtml1/strict";>
 <head>
  <title>test</title>
  <link rel="stylesheet" href="../../../common/css/Generic.css"/>
  <script src="../../../common/js/Generic.js">
  </script>
  <script src="./Piwen.js">
  </script>
  <meta http-equiv="Pragma" content="no-cache"/>
 </head>
...
If I use xslt or xalan transform using woody-samples-styling.xsl,the html comes:

< xmlns="http://www.w3.org/TR/xhtml1/strict";>
 <>
  <>test</>
  < rel="stylesheet" href="../../../common/css/Generic.css"/>
  < src="../../../common/js/Generic.js">
  </>
  < src="./Piwen.js">
  </>
  
  < http-equiv="Pragma" content="no-cache"/>
 </>
See that?the tag dispear.
If I change the tranformer to xsltc,every thing back to normal.
This result won't change if I change  <xsl:include 
href="woody-advanced-field-styling.xsl"/> in woody-samples-styling.xsl to  
<xsl:include href="woody-field-styling.xsl"/>

Roy Huang

Reply via email to