Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-1015

Build stylesheet from a DOM Element node?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 2.3Dx
    • None
    • None
    • Operating System: Linux
      Platform: PC
    • 9146

    Description

      DOMSource xslds=new DOMSource(rootnode);
      //where rootnode=<xsl:stylesheet>node in .xsl file
      tFacotory.newTransformer(xslds);
      transformer.transform(xmlds,strres);
      //where xmlds=xml dom source.

      i get the error that
      TranformerConfigurationException,TransformerException,ArrayIndexOutOfBoundsException.(but
      when i directly load .xsl file in DomSource the XML-XSL transformation takes
      place correctly)

      Only when i load <xsl:stylesheet> node as xsl dom source node then i get this
      error.

      please help me out.

      Attachments

        Activity

          People

            ilene@ca.ibm.com Ilene Seelemann
            prashant_k_patil@yahoo.com Prashant
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: