projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Testing: align test no and line no (_urls)
[pazpar2-moved-to-github.git]
/
test
/
marc21.xsl
diff --git
a/test/marc21.xsl
b/test/marc21.xsl
index
b380436
..
8c8fcfb
100644
(file)
--- a/
test/marc21.xsl
+++ b/
test/marc21.xsl
@@
-1,5
+1,4
@@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: marc21.xsl,v 1.1 2007-07-30 23:06:01 quinn Exp $ -->
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
@@
-53,8
+52,8
@@
<xsl:value-of select="$medium"/>
</xsl:attribute>
<xsl:value-of select="$medium"/>
</xsl:attribute>
- <pz:metadata type="test_usersetting_2">
- Shit:
+ <pz:metadata type="test-usersetting-2">
+ test-usersetting-2 data:
<xsl:value-of select="$test"/>
</pz:metadata>
<xsl:value-of select="$test"/>
</pz:metadata>
@@
-200,7
+199,8
@@
[@tag != '506' and @tag != '530' and
@tag != '540' and @tag != '546'
and @tag != '522']">
[@tag != '506' and @tag != '530' and
@tag != '540' and @tag != '546'
and @tag != '522']">
- <pz:metadata type="description">
+ <!-- The tag attribute below will be preserved -->
+ <pz:metadata type="description" tag="{@tag}">
<xsl:value-of select="*/text()"/>
</pz:metadata>
</xsl:for-each>
<xsl:value-of select="*/text()"/>
</pz:metadata>
</xsl:for-each>