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] Links, XML, IE+NS Support
by Michael Kay other posts by this author
Nov 18 2002 4:57PM messages near this date
[xml-dev] Links, XML, IE+NS Support | Re: [xml-dev] Links, XML, IE+NS Support
>  How do I include a link to another document in XML?

Any way you like. Just include a URL (absolute or relative) somewhere in
the structure, or some other information (such as an account number)
from which you can calculate a URL.

Use an XPointer if you feel like it; but since there's not much software
support for XPointer this doesn't add much value.

What do you want to do with the XML? If you want to convert it to HTML
for display, using an XSLT stylesheet, then the link in your XML should
be something you can convert to an <A>  element in the HTML.


>  I don't want to use XML Namespaces as they do not work properly for
this purpose ( I have the XML bound to a html table in a HTML document,
It does not work in both IE6(with and without SP1) and NS7 with
namespaces used. (Including XLINK)
 
Namespaces are completely orthogonal to linking, so I can't see why you
should expect namespaces "to work properly for this purpose".

Michael Kay
Software AG
home: Michael.H.Kay@[...].com
work: Michael.Kay@[...].com 


-----------------------------------------------------------------
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:

Michael Kay
Jonathan Borden

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved