Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Extending One Namespace With Another (ATOM) ?

Thread Tools

Extending One Namespace With Another (ATOM) ?

Andreas M.
Posts: n/a

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.

Cheers, Andreas
Reply With Quote
Joseph Kesselman
Posts: n/a
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.

Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Including element from one schema namespace in another schema namespace XML 1 07-20-2006 06:48 AM
Reaching into the default namespace when using another namespace. Jason Heyes C++ 1 11-19-2004 02:36 AM
Using One XSLT and multiple XML Problem (One is XML and another one is XBRL) loveNUNO XML 2 11-20-2003 06:47 AM
Help:Why can't I use namespace System.Web? It is said that this namespace doesn't exist. But it should exist. ASP .Net 1 07-29-2003 04:31 PM
Passing value from one script on one page to another script on another page. Robert Cohen ASP General 3 07-15-2003 01:46 PM