Facing one weird issue during our XSLT processing. We are using XSLT in Oracle Service Bus, so not sure of the kind of XSLT processor/parser being used in this case.
Our case, XSLT is used to remove the namespaces from the input XML. For one of the XML structure, we are getting the following error.
javax.xml.transform.TransformerException:com.sun.o rg.apache.xml.internal.utils.WrappedRuntimeExcepti on:Content is not Allowed in
I verified that there are no extra contents in prolog. But the entire XML is tab indented. The following is the structure of the XML. When i remove one of the tab for <element1> XSLT is working fine as expected.
and so on...3 tabs for all other elements.
Any insights into this issue? and How can we removed the tabs in the input xml using XSLT(1.0)?
Thanks & Regards
Toyota TÃ¢n Cảng