Presentation is loading. Please wait.

Presentation is loading. Please wait.

Paul Gustavson pgustavson@simventions.com SISO XML Namespaces Paul Gustavson pgustavson@simventions.com.

Similar presentations


Presentation on theme: "Paul Gustavson pgustavson@simventions.com SISO XML Namespaces Paul Gustavson pgustavson@simventions.com."— Presentation transcript:

1 Paul Gustavson pgustavson@simventions.com
SISO XML Namespaces Paul Gustavson

2 SISO XML Schema Style (XSS) Guide
technical SISO specification Describes and specifies the rules and guidelines to be applied by SISO Product Development Groups (PDGs) when developing and maintaining an XML schema. provides a way to identify, capture and maximize the re-use of SISO simulation standards expressed as XML schema components Intended to support and enhance simulation interoperability across multiple M&S domains and disciplines. Back on the clock. Expected first draft – May 4, 2011

3 What’s an XML namespace?
XML Namespaces provide a method to avoid element name conflicts. Look for the prefix in an XML document <h:table xmlns:h="   <h:tr>     <h:td>Apples</h:td>     <h:td>Bananas</h:td>   </h:tr> </h:table> <f:table xmlns:f="   <f:name>African Coffee Table</f:name>   <f:width>80</f:width>   <f:length>120</f:length> </f:table> NOTE: The namespace URI is not used by the parser to look up information.

4 What’s a URI? Uniform Resource Identifier (URI)
identifies an Internet Resource. Uniform Resource Locator (URL) the most common URI Identifies an internet domain location / address Uniform Resource Name (URN) Another type of URI, not as common NOTE: As a general rule – it’s good practice to put the XSD in a serviceable address…

5 How SISO Namespaces / Schemas are identified? (1/2)
Schema using another schema <xs:schema xmlns=" xmlns:xs=" xmlns:xhtml=" xmlns:omt=" xmlns:modelID=" targetNamespace=" elementFormDefault="qualified"> <xs:import namespace=" schemaLocation="IEEE D2v0.83.xsd"/> <xs:import namespace=" schemaLocation="ModelID_v2006_FINAL.xsd"/>

6 How SISO Namespaces / Schemas are identified? (2/2)
XML document identifying a SISO schema <BOM xmlns=" xmlns:xsi=" xmlns:modelID=" xmlns:omt=" xsi:schemaLocation=" BOM_v2010_9_17.xsd">

7 Where should SISO schema live?
Schemas are to be located at Present status Concerns?


Download ppt "Paul Gustavson pgustavson@simventions.com SISO XML Namespaces Paul Gustavson pgustavson@simventions.com."

Similar presentations


Ads by Google