Wednesday, 20 January 2010

Week 14 XML Schema

CMT3315
Simple type XML Schema: element which do not contain other elements and has no attributes.
Complex type XML Schema: element which does contain other elements and inclued attributes.
XML Schema is extensible Schema definition you can:
• Reuse your Schema in other Schemas
• Create your own data types derived from the standard types
• Reference multiple schemas in the same document
Three perfefined XML Schema are boolean,integer and ENTITIES.
Longer Questions:

Xs:schema is the standard namespace for XML schema definition.
URI is the Schema language definition, can be found using the link.
Bank XML Schema

1 comment:

  1. XML schema is just another way of validating an xml file. It is very explicit out the type of data a node can have unlike DTD, XML schema can specifically require a node value must be a string or integer. You can have XML schema defining an XML schema and so on how do you know when to stop creating schema for a schema. I would say use common sense. Otherwise you can spend your entire life creating schema for schemas. Unquestionably it is more power full than DTD but I would not recommend its use for a simply xml validation.

    ReplyDelete