On Mar 2, 2006, at 7:49 PM, CPHennessy wrote:
OK, I now have some code using the DomBuilder (used in XForms) so that
I can parse and store the Citation in a DOM.
Excellent.
Now *all* I need to do is to properly associate this with a
Bibliography text field, and at a minimum to hook the mechanism for
the generation of the citation string (XTextField::getPresentation() ?
(not sure exactly how to do that, but .. )
I'm not really sure exactly how all this ought to fit together. I had
imagined some kind of createReferenceList() method that would create an
array of reference objects, and then from the citations your
getPresentation() method to grab the formatted text. There would then
be something similar for the bibliography formatting.
Does that make any sense?
The devil is in the details*, and so am not sure the best way.
Bruce
* see this example output from my citeproc stylesheets:
<http://xbiblio.sourceforge.net/citeproc/examples/apa-en.html>
If you look carefully, the formatting is partly dependent on relative
position. See the "ibid" example, and note 2.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]