On Tue, Dec 2, 2008 at 10:37 AM, Michael Hafen <mdhafen@tech.washk12.org> wrote:
On Mon, 2008-12-01 at 19:31 -0500, Joshua Ferraro wrote:
On Mon, Dec 1, 2008 at 6:55 PM, Michael Hafen <mdhafen@tech.washk12.org> wrote:
I looked at it briefly for a different field, and found my understanding of XSL lacking. Adding a column to the database was the quick solution for me. XSL would also solve the specific problem you have, just turn on those two sysprefs and walla ...
Well, it's not actually that straight forward. I still have to learn how to read and modify an XSLT stylesheet. It is if all you want to solve is 245$b ... that's already in the stylesheet.
Cheers, Josh
I guess I can take another look. It might be a good solution. My thinking is that it's good to see data from the two ( potentially different ) copies of the record, what's in the database columns and what's in the marcxml column. I'll have to look again at the XSL to see where it comes from too. marcxml has a full MARCXML record blob representing the entire bibliographic and item information for that record. XSL has the advantage of being able to handle repeatable fields, wheras the current database design for Koha can only handle non-repeatable fields.
It did occur to me that the database can only handle non-repeatable fields. Luckily for me 245$b is non-repeatable in the Koha Default Biblio Template. Still I think it would be possible to handle repeatable fields, just concatenate the fields together with a seperator, but the database columns would have to be very large to do it right. That isn't really a good solution.
At any rate I will take a look at the XSL files.
This raises the question of how many others are interested in a patch to this end. Ryan may want to comment here as he has already stated that LibLime uses XSLT. Any others want to comment?
Josh
-- Michael Hafen Systems Analyst and Programmer Washington County School District Utah, USA
for Koha checkout http://koha-dev.washk12.org or git://koha-dev.washk12.org/koha
-- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS