• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

XML Schema Help

 
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)
 
author
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?
 
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.. ?
 
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
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read the IBM developerWorks tutorial?
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!