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

Re: RDDL and Schema Localization

  • From: Jonathan Borden <jborden@m...>
  • To: Jeff Rafter <jeffrafter@e...>
  • Date: Fri, 12 Jan 2001 13:33:37 -0500

xml localization resource schema
Jeff Rafter wrote:


> Just another idea to throw onto the fire:  Could there be an example of
> utilizing RDDL for schema localization that would be of use?  My thinking
> would be to include an identifier for the language [1] (maybe also
> encoding?) of a particular shcema that could be used based on the instance
> of the document.  (I don't know if that identifier should be stored in
> arcrole or not based on recent threads).  For instance:

This is a great use case.

>
> <html xmlns:html='.../xhtml'>
>  . . .
>  <rddl:resource xl:type='simple'
>                 xl:arcrole='en'
>                 xl:role='http://www.w3.org/2000/10/XMLSchema'
>                 xs:href='http://www.example.com/Schemas/myns-en.xsd'/>
>  <rddl:resource xl:type='simple'
>                 xl:arcrole='de'
>                 xl:role='http://www.w3.org/2000/10/XMLSchema'
>                 xs:href='http://www.example.com/Schemas/myns-de.xsd'/>
> . . .
> </html>
>
> Of course arcrole is probably wrong, but I am just throwing out the basic
> concept.
>
> [1] http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt

Sure, the rddl:resource element has an optional xml:lang attribute which can
be used to localize resources, this needs to be explicitly stated with
examples.

-Jonathan



PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.