Wrox Programmer Forums
|
BOOK: Professional Java Development with the Spring Framework
This is the forum to discuss the Wrox book Professional Java Development with the Spring Framework by Rod Johnson, Juergen Hoeller, Alef Arendsen, Thomas Risberg, Colin Sampaleanu; ISBN: 9780764574832
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Java Development with the Spring Framework 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 August 10th, 2008, 01:23 PM
Registered User
 
Join Date: Dec 2007
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remove namespace prefix from XmlBean

I do like in airplane example form sring-ws package but XMLBean put namespace prefix and my service client don't work. Does anyone know how to stript out the namespace prefixes when saving the output of an XmlBean. I'm using the saver to save to file, but I would like it to so without the name space prefix. How Can this be done?

Right now the output of the XmlBean looks something like:

<?xml version="1.0" encoding="UTF-8"?>
<web:GetQuote xmlns:web="webserviceX.NET/">
<web:symbol>GOOG</web:symbol>
</web:GetQuote>


I would like it to look like:

<GetQuote xmlns:web="webserviceX.NET/">
<symbol>GOOG</web:symbol>
</GetQuote>

Thanks.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Prefix and Namespace to XML Lerxt XSLT 6 November 8th, 2007 03:14 PM
Remove namespace from output file jopet25 XSLT 12 March 9th, 2007 11:12 AM
How a additional prefix in a namespace comes? diang BOOK: ASP.NET Website Programming Problem-Design-Solution 0 July 13th, 2006 10:40 PM
change namespace leaving prefix unchanged lantoli XSLT 3 June 26th, 2006 07:31 AM
attribute namespace prefix tsmith XSLT 1 August 12th, 2004 06:01 AM





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