How do I create a Schema for an Atom extension ?

This should cover W3C XML Schema, Relax NG and DTD related problems.
Posts: 81

How do I create a Schema for an Atom extension ?

Thu Jun 14, 2007 12:06 pm


I want to enrich an Atom feed with tags and attributes from my own namespace.
The problem I have is, that some of my elements go into their own containers (my namespace) within the <feed> root, others are additions to already available feed elements, such as <author>.

Also, sometimes I want to add my own atributes to existing Atom elements. How shall I do this ? Shall I give the XSD generator a full example of the way a feed may look like with my extensions or is there another way to automate this, or do I need to create the XSD manually (I know zero, nada about XSD, so I have great hopes, that oXygen will do it all for me ;-))

Example (Atom is default-namespace)

Code: Select all

<name>Jonny Foo</author>
<myns:something foo="123" />
<item myns:origin="">

Return to “XML Schemas”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest