An RNC schema for rss 2.0 [1 Attachment]
Steinar Bang <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Organization | Probably a good idea |
| Message-ID | <[email protected]> |
<*>[Attachment(s) from Steinar Bang included below]
I couldn't find any schema or DTD for RSS 2.0 on the net, so I wrote an
RNC schema that is attached to this article.
I've added the following line to the schema.xml file to trigger this
schema on .rss files:
<uri pattern="*.rss" uri="rss2.0.rnc"/>
Note: this schema is primarly for nxml creation of RSS files, rather
than editing aribitrary RSS files. That's why I've used the , connector
rather than the & connector. Ie. it won't validate .rss files unless
they happen to have the exact same order of the elements as this schema
(which is the order I think makes them most human readable).
- Steinar
<*>Attachment(s) from Steinar Bang:
<*> 1 of 1 File(s) http://groups.yahoo.com/group/emacs-nxml-mode/attachments/folder/2112805819/item/list
<*> rss2.0.rnc
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/emacs-nxml-mode/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/