Is xml-apis.jar included in your build?  I had to add the following
jars to
an appengine app that used various xml operations.


       <dependency>
            <groupId>org.apache.xerces</groupId>
            <artifactId>xml-apis</artifactId>
            <version>2.9.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.xerces</groupId>
            <artifactId>xercesImpl</artifactId>
            <version>2.9.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.xerces</groupId>
            <artifactId>resolver</artifactId>
            <version>2.9.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.xerces</groupId>
            <artifactId>serializer</artifactId>
            <version>2.9.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.xalan</groupId>
            <artifactId>xalan</artifactId>
            <version>2.7.1</version>
        </dependency>

Here's the TransformerFactory constructor:


javax.xml.transform.TransformerFactory tfactory
                =
javax.xml.transform.TransformerFactory.newInstance("org.apache.xalan.processor.TransformerFactoryImpl",
                this.getClass().getClassLoader() );

            Transformer transformer =
tfactory.newInstance().newTransformer();
            transformer.setOutputProperty(OutputKeys.METHOD, "xml");
 
transformer.setOutputProperty(OutputKeys.ENCODING,"UTF-8");
            StringWriter output = new StringWriter();
            transformer.transform(new DOMSource(doc), new
StreamResult(output));
            sb.append(output.toString());




On Apr 27, 10:23 pm, 朴乾斌 <parkyoo...@gmail.com> wrote:
> I success to integrate struts2 in GAE . And can execute program in normal
> condition. But when i try use xslt result type . The error come out.
> javax.xml.transform.TransformerOncfigurationException: Could not compile
> stylesheet
> is there have any solution?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to