This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DocBook-XML and conditional sections


On Wednesday 29 September 1999, at 11 h 26, the keyboard of Bruno Cornec 
<Bruno.Cornec@medasys-digital-systems.fr> wrote:

> I have created a new tag <urlsgml> that wml handles, which generates
> the text *and* the link to the text.

Another solution, a pure SGML one, is to create a new SGML element. Yes, it 
means writing a few lines of Scheme in the stylesheet but this one does not 
seem too complicated:

 (element urlsgml
          (make sequence
            (make element 
              gi: "A"
              attributes: `(("HREF" 
                             ,(data (current-node)))
              (data (current-node))))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]