Using ulink
Paul W. Frields
stickster at gmail.com
Thu Aug 18 15:36:55 UTC 2005
On Wed, 2005-08-17 at 13:35 -0400, Mark Johnson wrote:
> Paul W. Frields wrote:
> > On Wed, 2005-08-17 at 12:09 -0500, Tommy Reynolds wrote:
> >
> >>Uttered "Paul W. Frields" <stickster at gmail.com>, spake thus:
> >>
> >>
> >>>But wait! It gets easier. DocBook XML specifies that when the XML tag
> >>>closes itself (i.e. you don't provide any link text), the link itself is
> >>>used as the text for any rendering process. So what you should probably
> >>>do instead, for better XML readability, is this:
> >>>
> >>><ulink url="http://some.link.to/somewhere/"/>
> >>
> >>Could you (or someone who has time) check this using a small example
> >>with Apache FOP? This is so clever that it may not be implemented in
> >>some rederers. IIRC, the tentative PDF rendering solution was to
> >>involve FOP.
> >
> >
> > Great idea -- I don't have FOP, but this is defined behavior in the
> > DocBook standards (as opposed to any cleverness on my part -- I just
> > read it in DocBook:TDG!), so I'll be very surprised if it doesn't
> > deliver as promised.
>
> Keep in mind that this is the "recommended" behavior for the
> stylesheets. In reality, an implementer can do whatever she wants.
>
> Fortunately, though, the (xsl) stylesheets are mostly developed by the
> same folks who work on the DocBook schema standards, so the docbook xsl
> stylesheets are likely compliant.
>
> > I'll yield this task to someone who has it
> > installed. Is Mark Johnson out there? I thought he used FOP, but I'm
> > not sure.
>
> I'd be happy to do a FOP build if someone can suggest an FDP doc for the
> test build...
Stuart's yum tutorial "yum-software-management" uses this XML syntax, so
it would make a good test candidate.
--
Paul W. Frields, RHCE http://paul.frields.org/
gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233 5906 ACDB C937 BD11 3717
Fedora Documentation Project: http://fedora.redhat.com/projects/docs/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/docs/attachments/20050818/8ecf84d7/attachment.bin
More information about the docs
mailing list