projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
IDMETA and mk_version.tcl part of Windows package
[idzebra-moved-to-github.git]
/
examples
/
marcxml
/
identity.xsl
diff --git
a/examples/marcxml/identity.xsl
b/examples/marcxml/identity.xsl
index
0fa796e
..
21d6d6b
100644
(file)
--- a/
examples/marcxml/identity.xsl
+++ b/
examples/marcxml/identity.xsl
@@
-1,13
+1,16
@@
-<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
- version="1.0">
+ version="1.0">
+<!-- Identity transform stylesheet -->
- <xsl:output indent="yes" method="xml" version="1.0" encoding="UTF-8"/>
-
- <!-- match on alvis xml record -->
- <xsl:template match="/">
- <xsl:copy-of select="/"/>
- </xsl:template>
+<xsl:output indent="yes"
+ method="xml"
+ version="1.0"
+ encoding="UTF-8"/>
+ <xsl:template match="node()|@*">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
</xsl:stylesheet>
</xsl:stylesheet>