Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML Schema Help

 
Priyadharshini Nagarajan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to include the xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' and xsi:noNamespaceSchemaLocation='IMSSchema1.xsd' attribute of the xml file in xml schema(xsd)
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Umm. I admit that my schema knowledge is a bit rusty but I couldn't understand what exactly are you asking here. Could you elaborate a bit?
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i guess he has an xml instance document which contains these attributes not. i.e. the schema location etc.. ?
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Priyadharshini Nagarajan:
How to include the xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' and xsi:noNamespaceSchemaLocation='IMSSchema1.xsd' attribute of the xml file in xml schema(xsd)


The schema location attribute doesn't belong in the schema file. It belongs in the XML instance file that is based on that schema.
It that what you asked or am I missing something here...

- m
 
Priyadharshini Nagarajan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Tell me how to validate my xml document against xml schema(xsd).

i am having my xml and xsd in the same location.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the IBM developerWorks tutorial?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic