PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2925

*** shadow/2925 Tue Jul 31 10:08:16 2001
--- shadow/2925.tmp.15827       Tue Jul 31 11:56:01 2001
***************
*** 36,38 ****
--- 36,58 ----
  ------- Additional Comments From [EMAIL PROTECTED]  2001-07-31 10:08 -------
  Created an attachment (id=376)
  The Program
+ 
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-07-31 11:56 -------
+ John --
+ 
+ The solution with the current code is to replace
+   m_Transformer.setParameter("stylesheets",e);
+ with
+   DTMManager dtmM = ((TransformerImpl) m_Transformer).getXPathContext();
+   XNodeSet xns = new XNodeSet(dtmM.getDTMHandleFromNode(e), dtmM);
+   m_Transformer.setParameter("stylesheets", xns);
+ 
+ For this, you'll need to add the following imports:
+   import org.apache.xpath.objects.XNodeSet;
+   import org.apache.xml.dtm.DTMManager;
+   import org.apache.xalan.transformer.TransformerImpl;
+ 
+ Please see my followup message to Scott regarding some of these issues.
+ 
+ Gary

Reply via email to