IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

problem to transform xml and xslt to html

  • 1.  problem to transform xml and xslt to html

    Posted Sun February 18, 2007 11:06 PM

    Hi,
    I have a problem when I try to generate html from xml and xslt pages in Java code. I have to use the instruction and it doesn’t work:

    //ERROR in the under function “TransFact.newTransformer”
    Transformer trans = transFact.newTransformer(xsltSource);

    and appears the following error:


    ERROR: ‘Sintax Error in ‘rp210Elements:ClipCreationDateAndTime >> .’.’
    ERROR: ‘It could not compile the stylesheet’
    Exception in thread “main” javax.xml.transform.TransformerConfigurationException: No se ha podido compilar la hoja de estilos
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown Source)
    at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(Unknown Source)
    at test.exampleSimple1(test.java:51)
    at test.main(test.java:70)

    The java code is very simple and I don’t know what more to test.

    I need a solution as soon as possible because it’s urgent to deliver the java application.

    If someone sould help me I will be very grateful.

    NOTE: Have a look to the attached file. Files DVD.xml, FX.xslt, Report.xslt, Storyboard.xslt and the java code.

    Regards,
    Diego
    error.rar (21.1 KB)


    #webMethods-Tamino-XML-Server-APIs
    #webMethods
    #API-Management


  • 2.  RE: problem to transform xml and xslt to html