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: OLINKDB.XML why are enitties needed?


I just made our CHMs cross-linkable (olinks) - _really_ a nice job, I
had lots of fun =)

Well it works, but there is something I don't understand:

The olinkdb.xml file references the single target database files with an

<!ENTITY sf SYSTEM "somefile.tdb">
<document targetdoc="BOOK_SOMEFILE">&sf;</document>

i wrote a script to output olinkdb.xml and put the filenames directly in
the document element instead of declaring an entity.

<document targetdoc="BOOK_SOMEFILE">somefile.tdb</document>

But it doesn't work this way! Why? I thought entities are just replaced
by the parser in a first run, so where is the difference?
is there a way to create entity declaration with xslt? So that I could
rewrite my script?

Thx in advance,

Sebastian Fey

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