DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11166>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

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

TransformerConfigurationException  - With valid XSLT file





------- Additional Comments From [EMAIL PROTECTED]  2002-07-25 19:46 -------
Two possibilities.
 
1. You could simply pass the xsl you create as a text string 
   to the transformer as a stream source, like so:

   TransformerFactory fact= TransformerFactory.newInstance();
   StreamSource source = new SteamSource(
      new StringReader(text));
   mTransformer = fact.newTransformer(source);

2. The problem may be in using getDocumentElement(). You might try

   mTransformer = fact.newTransformer(new DOMSource(xslt);

Reply via email to