There are a couple other XMLOptions available like setSaveAggressive and setSaveDefault Namespace methods to render what you want. -jacobd On Jun 8, 2012 1:44 AM, "Kaan Yamanyar" <[email protected]> wrote:
> Hi, > > Is there a possible way to make use of default scoped name spaces? > I have not found any resources for this issue. > > > instead of: > > <alfa data="abc" xmlns="http://test1.com/"> > <mus:beta xmlns:mus="http://test2.com"> > <mus:a>1234567897</mus:a> > <mus:s>777666</mus:s> > </mus:beta> > </alfa> > > I would like to have: > > <alfa data="abc" xmlns="http://test1.com/"> > <beta xmlns="http://test2.com"> > <a>1234567897</a> > <s>777666</s> > </beta> > </alfa> > > note: > Map map = new HashMap(); > map.put("http://test1.com/",""); > map.put("http://test2.com/",""); > xo.setSaveSuggestedPrefixes(map); > does not work > > > Cheers, > Kaan > > >

