Hi Ozgur, it is not currently possible but all the code needed to implement this feature is already in the CVS (Marshaller.java), it just needs some plumbing to produce the expected behavior. It could be put on the to-do list ;+),
Arnaud -> -----Original Message----- -> From: Ozgur Balsoy [mailto:[EMAIL PROTECTED]] -> Sent: Monday, October 08, 2001 4:14 PM -> To: [EMAIL PROTECTED] -> Subject: [castor-dev] namespaces in marshalling -> -> -> hi there, -> -> I am using multiple namespaces in my schema and I generate Java -> codes using -> SourceGen. -> When I marshal my objects, I get this whenever a namespace changes: -> -> <root xmlns="namespace_x"> -> <element xmlns="namespace_y"> -> ... -> -> This is valid XML, but, is it possible to get it like: -> -> <root xmlns="namespace_x" xmlns:ns1="namespace_y"> -> <ns1:element> -> ... -> -> Thanks. -> Ozgur -> -> ----------------------------------------------------------- -> If you wish to unsubscribe from this mailing, send mail to -> [EMAIL PROTECTED] with a subject of: -> unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
