|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: X-Referencing
Jeremy Quinn wrote: >Thing is, I am using the <link> tag in two different ways. >As a "container" and as a "pointer". >Is it possible to write a DTD that will be smart enough to validate >both usages? > >Can you say for instance that in one situation it has to have an "id" >attribute and "ref" element, while in another it has to have an "idref" > attribute? Nope. >I could come up with a new name, but I like the symmetry. Well, in an approach that I believe reasonable, bearing the same name implies sharing the same function. The two usages of <link> are related but opposite by their function (link origin vs. link target). They are antisymmetrical rather than symmetrical, and I see no aesthetic reasons for keeping them homonymous (though "de gustibus non est disputandum" ;-)). Cheers, Nikolai XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








