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

Re: Renamer-att (was: Can XLink be fixed?)


Re:  Renamer-att (was: Can XLink be fixed?)
I wrote...:

| Thusly:
| 
|  <!ELEMENT  img       EMPTY
|             >
|  <!ATTLIST  img
|             xmlmap    NMTOKENS   #FIXED  "xlink foomap"
|             foomap    CDATA      #FIXED  "type type href href"
|             type      NAME       #FIXED  "simple"
|             href      CDATA      #REQUIRED
|             -- etc. --
|             >

...and butchered the example.  I meant 'src' instead of 'href', of course.
Sorry for the confusion.

Some further notes:

1.  The form-att facility becomes a special case of renamer-att with the
'#GI' keyword.  For instance, the 'type' attribute in the XLink spec is
just a stand-in for an element type concept.  So, if there were a 'simple'
element type in Xlink, the mapping could look like this

:             foomap    CDATA      #FIXED  "#GI type src src"

2.  Some systems may want something like the ArcAuto facility (where name
recognition is built-in based on prior knowledge of the relevant DTD).  In
practice, this means that the name map is trivial (the external names are
used locally in unchanged form).  This could be indicated by a keyword
"#AUTO" in the value of the xmlmap attribute (i.e. xmlmap="xlink #AUTO").

3.  Did I mention that we don't need PE's at all for this to work?
 

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.