Click here to Skip to main content

XML / XSL

    RSS: RSS Feed

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page  Show 
  Refresh
AnswerRe: Upating xml in C# PinmemberSeMartens5:27 25 Aug '10  
GeneralRe: Upating xml in C# PinmemberSonar8711:11 25 Aug '10  
Questionxlst - format number function PinmemberSimon_Whale5:15 4 Aug '10  
AnswerRe: xlst - format number function PinmvpStuart Dootson6:43 8 Aug '10  
Questionxsl output in existing file Pinmemberlawrenceinba2:17 2 Aug '10  
AnswerRe: xsl output in existing file PinmvpStuart Dootson6:58 8 Aug '10  
Questionxml schema understanding Pinmemberjainiraj20:20 29 Jul '10  
XML Schema-
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.w3schools.com"
xmlns="http://www.w3schools.com"
elementFormDefault="qualified">
 
<xs:element name="note">
<xs:complexType>
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
 
</xs:schema>
 

XML referencing XML Schema-
<?xml version="1.0"?>
 
<note xmlns="http://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="note.xsd">
 
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
 
I want to know if in xml file I use xsi:noNamespaceSchemaLocation attribute then what elements or attributes should remove from xml schema.
Also please explain
targetNamespace="http://www.w3schools.com"
xmlns="http://www.w3schools.com"
elementFormDefault="qualified"
in xml schema.
 
Thanks in adv.
QuestionJavaScript in XSLT Pinmemberrathishps4:32 29 Jul '10  
QuestionODX checker tool Pinmemberjainiraj3:20 28 Jul '10  
Questionhow to deserialize xsi:type attribute in C# Pinmemberjainiraj2:04 26 Jul '10  
Questionjavascript in xsl Pinmemberlawrenceinba0:53 26 Jul '10  
QuestionHow to Convert XML to Image File,thanks Pinmembertgbd197021:02 23 Jul '10  
AnswerRe: How to Convert XML to Image File,thanks PinmvpRichard MacCutchan23:14 23 Jul '10  
QuestionHot to convert a Wordml to XSL PinmemberExelioindia20:20 20 Jul '10  
QuestionMessage Removed Pinmemberpriyaahh8:14 17 Jul '10  
AnswerRe: Adding attributes to xml nodes Pinmemberdaveauld9:58 17 Jul '10  
GeneralRe: Adding attributes to xml nodes Pinmemberpriyaahh10:16 17 Jul '10  
Questionjava script code error Pinmemberahmad2520:26 16 Jul '10  
AnswerRe: java script code error PinmemberStoffy197211:22 25 Jul '10  
QuestionXSD and Elements Order Pinmemberkhaliloenit22:51 13 Jul '10  
AnswerRe: XSD and Elements Order PinmvpStuart Dootson1:34 14 Jul '10  
GeneralRe: XSD and Elements Order Pinmemberkhaliloenit2:11 14 Jul '10  
GeneralRe: XSD and Elements Order PinmvpStuart Dootson2:19 18 Jul '10  
GeneralRe: XSD and Elements Order Pinmemberkhaliloenit3:57 18 Jul '10  
QuestionSearching for multiple types with XPath PinmentorTrollslayer1:45 10 Jul '10  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.5.120209.1 | Last Updated 10 Feb 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid