Extending One Namespace With Another (ATOM) ?

A

Andreas M.

Hi,

I could not get info for this on irc.freenode/#xml.

I want to extend the ATOM spec with my own namespaced stuff. For this I
need to add both some new attributes to the Atom elements as well as
adding my own elements, both under the root as well as contained in my
own containers.

I do not find any valuable info on this. Any link aprreciated,
explanation welcome. Thanks a lot.
 
J

Joseph Kesselman

I presume you mean extending one SCHEMA with another.

Unless the schema is designed for it (some are) you can't insert foreign
elements into it without modifying it (and breaking compatability
thereby). I haven't looked at ATOM so I don't know whether/where it has
hooks to allow this.

You can certainly define a new schema which can contain elements from
the existing one. That's often enough to do what's needed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top