XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] (In)Validate My Assumptions on Linking.

Peter Hunsberger wrote:

> That question can be rephrased as: do you want to describe the
> relationships in the CSS or do you want to separate the relationship
> discovery from the presentation?
> 
> In your example, the relationship is hard coded in the CSS as
> 
>    link-target: attr(moreinfo);
> 
> that's a pretty limited capability and doesn't easily allow for two
> way linking, dynamic linking or many other things that people want to
> do. 

And what if it will be possible to use full XPath for specifying CSS 
property values (IMHO something what should be there for ages)?

> Don't get hung up on my syntax here.  The point is, the concepts of
> presentation and relationship building need to be separated.

Not always, and in many situations you can't separete these two, because 
nature and destination of link usually depends on media for which you 
are styling document. If you have link from place A to place B in your 
XML file and you are then presenting this XML as two output formats 
(e.g. PDF and HTML) actual links (destination URI) will be completely 
different and depending on output media used.

For example, link <link xlink:href="intro.xml"/> can be converted to <a 
href="chap01.html">Introduction</a> for HTML output. For PDF output, 
destination URI could be something like manual.pdf#page=3.

One of flaws of XLink + XPointer was assumption that link traversal 
would occur on original XML sources. But because of lack of support for 
direct XML rendering in applications, you must convert XML to HTML or 
PDF if you want to deliver it to users. This means that you must map 
original XLinks to links between HTML or PDF files.


-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
      ** DocBook 11.-13.12.2006 ** XSL-FO 11.-12.12.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------

S/MIME Cryptographic Signature



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS