Hi,
1. I need someone to check and correct my XML Schema if it is incorrect. Thank you.
2. I am working on ASP JavaScript and put all the functions in .
js files. And calling these functions from ASP pages that actually manipulate all the XML files which are validated by XML Schema. My question is "Any technical difficulties that I have to be awared of?". Will there have any impact if my schema is incorrect? Thank you.
---------------------------------------------------------------------
<?xml version="1.0"?>
<PROFILE>
<MEMBER id="MYKCH5">
<FUNCTION name="Create User Profile">/function/user.asp?task=create</FUNCTION>
<FUNCTION name="Update User Profile">/function/user.asp?task=update</FUNCTION>
<FUNCTION name="Delete User Profile">/function/user.asp?task=delete</FUNCTION>
</MEMBER>
<MEMBER id="MYCLO1">
<FUNCTION name="View Duty Roster">/function/resource.asp?task=viewDutyRoster</FUNCTION>
</MEMBER>
</PROFILE>
----------------------------------------------------------------------
<Schema xmlns = "urn:schemas-microsoft-com:xml-data" xmlns:dt = "urn:schemas-microsoft-com:datatypes">
<AttributeType name = "name" dt:type = "string"/>
<ElementType name = "FUNCTION" content = "textOnly" dt:type="string">
<attribute type = "name"/>
</ElementType>
<AttributeType name = "id" dt:type = "string"/>
<ElementType name = "MEMBER" content = "textOnly" dt:type="string">
<attribute type = "id"/>
</ElementType>
</Schema>