DocBook - xml questions

Bengt Thuree bengt at thuree.com
Fri Apr 14 02:50:33 EDT 2006


On Fr, 2006-04-14, 15:24, Neil Williams skrev:
>> > ===> <imagedata fileref="figures/XXXX" srccredit="YYY ZZZ"
>> format="PNG"/>
>> > ===> ends with a /> in every chapter file.
>
> Could be why the images aren't located by SGML tools.
> ;-)

Fixed this already in ch1 and ch2.
Will fix it in the other chapters as I go along...

>
>> > b. Avoid a newline after <entry> tags.
>> > 	        e.g. <entry><para> instead of <entry>\n<para>
>
> Another SGML oddity but I don't have an explanation - it was just
> something
> that choked the SGML-based parsers that I tried. (docbook2pdf mainly).

Don't think we have this one though. But will check each chapter as I go
along.

>
>> > c. Avoid underscores in id attribute values.
>> >  	        e.g. id="getting-started" instead of id="getting_started"
>> > ===>  <sect2 id="invest_custom2">
>> > ===> Found that sect2 in every chapter have id="xxxx_"
>
> That's the SGML parser again. Again, I don't have a good answer why this
> would
> be wrong (I can't see that it's actually invalid) but it does workaround
> the
> SGML problems.

Fixed this already in ch1 and ch2.
Will fix it in the other chapters as I go along...

> Neil Williams
/Bengt



More information about the gnucash-devel mailing list