summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-01-16 15:27:31 +0000
committerPaul W. Frields <stickster@gmail.com>2006-01-16 15:27:31 +0000
commit4e5731bb5def750b493b5b7a7100cd9255dd21fa (patch)
treef1fd8383fd036f29caf68b9dda0905eda06555ea /packaging
parentefc1e5c49270c853a91257f31719209a6abd4301 (diff)
downloadfedora-doc-utils-4e5731bb5def750b493b5b7a7100cd9255dd21fa.tar.gz
fedora-doc-utils-4e5731bb5def750b493b5b7a7100cd9255dd21fa.tar.xz
fedora-doc-utils-4e5731bb5def750b493b5b7a7100cd9255dd21fa.zip
Make spacing more properly XMLish
Diffstat (limited to 'packaging')
-rw-r--r--packaging/info2rpminfo.xsl11
1 files changed, 7 insertions, 4 deletions
diff --git a/packaging/info2rpminfo.xsl b/packaging/info2rpminfo.xsl
index 40b46d4..4809b0f 100644
--- a/packaging/info2rpminfo.xsl
+++ b/packaging/info2rpminfo.xsl
@@ -1,5 +1,5 @@
<!-- Transform bookinfo|articleinfo section into FDP's rpm-info -->
-<xsl:stylesheet version="1.0" xml:space="preserve" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding="UTF-8" indent="yes" method="xml" standalone="yes"
omit-xml-declaration="no" version="1.0" doctype-system="../docs-common/packaging/rpm-info.dtd"/>
@@ -10,6 +10,7 @@
<xsl:template match="bookinfo|articleinfo" name="info">
<xsl:element name="rpm-info">
<xsl:apply-templates select="authorgroup"/>
+ <xsl:comment>CHECK LICENSING BELOW</xsl:comment>
<xsl:element name="license">
<xsl:element name="rights">GNU FDL</xsl:element>
<xsl:element name="version">1.0</xsl:element>
@@ -29,8 +30,10 @@
<xsl:template match="authorgroup">
<xsl:element name="colophon">
+ <xsl:comment>PLEASE ADD EMAIL ADDRESSES AND ENSURE</xsl:comment>
+ <xsl:comment>"id" ATTRIBUTES MATCH "worker" ATTRIBUTES</xsl:comment>
+ <xsl:comment>IN "changelog/author ELEMENTS.</xsl:comment>
<xsl:comment>Only author|editor|othercredit processed.</xsl:comment>
- <xsl:comment>PLEASE ADD EMAIL ADDRESSES.</xsl:comment>
<xsl:comment>You may remove these comments after editing.</xsl:comment>
<xsl:apply-templates select="author"/>
<xsl:apply-templates select="editor"/>
@@ -51,7 +54,7 @@
<xsl:attribute name="othername"><xsl:value-of select="othername"/></xsl:attribute>
<xsl:attribute name="id"><xsl:value-of select="firstname"/><xsl:value-of select="surname"/></xsl:attribute>
<xsl:attribute name="email"><xsl:if test="email"><xsl:value-of select="email"/></xsl:if></xsl:attribute>
- <xsl:attribute name="wholename"><xsl:value-of select="firstname"/><xsl:if test="othername"> <xsl:value-of select="othername"/></xsl:if> <xsl:value-of select="surname"/></xsl:attribute>
+ <xsl:attribute name="wholename"><xsl:value-of select="firstname"/><xsl:if test="othername"><xsl:text> </xsl:text><xsl:value-of select="othername"/></xsl:if><xsl:text> </xsl:text><xsl:value-of select="surname"/></xsl:attribute>
<xsl:attribute name="initials"><xsl:value-of select="firstname"/><xsl:value-of select="surname"/></xsl:attribute>
</xsl:attribute-set>
@@ -65,7 +68,7 @@
<xsl:template name="translation">
<xsl:element name="title"><xsl:value-of select="."/></xsl:element>
- <xsl:element name="desc">PLEASE ADD BOOK/ARTICLE DESCRIPTION TO RPM-INFO</xsl:element>
+ <xsl:element name="desc"><xsl:comment>PLEASE ADD BOOK/ARTICLE DESCRIPTION TO RPM-INFO</xsl:comment></xsl:element>
<!-- Sorry, can't langify out of separate docs right now. -->
</xsl:template>