[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Mixing my vocabularies

  • To: <xml-dev@l...>
  • Subject: Mixing my vocabularies
  • From: "Mark Seaborne" <MSeaborne@o...>
  • Date: Tue, 26 Mar 2002 10:35:08 -0000
  • Thread-index: AcHUD4dnbGaMGoVvQTWVUaj8vrzIIAAnMRng
  • Thread-topic: XML in the alleged Real World (was Re: DoesXML-Dev m...

my vocabularies

Can I inter-mix other vocabularies with an XML Schema defined vocabulary in an instance document, and still have a valid document? If so, how? 

N.B. the answer should ideally not involve any changes to the XML schema, just to the conformant document (e.g. I cannot use <xsd:anyAttribute namespace="##other"/>, etc).

This is the sort of thing I have in mind:

<message xmlns="http://www.mynamespace.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mynamespace.com my_schema_location" xmlns:fred="http://fred">
<my_valid_element fred:attribute_from_another_vocabulary="hello">...</my_valid_element>

I assume that the above would fail validation.

Thanks for any help.

Mark Seaborne


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.