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

xml:base

  • From: "Ogievetsky, Nikita" <nikita.ogievetsky@c...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Thu, 23 Dec 1999 03:08:37 +0800

xml base

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...)



  • Follow-Ups:
    • RE: base
      • From: "David Orchard" <orchard@p...>

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.