






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







How does this work? What other things can we do with it? So far, we've discussed the use of XML in creating web services. XML and web services Docsity.com
Business process can be described in XML… Which is defined by Xschemas… And utilizes queries called XPATHs… Which are both understood by Eclipse… And can be used to model business process and predict business value… Where we're going… Where we're going… Docsity.com
…
Every XML document contains a single element that can contain sub-elements. Beer Elements can have attributes, e.g., element 'bar' attribute name has value'Marvin' content 'Beer' has Basics of XML => All elements must be closed: => or All attributes must be quoted strings (with " or ') XML and HTML: new rules: means A shorthand Basics of XML Docsity.com
Generalization of Document Type Definitions (DTDs) Describe allowable contents of an XML element... … in XML itself! Xschemas Can think of an Xschema as a "type". A type in a programming language is a set of limitations. Likewise, an Xschema is a set of limitations for an XML document. Really strange: Xschemas Docsity.com
If you declare an IDREF, then it must refer to a unique object. (with a matching id). If it doesn't, the document fails to match the schema. Key idea: your program on the document depends upon certain assumptions about the document , and should not be run if the document doesn't comply. What's the big deal? Docsity.com
Alva An Xschema either "matches" or "does not match" a candidate XML file. In the preceding example: Couch matches, while does not. Matching is syntactic , not semantic. Matching Matching Docsity.com