On 10/10/07, Jukka Zitting <[EMAIL PROTECTED]> wrote:
> Hi,
>
> On 10/10/07, Bertrand Delacretaz <[EMAIL PROTECTED]> wrote:
> > On 10/10/07, Jukka Zitting <[EMAIL PROTECTED]> wrote:
> > > ...Alternatively, should we use separate namespace URIs to identify the
> > > namespace of a metadata key? That would make it easier to integrate
> > > with various XML processing tools....
> >
> > Not sure what you mean by that, could you give an example?
>
> Something like this:
>
>     // Set Dublin Core title
>     metadata.set("http://purl.org/dc/elements/1.1/";, "title", title);
>     // Set OpenDocument keywords
>     metadata.set(
>         "urn:oasis:names:tc:opendocument:xmlns:meta:1.0",
>         "keywords", keywords);
>
> Of course with appropriate namespace constants in place.

sounds good

- robert

Reply via email to