mirror of
https://github.com/boostorg/boostbook.git
synced 2025-05-09 15:03:57 +00:00
Merge pull request #9 from Kojoley/autogenerate-reference.xml
Added reference.xml auto-generation from dtdxml
This commit is contained in:
commit
7b52b318f1
@ -7,7 +7,11 @@
|
||||
project boostbook/doc ;
|
||||
import boostbook : boostbook ;
|
||||
|
||||
xml reference : reference.dtdxml : <location>. ;
|
||||
explicit reference ;
|
||||
|
||||
boostbook boostbook : boostbook.xml :
|
||||
<xsl:param>boost.root=../../../..
|
||||
<dependency>reference
|
||||
;
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
created-on="Wed Feb 18 23:39:45 2009"
|
||||
>
|
||||
<attpurpose name="id">A global identifier for this element</attpurpose>
|
||||
<attpurpose name="last-revision">Set to $Date: 2003/04/13 14:46:07 $ to keep "last revised" information in sync with CVS changes</attpurpose>
|
||||
<attpurpose name="last-revision">Set to $Date$ to keep "last revised" information in sync with CVS changes</attpurpose>
|
||||
<attpurpose name="xml:base">Implementation detail used by XIncludes</attpurpose>
|
||||
<attpurpose name="name">The name of the element being declared to referenced</attpurpose>
|
||||
<attpurpose name="filename">The name of the file associated with this element</attpurpose>
|
||||
|
File diff suppressed because one or more lines are too long
@ -18,7 +18,16 @@
|
||||
<xsl:key name="attribute-purposes" match="attpurpose" use="@name"/>
|
||||
|
||||
<xsl:template match="dtd">
|
||||
<section id="reference">
|
||||
<xsl:comment>
|
||||
Copyright (c) 2002 Douglas Gregor <doug.gregor -at- gmail.com>
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0.
|
||||
(See accompanying file LICENSE_1_0.txt or copy at
|
||||
http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
This file is automatically generated by dtd2boostbook.xsl
|
||||
</xsl:comment>
|
||||
<chapter id="reference">
|
||||
<title>Reference</title>
|
||||
<para>
|
||||
<xsl:text>Elements:</xsl:text>
|
||||
@ -29,7 +38,7 @@
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<xsl:apply-templates select="element"/>
|
||||
</section>
|
||||
</chapter>
|
||||
</xsl:template>
|
||||
|
||||
<!-- Element synopsis -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user