|
From: Mary D. <Mar...@Su...> - 2001-04-26 12:50:37
|
hi Daniel I am somewhat confused on this issue too. I sent a mail earlier today, that= you=20 may have not received, which relates to this (see attached). The main point is the problem of having scrollkeeper generating ids relatin= g to=20 the original document. Specifically: from what I understand the convertor at run time generates ids where requir= ed=20 (using generate-id() ). However, I don't believe scrollkeeper=20 can predict what these ids will be because: 1) scrollkeeper may use a different convertor to the 'run-time' convertor. 2) even if the same convertor is used the w3.org description indicates that= =20 "An implementation is under no obligation to generate the same identifiers each time a document is transformed." see http://www.w3.org/TR/xslt#function-generate-id Is this a correct assumption or have I misunderstood this (which is entirel= y=20 possible :-) ) cheers Mary > Date: Thu, 26 Apr 2001 08:32:35 -0400 > From: Daniel Veillard <vei...@re...> > To: L=E1szl=F3 Kov=E1cs <las...@Su...> > Cc: vei...@re..., Dan Mueth <da...@ea...>, Mary Dwyer=20 <Mar...@Su...>, scr...@li...,=20 gno...@gn... > Subject: Re: [Scrollkeeper-devel] structure of extracted index page > Mime-Version: 1.0 > Content-Disposition: inline > Content-Transfer-Encoding: 8bit > User-Agent: Mutt/1.2.5i >=20 > On Thu, Apr 26, 2001 at 12:13:25PM +0100, L=E1szl=F3 Kov=E1cs wrote: > > > > Yes, sections with no IDs are ignored during TOC extraction. > > >=20 > > > Hum, this should probably be improved ... >=20 > That is sure. >=20 > > > C.f. my other mail for a possible technical solution. >=20 > Now whether XPointer can help w.r.t. the addressability then it really > depends what need to be addressed. >=20 > > Are you talking about the XPointer email? I dont understand how that > > helps us here. Our problem is that if a section does not have a unique > > id then Scrollkeeper and gnome-db2html[2|3] can jump there only if they > > generate an id to this section which is the same in both Scrollkeeper > > and the convertor. >=20 > What do you mean by jump here: > - if the here is an XML document, then I assume the document is > handled by libxml and hence XPointer can be used > - if the here is an HTML document, then XSLT has a=20 > generate-id() function which can be used to generate a unique ID > for this element, and pointing is also possible using the existing > #name framework. >=20 > Did i missed something ? >=20 > Daniel >=20 > --=20 > Daniel Veillard | Red Hat Network http://redhat.com/products/network= / > vei...@re... | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ > http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ ~ I speak for myself, not for my employer ~ =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D Mary Dwyer Desktop Applications & Middleware Grp Sun Microsystems Ireland Tel: +353-1-8199222 (xt 19222) Fax: +353-1-8199078 email: mar...@ir... =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D= -=3D |