This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
hi, i am using jaxb to marshall object into xml and get the following as the output: <ns1:tradeHeader xmlns:ns1="http://www.cognotec.com/trade/2004/v01"> <ns1:instrument>SP</ns1:instrument> <ns1:tradeDate>2006-04-27T00:00:00</ns1:tradeDate> <ns1:acceptDate>2006-04-27T11:13:54</ns1:acceptDate>
My question is how do i avoid getting this namespace "ns1" in each element. Above is a sample of the entire xml. i do add in the header the namespace to which the xml has to conform to. pl help me thanks venkatB