ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] Renamer-att (was: Can XLink be fixed?)
by Arjun Ray other posts by this author
Aug 24 2002 11:01PM messages near this date
[xml-dev] Renamer-att (was: Can XLink be fixed?) | Re: [xml-dev] Re: 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?
 

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl> 
Thread:

Rick Jelliffe
Henry S. Thompson
Norman Walsh
Norman Walsh
Paul Prescod
Simon St.Laurent
Norman Walsh
Simon St.Laurent
Robin Berjon
=?iso-8859-1?Q?Bill_de_h=D3ra?=
Simon St.Laurent
Paul Prescod
Simon St.Laurent
Robin Berjon
Simon St.Laurent
Simon St.Laurent
Norman Walsh
Simon St.Laurent
Norman Walsh
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
J. David Eisenberg
Norman Walsh
J. David Eisenberg
Robin Berjon
Norman Walsh
Simon St.Laurent
Norman Walsh
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
Shane McCarron
Simon St.Laurent
Joe English
Norman Walsh
Simon St.Laurent
Keith W. Boone
Arjun Ray
Arjun Ray
Rick Jelliffe
Simon St.Laurent
Simon St.Laurent
Tim Bray
Simon St.Laurent
Tim Bray
Simon St.Laurent
Elliotte Rusty Harold
Simon St.Laurent
Lars Marius Garshol
Bob DuCharme
Elliotte Rusty Harold
Didier PH Martin
Elliotte Rusty Harold
Simon St.Laurent
Elliotte Rusty Harold
Norman Walsh
Tim Bray
Simon St.Laurent
Tim Bray
Simon St.Laurent
Simon St.Laurent
Simon St.Laurent
Ann Navarro
Simon St.Laurent
Elliotte Rusty Harold
Simon St.Laurent
Simon St.Laurent
Elliotte Rusty Harold
Simon St.Laurent
John Cowan
Rick Jelliffe
Simon St.Laurent
John Cowan
Simon St.Laurent
John Cowan
Simon St.Laurent
Mike Champion
Didier PH Martin
John Cowan
Mike Champion
Simon St.Laurent
Norman Walsh
Tim Bray
Simon St.Laurent
Rick Jelliffe
Norman Walsh
Masayasu Ishikawa
John Cowan
Jeff Rafter

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved