Hi,

what does your current mapping file look like ? Apart from the
schemaLocation attribute, this should be possible.

Werner

Arnaud Cogoluegnes wrote:
> Hi, all.
> 
> Does anyone know if I can manage to generate such a document with Castor XML :
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/";
>         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>         xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/
>         http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd";>
> <responseDate>2002-08-11T07:21:33Z</responseDate>
> <request verb="ListSets">http://an.oa.org/OAI-script</request>
> <ListSets>
>  <set>
>    <setSpec>music</setSpec>
>    <setName>Music collection</setName>
>  </set>
>  <set>
>    <setSpec>music:(muzak)</setSpec>
>    <setName>Muzak collection</setName>
>  </set>
>  <set>
>    <setSpec>music:(elec)</setSpec>
>    <setName>Electronic Music Collection</setName>
>    <setDescription>
>      <oai_dc:dc
>          xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/";
>          xmlns:dc="http://purl.org/dc/elements/1.1/";
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>          xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/
>          http://www.openarchives.org/OAI/2.0/oai_dc.xsd";>
>          <dc:description>This set contains metadata describing
>             electronic music recordings made during the 1950ies
>             </dc:description>
>       </oai_dc:dc>
>    </setDescription>
>   </set>
>   <set>
>    <setSpec>video</setSpec>
>    <setName>Video Collection</setName>
>   </set>
> </ListSets>
> </OAI-PMH>
> 
> I'm doing ok until the embedded oai_dc:dc declaration, I don't see any
> solution in a XML Castor mapping file to configure such a thing. Any
> help is welcome.
> 
> Regards
> 
> Arnaud
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to