469,913 Members | 1,947 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,913 developers. It's quick & easy.

Xml Uri

Hello all,

Happy holi,

I have one question regarding XML schemas.

In XMl schemas we use URI to identify elements /attributes

Eg:
Expand|Select|Wrap|Line Numbers
  1. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  3.  
  4. <intVal xsi:type="xsd:int">0</intVal>
  5. <string xsi:type="xsd:string">guru</string>

My confusion was if the above mentioned uri is not accesable say like I might be intranet, then How does I should make use of that XM schema.

Please clear my confusion
Mar 20 '06 #1
3 2553
Banfa
9,065 Expert Mod 8TB
If you do not have access to the schema file then you can't use that schema.
Mar 20 '06 #2
Yes offcourse, If XML schema is not accesable Then I can't use.
But let say I am in intranet not accesable to the following URI when I open in browser.

http://www.w3.org/2001/XMLSchema-instance

But I could able to write XML schemas with using above URI successfully ,so How URI resolves basically.
Mar 20 '06 #3
Banfa
9,065 Expert Mod 8TB
But I could able to write XML schemas with using above URI successfully ,so How URI resolves basically.
I am having trouble understanding this sentence on the grounds that the gramma is a bit wonky.

I am not an XML expert, I have recently started to use XML, XML Schemas and XSLT. While doing my developing I specified a schema URI that did not exist but had the schema file in the same directory as the xml files and it appeared to find it.

I am guessing that it will look in the current directory if it can not find the URI.

Is that any help?
Mar 20 '06 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by William C. White | last post: by
2 posts views Thread by Albert Ahtenberg | last post: by
3 posts views Thread by James | last post: by
reply views Thread by Ollivier Robert | last post: by
1 post views Thread by Richard Galli | last post: by
4 posts views Thread by Albert Ahtenberg | last post: by
1 post views Thread by inderjit S Gabrie | last post: by
2 posts views Thread by Jack | last post: by
3 posts views Thread by Sandwick | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.