List Info

Thread: XSLT and




XSLT and <biblio*/>
user name
2007-01-19 10:04:39
I typically need to provide bibliographic information in APA
format.

How difficult would it be for me to define role-based (book,
 
periodical, etc.) biblioentrys and process those correctly
with  
customizations to the docbook stylesheets?

Has anyone already done this? (Hoping to save myself some
work)

I manage the actual bib data by hand via an external file,
entries  
called as eg...

  <bibliography>
   <bibliomixed id="McGregor01"/>
   <bibliomixed id="Haugland03"/>
   <bibliomixed id="Hamill04"/>
   <bibliomixed id="Dibona99"/>
   <bibliomixed id="Laurant04"/>
</bibliography>

A sample entry from my biblio.xml

     <bibliomixed id="Laurant04">St.
Laurant, A., et al. <title>
             <emphasis>Understanding open source and
free software
             licensing.</emphasis>
         </title> (<date>2004</date>).
<edition>1st</edition> ed.
         <address>Sebastopol</address>:
<publisher>
             <publishername>O'Reilly Media,
Inc.</publishername>
         </publisher>
     </bibliomixed>

I really want to (hopefully) get away from building so much 

presentation information directly in the biblio entries.

What I'd like to do is something like...

     <biblioentry id="Laurant04"
role="apa">
         <title>Understanding open source and free
software  
licensing.</title>
         <date>2004</date>
         <edition>1st</edition>
         <authorgroup>
             <author>
                 <firstname>A.</firstname>
                 <surname>Laurant</surname>
             </author>
         </authorgroup>
         <publisher>
             <publishername>O'Reilly Media,
Inc.</publishername>
            
<address><city>Sebastopol</city><state&
gt;CA</state></address>
         </publisher>
     </biblioentry>

And end up with

St. Laurant, A., et al. Understanding open source and free
software  
licensing. (2004).
1st ed.Sebastopol:O'Reilly Media, Inc.

Any pointers or examples would be appreciated.

-David

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: XSLT and <biblio*/>
user name
2007-01-19 10:26:09
Ooop, My example biblioentry should be...

<bibliography role="apa">
     <biblioentry id="Laurant04"
role="book">
         <title>Understanding open source and free
software  
licensing.</title>
         <date>2004</date>
         <edition>1st</edition>
         <authorgroup>
             <author>
                 <firstname>A.</firstname>
                 <surname>Laurant</surname>
             </author>
         </authorgroup>
         <publisher>
             <publishername>O'Reilly Media,
Inc.</publishername>
            
<address><city>Sebastopol</city><state&
gt;CA</state></address>
         </publisher>
     </biblioentry>
</bibliography>



------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


Re: XSLT and <biblio*/>
user name
2007-01-21 07:11:35
Bob Stayton wrote:

> You might look into RefDB (http://ref
db.sourceforge.net/download.html).
> It lets you create an SQL database of bibliographic
entries which can be
> extracted and formatted in a variety of ways.  You may
not want to use
> its database features, but they provide some DocBook
XSL customizations
> for bibliographic entries and citations that you might
be able to adapt.

FYI: I don't know how APA format looks like but one of my
students
implemented support for ISO 690 format while ago. I will try
to
integrate this code into stylesheets during the following
weeks.

		Jirka

-- 
------------------------------------------------------------
------
  Jirka Kosek     e-mail: jirkakosek.cz     http://www.kosek.cz
------------------------------------------------------------
------
  Profesionální školení a poradenství v oblasti technologií
XML.
     Podívejte se na náš nově spuštěný web http://DocBook.cz
       Podrobný přehled školení http://xmlguru.cz/skoleni/

------------------------------------------------------------
------
                   Nejbližší termíny školení:
** XML pro vývojáře 19.-22.3.2007 ** XML schémata
16.-18.4.2007 **
        ** XSL-FO 15.-16.5.2007 ** DocBook 26.-28.6.2007 **
------------------------------------------------------------
------
  http://xmlguru.cz    Blog
mostly about XML for English readers
------------------------------------------------------------
------

  
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )