Bind complicated XML form with JAXB annotations
===

I have a very complicated xml form:


      <external_metadata>
           <timestamp>1342393215.0</timestamp>
           <keywords>
               <record xmlns="http://www.openarchives.org/OAI/2.0/"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
               <header xmlns:xs="http://www.w3.org/2001/XMLSchema">
                   <datestamp>1989-12-31T23:00:00Z</datestamp>
               </header>
               <metadata>
                  <oai_dc:dc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
                     <dc:title>My title </dc:title>
                      .
                      .

I know that i can write into the package-info.java smt as the following:

       @javax.xml.bind.annotation.XmlSchema (
    namespace="http://www...",
    elementFormDefault=XmlNsForm.QUALIFIED,
    xmlns = { 
      @javax.xml.bind.annotation.XmlNs( prefix="", namespaceURI="http://www..."),
      @javax.xml.bind.annotation.XmlNs( prefix="atom" ,namespaceURI="http://www.w3.org/2005/atom")
    })
     package web.model;

     import javax.xml.bind.annotation.XmlNsForm;

But in the XML i provide i need to create 3 different packages and implement this process. One for the record, one for the header and one for the oai_dc.

Question: is there a way that will allow me to create the appropriate xmlns format into the class? I want to do this in order to avoid the creation of many different packages.