The following export procedure assumes you already have an SML document. If you do not have an SML document, use the export wizard to create an SML-IF document
After the SML-IF document is created, open the document in the SML-IF editor to display the document source.
This is an example that shows the contents of an exported SML-IF document.
<?xml version="1.0" encoding="UTF-8"?>
- <smlif:model xmlns:smlif="http://www.w3.org/2008/03/sml-if"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2008/03/sml-if smlif.xsd">
-<smlif:identity xml:base="http://interop.serviceml.org">
<smlif:name>School1</smlif:name>
<smlif:version>1.0</smlif:version>
<smlif:displayName locid="school1.com/langName">school1</smlif:displayName>
<smlif:baseURI>school1.com</smlif:baseURI>
<smlif:description locid="school1.com/langDescription">This information is for
school1</smlif:description>
</smlif:identity>
- <smlif:instances>
<smlif:document>
<smlif:docinfo>
<smlif:aliases>
<smlif:alias>cosmos/resource_modeling/src/test-resources/deref/Students-
MultipleNonRoot.xml</smlif:alias>
</smlif:aliases>
</smlif:docinfo>
- <smlif:data>
<Students xmls="urn:university">
<ID>1000</ID>
<Name>John</Name>
</Student>
- <Student xmlns="urn:university" SSN="333-22-4444">
<ID>1001</ID>
<Name>John</Name>
</Student>