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: Re: [docbook-apps] Entities and namespaces

I also have no problem with markup in entities using Saxon.

Somewhat related to the thread, but would perhaps be better separate.  
Indexing a finished text is a pain and involves a lot of repetitive 
typing of stuff like: <indexterm><primary> etc.
I find it a great help to think about index items whilst writing and put 
them into entities in an external file, something like this:

<!ENTITY  AtoF '<indexterm><primary>ABCDEF</primary></indexterm>ABCDEF'>

Putting &AtoF; in the text then inserts the correct text (ABCDEF) and 
also creates an index entry - and at least you get a head start on 
producing an index (and the text is not cluttered up with indexing markup.)

Extension to secondary etc. is obvious.

Keep the entity name the same (or an abbreviation close enough) so you 
don't have to learn a new language/vocabulary.

Mauritz Jeanson wrote:
> |  -----Original Message-----
> |  From: Mike Broschinsky 
> |  
> |  The follow up question is, "Where would I have learned this 
> |  information?" Is this explicitly stated somewhere, or should 
> |  I have been able to derive it from other related statements, 
> |  either in TDG or your excellent book?
> The treatment of entities and namespaces that you noticed seems to be a
> quirk specific to xsltproc (i.e., libxml2/libxslt). I could not reproduce
> the problem with Saxon or Xalan.
> There is some more information in these posts:
> http://mail.gnome.org/archives/xslt/2002-January/msg00022.html
> http://mail.gnome.org/archives/xslt/2006-September/msg00008.html
> Mauritz
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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