Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
| Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 4th, 2003, 04:49 AM
Registered User
 
Join Date: Jun 2003
Location: Cyberjaya, Selangor, Malaysia.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default XML, XML Schema, JavaScript, ASP

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>


Similar Threads
Thread Thread Starter Forum Replies Last Post
saving xml in asp.net using schema kavifs ASP.NET 1.0 and 1.1 Professional 0 February 23rd, 2007 10:32 AM
put an xml schema in an email content using asp.ne ariyanto ASP.NET 1.0 and 1.1 Basics 0 September 11th, 2006 09:02 AM
XML/ASP/Javascript combo......help required crmpicco Classic ASP Databases 1 March 4th, 2005 06:50 AM
What's the use of XML Schema?! janise XML 2 August 29th, 2004 05:31 AM
xml schema help allang XML 0 August 19th, 2004 09:58 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.