[Home] [By Thread] [By Date] [Recent Entries]
2 basic questions about XML Base :-) : 1. If I specify xml:base on XML fragment there is no way to reference local resources within this fragment? this is poor... 2. What if I want 2 or 3 bases? Impossible? like this: <my:a base="mylinks" href="some.html> <my:img base="myimages" src="img.gif"/> </my:a> I think that a reasonable solution will be to allow alias ing xml:base like it is done with namespaces. May be something like this: <AAA xmlns="yyy.yyy.yyy" xmlns:xxx="xxx.xxx.xxx" base:w3tr="http://www.w3.org/TR" base:cot="http://www.cogx.com/xml99"> <slink base="cot" href="xity" title="XLink visualiser"/> <slink base="w3tr" href="xmlbase" title="XML Base Working Draft"/> <slink base="w3tr" href="xlink" title="XML Link Working Draft"/> ... </AAA> Actually I am already sinning like this for quite some time. It works, it is easy, I enjoy it. If somebody (and probably quite a few) have problems with this base elements can be specified individually: <AAA> <base alias="w3tr" href="http://www.w3.org/TR"/> <base alias="cot" href="http://www.w3.org/TR"/> <slink base="cot" href="xity" title="XLink visualiser"/> <slink base="w3tr" href="xmlbase" title="XML Base Working Draft"/> <slink base="w3tr" href="xlink" title="XML Link Working Draft"/> </AAA> With best regards, Nikita Ogievetsky nogievet@o... http://www.cogx.com This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. CREDIT SUISSE GROUP, CREDIT SUISSE FIRST BOSTON, and each of their subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To unsubscribe, mailto:majordomo@i... the following message; unsubscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|

Cart



