OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Cross references and label numbers?


Hi,

Is it possible to format cross references with <link xl:href="..." /> 
like those produced by <xref linkend="..." />?

I'm using DocBook v5.0 schema, and XSL's v1.69 (saxon 6.5.4 and XEP) 
with a master document containing Xinclude's to files containing 
individual chapters, and I'm trying to cross reference from one chapter 
to another.

When I do <xref linkend="..." xrefstyle="select: label"/> it will 
correctly print "Section X.Y", but of course now the file won't 
validate, as the xml:id is in a different file. If I do either: <link 
xl:href="..." xrefstyle="select: label" /> or <xref xl:href="..." 
xrefstyle="select: label" /> I get the section label, but "???" instead 
of the section number.

I've looked at the section about olinks in 
http://www.sagehill.net/docbookxsl/index.html, but I can't really 
comprehend whether that is a solution to my problem?

regards
Martin Strandbygaard
begin:vcard
fn:Martin Strandbygaard
n:Strandbygaard;Martin
email;internet:martin@strandbygaard.com
tel;home:+45 3262 0772
tel;cell:+45 5138 4891
x-mozilla-html:TRUE
version:2.1
end:vcard



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