--- Jeremy Malcolm <[EMAIL PROTECTED]> wrote:
> Jeremy Malcolm wrote:
> > I can't see how my code differs from that in
> docbookwiki_guide, which
> > (of course) works:
> >
> > * <imagedata fileref="diagram.png" width="269"
> align="right"/>
>
> Sorry, I've since figured out the problem.
>
> The problem was that the above example from
> docbookwiki_guide is wrong.
> :-) But the underlying problem was that I should
> have paid less
> attention to docbookwiki_guide (which suggests that
> no path information
> is required in the original XML source) and more to
> Dashimir, who told
> me that path information is required. Probably
> docbookwiki_guide needs
> to be updated (under "edit_modes/html/html-img") to
> reflect this.
I think that docbookwiki_guide is right (so you
should pay attention to both). The problem is that
you have missunderstood something or that it has
not been explained sufficiently well.
The point is that when you _edit_ the content you
don't need to give any path information, because
it is the same as the path of the current node that
is being edited (so, it would be redundent).
However, when the XML chunks are imploded to create
a full XML/DocBook document, @fileref is modified
automatically to include the path information.
Also, when an XML/DocBook document is imported,
imagedata/@fileref should have the path information.
This is the convention. In case that the original
XML file does not have the correct path information,
then it needs to be pre-processed before being
imported, in order to have the correct path.
In general, if an external document has to be
imported in DocBookWiki, but it does not satisfy
the conventions of DocBookWiki, it needs to be
pre-processed first (preferably with an XSL
transformer), before it is imported.
Now the question is: can DocBookWiki make this
pre-processing itself, automatically, before
importing an external document? It can be; it
has to be tried.
By the way, another convention of DocBookWiki
is that it uses only the element <section>,
instead of <sect1>, <sect2>, etc.
Dashamir
>
> Also, can we please add "table support" as a feature
> request for the future?
>
> Thanks!
>
> --
> Jeremy Malcolm LLB (Hons) B Com
> Internet and Open Source lawyer, IT consultant,
> actor
> host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F!
> '{print $3}'
>
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
> express and take
> control of your XML. No limits. Just data. Click to
> get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Doc-book-users mailing list
> [email protected]
>
https://lists.sourceforge.net/lists/listinfo/doc-book-users
>
____________________________________________________________________________________Building
a website is a piece of cake. Yahoo! Small Business gives you all the tools to
get online.
http://smallbusiness.yahoo.com/webhosting
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Doc-book-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doc-book-users