Click here to Skip to main content
14,936,944 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionUpating xml in C# Pin
Sonar8724-Aug-10 22:56
MemberSonar8724-Aug-10 22:56 
AnswerRe: Upating xml in C# Pin
SeMartens25-Aug-10 4:27
MemberSeMartens25-Aug-10 4:27 
GeneralRe: Upating xml in C# Pin
Sonar8725-Aug-10 10:11
MemberSonar8725-Aug-10 10:11 
Questionxlst - format number function Pin
Simon_Whale4-Aug-10 4:15
professionalSimon_Whale4-Aug-10 4:15 
AnswerRe: xlst - format number function Pin
Stuart Dootson8-Aug-10 5:43
professionalStuart Dootson8-Aug-10 5:43 
Questionxsl output in existing file Pin
lawrenceinba2-Aug-10 1:17
Memberlawrenceinba2-Aug-10 1:17 
AnswerRe: xsl output in existing file Pin
Stuart Dootson8-Aug-10 5:58
professionalStuart Dootson8-Aug-10 5:58 
Questionxml schema understanding Pin
jainiraj29-Jul-10 19:20
Memberjainiraj29-Jul-10 19:20 
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 Pin
rathishps29-Jul-10 3:32
Memberrathishps29-Jul-10 3:32 
QuestionODX checker tool Pin
jainiraj28-Jul-10 2:20
Memberjainiraj28-Jul-10 2:20 
Questionhow to deserialize xsi:type attribute in C# Pin
jainiraj26-Jul-10 1:04
Memberjainiraj26-Jul-10 1:04 
Questionjavascript in xsl Pin
lawrenceinba25-Jul-10 23:53
Memberlawrenceinba25-Jul-10 23:53 
QuestionHow to Convert XML to Image File,thanks Pin
tgbd197023-Jul-10 20:02
Membertgbd197023-Jul-10 20:02 
AnswerRe: How to Convert XML to Image File,thanks Pin
Richard MacCutchan23-Jul-10 22:14
mveRichard MacCutchan23-Jul-10 22:14 
QuestionHot to convert a Wordml to XSL Pin
Exelioindia20-Jul-10 19:20
MemberExelioindia20-Jul-10 19:20 
AnswerRe: Adding attributes to xml nodes Pin
DaveAuld17-Jul-10 8:58
professionalDaveAuld17-Jul-10 8:58 
GeneralRe: Adding attributes to xml nodes Pin
priyaahh17-Jul-10 9:16
Memberpriyaahh17-Jul-10 9:16 
Questionjava script code error Pin
varsh1216-Jul-10 19:26
Membervarsh1216-Jul-10 19:26 
AnswerRe: java script code error Pin
Stoffy197225-Jul-10 10:22
MemberStoffy197225-Jul-10 10:22 
QuestionXSD and Elements Order Pin
MrKBA13-Jul-10 21:51
MemberMrKBA13-Jul-10 21:51 
AnswerRe: XSD and Elements Order Pin
Stuart Dootson14-Jul-10 0:34
professionalStuart Dootson14-Jul-10 0:34 
GeneralRe: XSD and Elements Order Pin
MrKBA14-Jul-10 1:11
MemberMrKBA14-Jul-10 1:11 
GeneralRe: XSD and Elements Order Pin
Stuart Dootson18-Jul-10 1:19
professionalStuart Dootson18-Jul-10 1:19 
GeneralRe: XSD and Elements Order Pin
MrKBA18-Jul-10 2:57
MemberMrKBA18-Jul-10 2:57 
QuestionSearching for multiple types with XPath Pin
Trollslayer10-Jul-10 0:45
mentorTrollslayer10-Jul-10 0:45 

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

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