Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 25th, 2013, 02:35 AM
Registered User
 
Join Date: Apr 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Issue with Tab Characters during XSLT Transformation

Hi,

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.

2tabs <RootElement>
2tabs <element1>
3tabs <element2>
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
Siva
-------------------------------
Toyota Tân Cảng

Last edited by tuananhpl1; June 7th, 2015 at 03:10 AM..





Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue with Tab Characters during XSLT Transformation sivakumar_g01 XSLT 1 October 20th, 2010 09:17 AM
help on xslt transformation li72 XSLT 2 March 4th, 2008 10:14 AM
Accented characters transformation in XSL ROCXY XSLT 3 January 19th, 2006 08:50 AM
newline and tab characters problem anshul Beginning PHP 1 December 2nd, 2004 06:58 AM
Getting tab characters to show up in output richard.york PHP How-To 9 November 21st, 2004 03:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.