Next in thread → Next in month →

Re: [docbook-apps] Docbook-rng link within entry Element

From
Bob Stayton <>
Date
2006-02-02T02:50:21+00:00
ID
014001c627a3$65635900$6400a8c0@toshiro
Thread
Re: [docbook-apps] Docbook-rng link within entry Element
Hi Ray,
In v5, the important element itself accepts an xlink:href attribute, as do
most elements in v5.  So you would not need to wrap a block element
(important) inside an inline element (link) to form a link.  Now, whether
the stylesheet can deal with it is another matter.  How would you expect a
block element to be formatted as a link?  In HTML, would the entire text of
important be link text?

Bob Stayton
Sagehill Enterprises
DocBook Consulting



----- Original Message ----- 
From: Ray Miller
To: 
Sent: Friday, January 27, 2006 3:37 PM
Subject: [docbook-apps] Docbook-rng link within entry Element


docbook-rng-5.0b2 docbook-xsl-1.69.1 oxygen-7.0 (eclipse plug-in)
saxon-6.5.5

The following table fragment:

    ..
    ..
    <entry><link ns1:href="http://www.foo.org/
"><important><para>foo</para></important></entry>
    ..
    ..

will not validate while

    ..
    ..
    <entry><link ns1:href="http://www.foo.org "/></entry>
    ..
    ..

or

    ..
    ..
    <entry><important><para>foo</para></important></entry>
    ..
    ..

will validate

Is this by design or an oversight?

ps: xmlns:ns1="http://www.w3.org/1999/xlink" is declared in the root


Ray
Next in thread → Next in month →