[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|