ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XSL transformation error

Post new topic  Reply to topic
 XSL transformation error « View previous topic :: View next topic » 
Author Message
Suresh Gupta
PostPosted: Mon Aug 04, 2008 6:30 am    Post subject: XSL transformation error Reply with quote

Apprentice

Joined: 29 Jun 2005
Posts: 46
Location: India

Hi I have placed a compute node before XSL transform node for XML mapping, but I am not passing any XML to this XSL node , I am taking the I/P XML using the function "document" like
<xsl:for-each select="document('sample.xml')/Root/Elements/Element" >

XSL alone is working fine, but If i used this XSL in the XSLT node it is not working, it is throwing transformation error like

Text = Transformation failure when processing Stylesheet deployed:./XC02map2.xsl\r\nERROR: 'Content is not allowed in prolog.'\r\nERROR: 'org.apache.xml.utils.WrappedRuntimeException: Content is not allowed in prolog.'\r\n\r\njavax.xml.transform.TransformerException: javax.xml.transform.TransformerException: org.apache.xml.utils.WrappedRuntimeException: Content is not allowed in prolog.\r\n\tat org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:612)\r\n\tat org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:282)\r\n\tat com.ibm.xsl.exmlt.ParseFacilitator.parseXmlStylesheet(ParseFacilitator.java:668)\r\n\tat com.ibm.xsl.exmlt.ParseFacilitator.parse(ParseFacilitator.java:253)\r\n\tat com.ibm.xsl.exmlt.EnhancedXMLTransform.transformWithStylesheet(EnhancedXMLTransform.java:801)\r\n\tat com.ibm.xsl.exmlt.EnhancedXMLTransform.transformDocument(EnhancedXMLTransform.java:734)\r\n\tat com.ibm.xsl.mqsi.XMLTransformData.transformData(XMLTransformData.java:734)\r\n\tat com.ibm.xsl.mqsi.XMLTransformNode.evaluate(XMLTransformNode.java:940)\r\n\tat com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1222)\r\nCaused by: javax.xml.transform.TransformerException: org.apache.xml.utils.WrappedRuntimeException: Content is not allowed in prolog.\r\n\tat org.apache.xalan.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:464)\r\n\tat org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:602)\r\n\t... 8 more\r\nCaused by: org.apache.xml.utils.WrappedRuntimeException: Content is not allowed in prolog.\r\n\tat org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:393)\r\n\tat org.apache.xalan.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:228)\r\n\tat org.apache.xalan.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:442)\r\n\t... 9 more\r\n


can I pass XML i/p using documnet function in XSLT node ,please advice ,
_________________
regards,
Suresh
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » XSL transformation error
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.