Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

how can i marshal xml without xmlns attributes?

Thread view: 
Elhanan - 05 Apr 2006 15:42 GMT
hi..

i'm trying to marshal  objects into xml, but i keep getting
xmlns="myschema" in top node, and xmlns="" in other nodes..

how i can drop the xmlns completly, it may not work in xslt, and
orangevolt xpath viewer also doesn't work with default namespace
James McGill - 05 Apr 2006 20:55 GMT
> i'm trying to marshal  objects into xml, but i keep getting
> xmlns="myschema" in top node, and xmlns="" in other nodes..
>
> how i can drop the xmlns completly, it may not work in xslt, and
> orangevolt xpath viewer also doesn't work with default namespace

Have you tried Castor (www.castor.org)  or Xstream
(http://xstream.codehaus.org/)   ?  

Neither is JAXB, but both are good and useful.
Elhanan - 07 Apr 2006 07:30 GMT
well i need actuall java objects, incase i'll have to create it from
scratch, i also need something that supports idref becouse i have
object (elements) which are referenced by more then one parent
elements.

i know castor is considered favorite however the company strikes me as
rather dishonest as they premoting their castor jdo even though it's
not REAL jdo, and is rather bad.

howabout xmlbeans?


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.