From c4c6601bc06100f78695af545461f604260529f2 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 20 Aug 2012 11:25:01 +0200 Subject: [PATCH] Avoid empty content in tmarc.xsl output --- etc/tmarc.xsl | 409 +++++++++++++++++++++++++++++++-------------------- test/tmarc1.res.xml | 14 -- test/tmarc2.res.xml | 16 +- test/tmarc3.res.xml | 18 +-- test/tmarc4.res.xml | 2 - test/tmarc5.res.xml | 15 -- test/tmarc6.res.xml | 17 --- test/tmarc7.res.xml | 11 -- test/tmarc8.res.xml | 20 --- test/tmarc9.res.xml | 7 - 10 files changed, 251 insertions(+), 278 deletions(-) diff --git a/etc/tmarc.xsl b/etc/tmarc.xsl index faaa3ab..ce1b5a0 100644 --- a/etc/tmarc.xsl +++ b/etc/tmarc.xsl @@ -169,34 +169,44 @@ - - - + + + + + - - - + + + + + - - - + + + + + - - - + + + + + - + - - - + + + + + - + @@ -211,48 +221,68 @@ - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + - + - - - - - - - - - + + + + + + + + + + + + + + + - - - + + + + + - + @@ -265,96 +295,143 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + @@ -409,10 +486,12 @@ tmarc:d648 | tmarc:d650 | tmarc:d651 | tmarc:d653 | tmarc:d654 | tmarc:d655 | tmarc:d656 | tmarc:d657 | tmarc:d658 | tmarc:d662 | tmarc:d69X"> - - - - + + + + + + , @@ -433,32 +512,40 @@ - - - + + + + + - - - - - - - - - - - Get resource - - - - - - - - - - + + + + + + + + + + + Get resource + + + + + + + + + + + + + + + + @@ -468,11 +555,11 @@ - + - + - + @@ -543,16 +630,16 @@ - + - + - - + + - + - + diff --git a/test/tmarc1.res.xml b/test/tmarc1.res.xml index a50090a..d5c2397 100644 --- a/test/tmarc1.res.xml +++ b/test/tmarc1.res.xml @@ -1,29 +1,15 @@ - Sloman - - 2002 On the road with Bob Dylan - - - - - On the road with Bob Dylan Revised edition New York Three Rivers Press 2002 xv, 464 sider, tavler - - - - - - Tidligere: 1. udgave. New York, Bantam, 1978 book no diff --git a/test/tmarc2.res.xml b/test/tmarc2.res.xml index b690083..bce5221 100644 --- a/test/tmarc2.res.xml +++ b/test/tmarc2.res.xml @@ -1,28 +1,14 @@ - Mimms - - 1995 Cry baby - - - - - + Warm and soulful Cry baby Bury St. Edmunds BGO 1995 - - - - - - - book no diff --git a/test/tmarc3.res.xml b/test/tmarc3.res.xml index cf6766d..ddd115f 100644 --- a/test/tmarc3.res.xml +++ b/test/tmarc3.res.xml @@ -1,31 +1,17 @@ - - - Byfornyelse ved Ibsen-Ringen - - - - - Byfornyelse ved Ibsen-Ringen - farvefoto - - - - - - + plan + snit byfornyelse - sanering Telje Torp Aasen Arkitektkontor Telje Torp Aasen Arkitektkontor, Kristian Augustsgate 7B Eng, Dagfin Eng, Dagfin - anlund, Tom, Kristian Augustsgate, Pilestredet 19 web no diff --git a/test/tmarc4.res.xml b/test/tmarc4.res.xml index a2ea977..966fc24 100644 --- a/test/tmarc4.res.xml +++ b/test/tmarc4.res.xml @@ -1,8 +1,6 @@ - - - other no diff --git a/test/tmarc5.res.xml b/test/tmarc5.res.xml index cf68d05..5fa0c5b 100644 --- a/test/tmarc5.res.xml +++ b/test/tmarc5.res.xml @@ -2,29 +2,14 @@ 000277485 - Μαρούδης, Κωνσταντίνος Ιω - - 1894 Ελληνικόν κρυπτογραφικόν λεξικόν / - Κωνστ. Ι. Μαρούδης. - - - Ελληνικόν κρυπτογραφικόν λεξικόν / - Αθήνα, - 1894. 248 σελ. - - - - - - Greek language, Modern Greek language, Modern, Dialects, Dictionaries Cryptography. diff --git a/test/tmarc6.res.xml b/test/tmarc6.res.xml index 10d1ca2..5665ab0 100644 --- a/test/tmarc6.res.xml +++ b/test/tmarc6.res.xml @@ -2,29 +2,12 @@ 11224466 - 11224466 Jack Collins - - - How to program a computer - - - - - How to program a computer Penguin - - p. cm. - - - - - - book no diff --git a/test/tmarc7.res.xml b/test/tmarc7.res.xml index 449b87e..dc96c3a 100644 --- a/test/tmarc7.res.xml +++ b/test/tmarc7.res.xml @@ -2,29 +2,18 @@ 77123332 - 77123332 57779 90490 93202 2001 Voyager Diacritic test -- New input 001 (SBIE). - - - - - Voyager Diacritic test -- New input 001 (SBIE). ny : ny, 2001. 100 p. ; - 12 cm. - - - - New copy imported from file (8/12/99). VOYAGER COLUMN 0 (NEW): Degree sign (°); Phono Copyright mark (℗); Copyright mark (©); Sharp (♯); Inverted Question mark (¿); Inverted Exclamation mark (¡). VOYAGER COLUMN 1: Script L (ℓ); Polish L (Ł); Scandanavian O (Ø); D with Crossbar (Đ); Icelandic Thorn (Þ); AE Digraph (Æ); OE Digraph (Œ); Miagkii Znak (ʹ); Dot at Midline (·). diff --git a/test/tmarc8.res.xml b/test/tmarc8.res.xml index 0ea5e4e..609ae7b 100644 --- a/test/tmarc8.res.xml +++ b/test/tmarc8.res.xml @@ -2,29 +2,17 @@ UCD-002592301 - 99851339eo Clinton, Atkinson. - - 1583? Clinton, Purser & Arnold, to their countreymen wheresoeuer Wherein is described by their own hands their vnfeigned penitence for their offences past: their patience in welcoming their death, & their duetiful minds towardes her most excellent Maiestie - - [electronic resource] : - Clinton, Purser & Arnold, to their countreymen wheresoeuer Wherein is described by their own hands their vnfeigned penitence for their offences past: their patience in welcoming their death, & their duetiful minds towardes her most excellent Maiestie London : Imprinted by Iohn Wolfe and are to be sold [by W. Wright] at the middle shop in the Poultry, ioyning S. Mildreds Church, [1583?] [12] p - - - - - - In verse The first poem is signed: Thomas Walton alias Purser Clinton's full name and bookseller's name from, and publication date conjectured by, STC @@ -37,23 +25,15 @@ http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 Get resource Restricted to UC campuses - - http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 Get resource Restricted to UC campuses - - http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 Get resource Restricted to UC campuses - - http://gateway.proquest.com/openurl?ctx_ver=Z39.88-2003&res_id=xri:eebo&rft_val_fmt=&rft_id=xri:eebo:image:16610 Get resource Restricted to UC campuses - - Internet book (electronic) no diff --git a/test/tmarc9.res.xml b/test/tmarc9.res.xml index 305b1b1..e545673 100644 --- a/test/tmarc9.res.xml +++ b/test/tmarc9.res.xml @@ -9,9 +9,6 @@ Qaḍāʼ al-usrah : majallah mutakhaṣṣiṣah / Wizārat al-ʻAdl. - - - Qaḍāʼ al-usrah : majallah mutakhaṣṣiṣah / al-Rabāṭ : Jamʻīyat Nashr al-Maʻlūmah al-Qānūnīyah wa-al-Qaḍāʼīyah, @@ -19,10 +16,6 @@ v. : ill. ; 24 cm. - - - - Some issues have also a distinctive title. Latest issue consulted: al-ʻAdad 3. (Dujanbir 2006). Domestic relations (Islamic law) -- 1.7.10.4