Wednesday, June 29, 2011

::::|| VU ||:::: XSchema Attributes and Restriction - [eTechy101.com]

A new article has been posted on eTechy101.com.
The post title is 'XSchema Attributes and Restriction'. Below is a preview of
the post.

In a previous article, we discussed about XSchema, its implications and also its
elements. In this article, we would be discussing its attributes and the
restrictions that are faced while scripting with XSchema.

First, let's take a look at XSchema attributes. Simple elements cannot have
attributes. If an element has attributes, it is considered to be of a complex
type. But the attribute itself is always declared as a simple type.

<xs:attribute name="xxx" type="yyy"/>

Where xxx is the name of the attribute and yyy specifies the data type of the
attribute.

Attributes may have a default value OR a fixed value specified. A default value
is automatically assigned to the attribute when no other value is specified. In
the following example the default value is "EN":

You may view the full post at
http://www.etechy101.com/programming/xschema-attributes-and-restriction.html

You received this e-mail because you asked to be notified when new updates are
posted.

Thanks for being a valued member of eTechy101.com

Best regards,

eTechy
http://www.etechy101.com

--
For study materials, past papers and assignments,
Join VU School at www.VusCool.com
and www.VUGuys.com
CoooL Virtual University Students Google Group.
To post to this group, send email to coool_vu_students@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/coool_vu_students?hl=en

No comments:

Post a Comment