dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: i want to understand the contents of schema ?

  1. #1
    Join Date
    Oct 2006
    Posts
    123

    i want to understand the contents of schema ?

    hi ,
    i want to understand the contents of schema ?

    Code:
    <?xml version=”1.0”?>
    <schema xmlns=”http://www.w3.org/2001/XMLSchema”
    xmlns:target=”http://www.example.com/name”
    targetNamespace=”http://www.example.com/name”
    elementFormDefault=”qualified”>
    <element name=”name”>

  2. #2
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,116

    Re: i want to understand the contents of schema ?

    What do you NOT understand?

    The posted example basically imports two schemas http://www.w3.org/2001/XMLSchema and http://www.example.com/name
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

  3. #3
    Join Date
    Oct 2006
    Posts
    123

    Re: i want to understand the contents of schema ?

    thanks, i know why i use namespace "xmlns=”http://www.w3.org/2001/XMLSchema" but what is this mean "xmlns:target=”http://www.example.com/name”" and what is targetNamespace and the difference between it and normal namespace ? and also what is mean by "elementFormDefault=”qualified”" i read that u can modify the default specifying how element should be qualified but i can not understand what is the effect of it if i add it in my schema? plz give me simple explain if u can help me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)