Ryan Brooks wrote:
> I am trying to input a date into a DocBook article I?m creating. How can
> I do this? There seems to be no way of setting the attribute pubdate,
> which is specified in the DocBook manuals, and manually adding it
> creates a schema error on loading into XMLMind.
> 
> Any way of doing this would be greatly appreciated,

Select the "title" of the "article" and use Edit|Replace to replace it
by "articleinfo".

By default, a new "articleinfo" contains useless "date".

In this "articleinfo", add "title", "pubdate", "author", etc, child
elements using Edit|Insert Before and/or Edit|Insert After.

Once you have done that, get rid of useless "date" child element. Select
it and use Edit|Delete.

All this can be *automated* by replacing default, "title"-based, article
template (XXE_install_dir/addon/config/docbook/template/article.xml) by
an "articleinfo"-based one.

If you are writing "book"s instead of "article"s, do the same with
"bookinfo" instead of "articleinfo".

See attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: article.xml
Type: text/xml
Size: 323 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20051110/0af61389/attachment.xml
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: book.xml
Type: text/xml
Size: 361 bytes
Desc: not available
Url : 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20051110/0af61389/attachment-0001.xml
 

Reply via email to