]> granicus.if.org Git - docbook-dsssl/commitdiff
Convert NEWS.xml over to DB5 and modify RELEASE-NOTES.xml to
authorBob Stayton <bobs@sagehill.net>
Sat, 22 Feb 2014 00:48:55 +0000 (00:48 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 22 Feb 2014 00:48:55 +0000 (00:48 +0000)
xinclude from the namespaced elements.

releasetools/Targets.mk
xsl/RELEASE-NOTES.xml

index 823edf96f129f15987866e5ee359b75abc2d3f0f..f912e7978a5d8692126754e94fe83b710fb8caa5 100644 (file)
@@ -60,6 +60,10 @@ NEWS.xml: ChangeLog.xml
        element.file="$(DOCBOOK_ELEMENTS)" \
        param.file="$(XSL_PARAMS)"
 
+        mv NEWS.xml NEWS-4.xml
+        $(XSLT) NEWS-4.xml $(DOCBOOK_SVN)/docbook/relaxng/tools/db4-upgrade.xsl $@
+        rm NEWS-4.xml
+
 NEWS.html: NEWS.xml
        $(XSLT) $< $(DOC_LINK_STYLE) $@ \
        doc-baseuri="$(DOC_BASEURI)"
index 88609f54a87042c24bded0f0a103a3ffcf19abe4..341fb7f0f4a8ba0096c35f4a1f29ae25666cdff7 100644 (file)
@@ -42,7 +42,7 @@ changes made over the entire history of the codebase.</para>
 <para condition="snapshot">This is a pre-release “snapshot” of the
 DocBook XSL Stylesheets. The change information in the first
 section of this file 
-(for “<xi:include href="NEWS.xml" xpointer="xpointer(/article/sect1/title/text())"/>”) is
+(for “<xi:include href="NEWS.xml" xpointer="xmlns(d=http://docbook.org/ns/docbook) xpointer(/d:article/d:section/d:title/text())"/>”) is
 auto-generated from change descriptions stored in the project
 source-code repository.</para>
 <para condition="snapshot">That means the first section contains
@@ -55,7 +55,7 @@ public APIs (user-configurable parameters).</para>
 </info>
 
 <sect1 condition="snapshot" xml:id="current">
-  <xi:include href="NEWS.xml" xpointer="xpointer(/article/sect1/*)"/>
+  <xi:include href="NEWS.xml" xpointer="xmlns(d=http://docbook.org/ns/docbook) xpointer(/d:article/d:section/*)"/>
 </sect1>
 <sect1 xml:id="V1.77.0">
 <title>Release Notes: 1.77.1</title>