Re: control namespace-prefix
Hi.
> I have some xsd-schema and generated classes.
>
> I work with object model and would to save it to xml-file.
>
> And namespace-prefix is added to tags.
>
> I would like to remove custom prefix from custom tags and use it only in the
> parent tag. Example:
>
> Existing:
>
> <ns:mytag xmlns:ns="htpp://example.com">
> <ns:mysubtag>
> <ns:/mysubtag>
> <ns:/mytag>
>
> Aim:
>
> <ns:mytag xmlns:ns="htpp://example.com">
> <mysubtag>
> </mysubtag>
> <ns:/mytag>
>
>
> How can I do it?
https://jaxb.dev.java.net/guide/Changing_prefixes.html
Bye.
/lexi