app:service
the root of a Service Document
Element information
Namespace: http://www.w3.org/2007/app
Schema document: service.xsd
Type: Anonymous
Properties: Global, Qualified
Content
- Choice [0..*]
- app:workspace server-defined group of Collections
- Any element Namespace: ##other, Process Contents: skip
- Any element Namespace: ##local, Process Contents: skip
from group app:extensionElement
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
xml:base | [0..1] | xsd:anyURI | from group app:appCommonAttributes | |
xml:lang | [0..1] | Anonymous | from group app:appCommonAttributes | |
xml:space | [0..1] | Anonymous | from group app:appCommonAttributes | |
Any attribute | [0..*] | Namespace: ##other, Process Contents: skip | from group atom:local |
Sample instance
<service> <workspace> <atom:title>Main Site</atom:title> <collection href="http://example.org/blog/main"> <atom:title>My Blog Entries</atom:title> <categories href="http://example.com/cats/forMain.cats"/> </collection> <collection href="http://example.org/blog/pic"> <atom:title>Pictures</atom:title> <accept>image/png</accept> <accept>image/jpeg</accept> <accept>image/gif</accept> </collection> </workspace> <workspace> <atom:title>Sidebar Blog</atom:title> <collection href="http://example.org/sidebar/list"> <atom:title>Remaindered Links</atom:title> <accept>application/atom+xml;type=entry</accept> <categories fixed="yes"> <atom:category scheme="http://example.org/extra-cats/" term="joke"/> <atom:category scheme="http://example.org/extra-cats/" term="serious"/> </categories> </collection> </workspace> </service>