Adding explicit namespace to attribute name?
Rune Stilling <[email protected]>
| Newsgroups | gmane.text.xml.schema.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi I'm trying to create a schema for a simple RDF instance XML-file, which could look like this: > <?xml version="1.0"?> > <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> > <Bruger rdf:about="http://www.kl.dk/ontologies/brugerontologi.owl#vordingborg"> > <Navn rdf:datatype="http://www.w3.org/2001/XMLSchema#string"/> > </Bruger> > </rdf:RDF> What I cannot do is creating something, that validates the "rdf:" namespace correctly. I've been fiddling with targetNameSpace and form-attributes but it doesn't want to do what I want. Is it possible to create a schema for the above XML-example? \Rune