Understanding The Fundamentals Of XML Schema
February 19, 2010 by George Alexander
Filed under Online Trainings
XML schema definition languages are founded on recommendations laid down by the World Wide Web Consortium (W3C). They use XML 1.0 syntax and aim to explicit describe the structure of XML documents and constrain the data which they may contain. They offer a distinct improvement on the more limited schema features offered by the Document Type Definition (DTD) recommendation which formed part of the original XML specification released in 1998. The most widely used schema language is the one defined by the W3C in 2001: W3C XML Schema. However, there are alternatives, such as RELAX NG and Schematron.
XML Schema documents are the successors to DTDs and overcome some key limitations associated with them. Firstly, DTDs do not support data types. Secondly, DTDs do not support namespaces. Thirdly, DTDs do not allow developers to accurately define the number of permitted occurrences of elements within their parent element.
An XML schema is concerned with the structure of an XML instance document by defining what each element must or may contain. An element is limited by its type. For example, an element of complex type can contain child elements and attributes, whereas a simple-type element can only contain text. The diagram below gives a first look at the types of XML Schema elements.
Three main purposes are fulfilled by schema documents. Firstly, they can be used to validate XML documents. Secondly, they can be used as a dictionary or grammar for the creation of a given class of XML document. And, thirdly, they can be used to provide documentation for XML documents.
Each XML schema is itself an XML document and contains definitions of all elements and attributes permitted in a given class of XML documents. The schema also specifies the structure or hierarchy to which elements must adhere and the type of content each particular element may contain. Elements may be of the simple or complex type. Complex type elements may contain child elements as well as attributes. Simple type element may only contain data. XML documents using a particular schema are referred to as instances of the schema. An XML instance that correctly adheres to its associated schema is said to be valid.
Validation is usually the principal role of schema documents. Validation offers many benefits. It ensures the consistency of data within a document. It ensures that data has the right structure and internal hierarchy. It ensures that data within the document structure is of the correct type. It allows us to receive data from multiple sources.
Almost all XML documents are generated by programs and scripts written to extract information held in databases and transform it into XML. However, it is also possible for human beings to create XML documents. Schemas can be used during this process to assist in the document creation process. XML schemas also provide a mechanism for documenting XML documents and form an important part of the specification of XML vocabularies.
The writer of this article is a developer and trainer with Macresource Computer Training, a UK IT training company offering XML training courses in London and throughout the UK.
Accessorise Your Computers With This IT Training Guide
September 7, 2009 by Dave Sakura
Filed under Online Colleges
Yesterday, we spent about three hours trying to assure a client of ours that brand new computers just don’t come equipped with the all things that most computers need in a PC.
We tried to convince him that a fully functional computer is one that is personalized with specially selected hardware and software accessories – and that the computer purchased at the store doesn’t come with these things.
Regrettably, all of our convincing was to our avail. Our client insisted that he should never need more than what came with his boxed invention and that we were just trying “bilk” more money out of him.
As a technical PC consultant with IT training experience, it is my job to make sure our customers are happy when they have went out the door. But my job is without doubt allot more difficult when people don’t listen to solid advice about computers whether it is from a hardware or software standpoint.
With any luck by the time you finish reading this article, you’ll be aware of the lesson that we were trying to show our client: “What comes out of the box is really just a starter kit.”
The typical computer box comes with a CPU unit, keyboard, mouse, and speaker set. That may be just very well for some, but most people require more than that specially in today’s “connected” culture.
Today’s users call for full multimedia capabilities, a wide variety of graphics gear, and accommodations for the various portables we now get pleasure from.
These extras aren’t incorporated with “what comes out of the box,” and the only way to get them is to accessorize.
To make sure you understand the importance of chopping things up and making them different, lets for arguments sake you have got a new PC and it is a slab of plain dough.
If we need this dough into a tasty loaf, we need to accessorise it with the latest chocolate chip sweets .
Like “plain dough,” the brand new computer isn’t very functional by itself. It requires accessorizing.
Depending on what’s desired, accessorizing doesn’t need to be costly. In fact, you can get away with paying a negligible amount for extra software and hardware if these accessories are for children.
Even when you don’t take cost into account, it is vital to make sure you know that accessories can become required, and that the most beneficial moment to acquire them is the very moment you purchase a new computer.
Waiting too long to accessorize can cause more complications than compulsory because while you wait, manufacturers endlessly develop new technologies – technologies that your computer won’t be able to have room for in the future.
Once you’re ready to accessorize, the new goods on the market are too advanced for your computer and they just won’t perform. This is a predictable predicament experienced by those who desire to use hardware designed for Windows Vista on a Windows XP or Windows 2000 machine.
IT Training Scotland believes everyone can benefit from IT training one way or another. Whether you need some Excel training in Scotland, get in touch. With over 20 years experience in computer technology, I.T.S can help you improve your skills and knowledge.






