[odf-discuss] Opportunity to move from (adapted) DocBook toOpenDocument

Søren Roug Soren.Roug at eea.europa.eu
Tue Jul 31 04:06:41 EDT 2007


It looks like your intention is to tag all references to Fred with an identifier.

In that case, try to look at 7.1.2 User-Defined Index Marks in the OpenDocument Spec.

The tag would be something like:

<text:user-index-mark-start text:id="Actor_1" text:index-name="Actors"/>Fred<text:user-index-mark-end text:id="Actor_1"/>

--
Sincerely yours / Med venlig hilsen, Søren Roug <soren.roug at eea.europa.eu> 
European Environment Agency, Kongens Nytorv 6, DK-1050 Copenhagen K 
Tel: +45 3336 7212 Fax: +45 3336 7199 Jabber: roug at jabber.eea.europa.eu
Please consider the environment before deciding to print this email.


|| -----Original Message-----
|| From: odf-discuss-bounces at opendocumentfellowship.org 
|| [mailto:odf-discuss-bounces at opendocumentfellowship.org] On 
|| Behalf Of Frederic Peters
|| Sent: Monday, July 30, 2007 11:45 PM
|| To: odf-discuss at opendocumentfellowship.org
|| Subject: [odf-discuss] Opportunity to move from (adapted) 
|| DocBook toOpenDocument
|| 
|| Hello all, first message on this list, it is quite technical 
|| compared to
|| the recent messages, but I didn't find a better place to 
|| ask, feel free to
|| redirect me to the right mailing list if it exists.
|| 
|| I am currently studying the conversion of a large corpus of documents
|| currently written in a slightly edited DocBook format (with 
|| some field
|| specific semantics added) to OpenDocument.  Those semantic 
|| elements are
|| then used afterwards to provide HTML and PDF versions with 
|| links and other
|| niceties.  I am sorry I can't tell more at the moment.
|| 
|| After reading the spec (not everything but most of the text related
|| things) and playing with OpenOffice.org, I didn't find 
|| anything really
|| convincing; I may do somethinglike this but don't like it much:
|| 
||   <text:p>
||     So I called <text:user-field-get text:name="Actor_1">Fred
||     </text:user-field-get> but he didn't answer.
||   </text:p>
|| 
|| 
|| This is after I tried to to it with a custom namespace, like this:
|| 
||   <text:p>
||     So I called <my:actor ref="1">Fred</my:actor> but he didn't
||     answer.
||   </text:p>
|| 
|| which was nice but didn't display the name in OOo.
|| 
|| 
|| So, going past my local problem, are there guide lines, best 
|| practices,
|| about extending ODF for specific domains, while remaining 
|| compatible with
|| both the specification and the applications and tools ?
|| 
|| 
|| 
|| Thanks for reading this,
|| 
||         Frederic
|| _______________________________________________
|| odf-discuss mailing list
|| odf-discuss at opendocumentfellowship.org
|| http://lists.opendocumentfellowship.org/mailman/listinfo/odf-discuss
|| 



More information about the odf-discuss mailing list