Click here to Skip to main content
15,911,132 members
Home / Discussions / XML / XSL
   

XML / XSL

 
Question[Message Deleted] Pin
malarpm2-Apr-08 1:47
malarpm2-Apr-08 1:47 
GeneralRe: Need help in generating xml file using the xsd file in classic asp. Pin
led mike2-Apr-08 4:45
led mike2-Apr-08 4:45 
QuestionCan we lock just a single table in xml file?? Pin
Ron.S1-Apr-08 19:46
Ron.S1-Apr-08 19:46 
AnswerRe: Can we lock just a single table in xml file?? Pin
led mike2-Apr-08 4:42
led mike2-Apr-08 4:42 
AnswerRe: Can we lock just a single table in xml file?? Pin
Dave Kreskowiak2-Apr-08 4:46
mveDave Kreskowiak2-Apr-08 4:46 
QuestionContains Function!!! Please Help me (XPath) Pin
Masterhame31-Mar-08 8:07
Masterhame31-Mar-08 8:07 
GeneralRe: Contains Function!!! Please Help me (XPath) Pin
led mike1-Apr-08 4:51
led mike1-Apr-08 4:51 
GeneralSchema Namespaces Pin
GraemeYeo28-Mar-08 7:49
GraemeYeo28-Mar-08 7:49 
Hi,
I'm fairly new to using XML properly. I'm trying to write and XSD schema but I'm having trouble understanding namespaces. Confused | :confused:

Say my schema begins with...

< ?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">

(without the spaces after the < signs)
and each element in the schema begins with < xs:whatever>

As I understand it, the xmlns:xs="" part identifies a source for what each of the fundamental identifiers mean, such as "element", "attribute", "simpleType", or whatever. targetNamespace="" identifies where the xsd i'm writing will be located, and xmlns="" identifies what the default namespace is (ie. if i dont put "xs:" at the beginning of things).

That's just my basic understanding that may be wrong. This is all very well, but what if the machine being used doesn't have an internet connection? How does it look up the basic types (element, attribute, etc)? Can I specify an offline source, maybe provided in Windows or the .NET framework (this is where I'm using the XML).

And once i've done this, how do I need to start an XML document that uses the schema (ie. what combination of "xmlns" things do i need to put in the root node tag?).

I realise I may have entirely missed the point of namespaces here. Any help would be greatly appreciated!

Thanks in advance! Smile | :)

Graeme
QuestionDetermine elements according to attributes Pin
goutsi27-Mar-08 6:24
goutsi27-Mar-08 6:24 
QuestionCreating a XML and XSD for data storage. Starting with empty xml Pin
steve_rm24-Mar-08 23:32
steve_rm24-Mar-08 23:32 
Questionload xml+xsl in html Pin
Member 466072419-Mar-08 21:12
Member 466072419-Mar-08 21:12 
GeneralRe: load xml+xsl in html Pin
led mike20-Mar-08 4:47
led mike20-Mar-08 4:47 
GeneralRe: load xml+xsl in html Pin
Aurelius166420-Mar-08 5:25
Aurelius166420-Mar-08 5:25 
GeneralRe: load xml+xsl in html Pin
Member 466072423-Mar-08 22:16
Member 466072423-Mar-08 22:16 
QuestionCombine several xml schemata in a single file? Pin
maki.stud17-Mar-08 3:59
maki.stud17-Mar-08 3:59 
Questionhow to code some sql properties in xsd? [modified] Pin
khinezw17-Mar-08 3:08
khinezw17-Mar-08 3:08 
QuestionHow to XSL this XML file? Pin
ASCIIyhr16-Mar-08 10:07
ASCIIyhr16-Mar-08 10:07 
Generalsetting XML Schema Restriction Pin
laziale14-Mar-08 4:11
laziale14-Mar-08 4:11 
AnswerRe: setting XML Schema Restriction Pin
buchstaben15-Mar-08 6:05
buchstaben15-Mar-08 6:05 
GeneralRe: setting XML Schema Restriction Pin
laziale15-Mar-08 6:16
laziale15-Mar-08 6:16 
QuestionCombining XmlNodeList with another? Pin
Peter Nap11-Mar-08 23:37
Peter Nap11-Mar-08 23:37 
GeneralRe: Combining XmlNodeList with another? Pin
led mike13-Mar-08 4:30
led mike13-Mar-08 4:30 
Questionxml file bind into data grib view from window in C# Pin
thanhtikezaw11-Mar-08 0:24
thanhtikezaw11-Mar-08 0:24 
Generalcross post (ignore) Pin
led mike11-Mar-08 6:00
led mike11-Mar-08 6:00 
Questionhow do i Deserialize a xml docuement that contains reserve char in .net 1.1 Pin
abstar10-Mar-08 13:01
abstar10-Mar-08 13:01 

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.