How do I create a Schema for an Atom extension ?
This should cover W3C XML Schema, Relax NG and DTD related problems.
-
- Posts: 81
- Joined: Sat Aug 05, 2006 10:43 pm
How do I create a Schema for an Atom extension ?
Hi,
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)
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
<feed>
<author>
<name>Jonny Foo</author>
<email>jonny@foo.bar</email>
<myns:jabber>jonnyfoo@jabber.org</myns:jabber>
</author>
<myns:something foo="123" />
<item myns:origin="http://foo.dot.org">
[itemstuff...]
</item>
</feed>
Andreas
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service