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: olink and id vs xml:id


Hi,

I'm getting inconsistent data in the target.db file when using "id" vs. 
"xml:id" (using saxon 6.5.4, docbook v5, and xsl v1.69).

When I write:
<sect1 xml:id="link1">

(as I'd assume is correct), I get:
<div element="sect1" href="#link1" number="2.2">

in the target.db, but if I do:
 <sect1 id="link2">

 I get the expected output:
 <div element="sect1" href="#link2" number="2.3" targetptr="link2">

Is this me doing something wrong, or is that the targets.xsl that hasn't 
been updated with xml:id yet? (I'm new to docbook and xslt in general, 
so I can't really tell).

I'm not getting any cross references in either case because the olinks 
cannot be resolved.

Regards
Martin Strandbygaard
begin:vcard
fn:Martin Strandbygaard
n:Strandbygaard;Martin
adr:;;;;;;Denmark
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]