You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2002/10/30 16:15:36 UTC
cvs commit: xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/subdir book.xml index.xml
jefft 2002/10/30 07:15:35
Modified: src/resources/fresh-site/src/documentation/content/xdocs
book.xml sample.xml
Added: src/resources/fresh-site/src/documentation/content/xdocs/subdir
book.xml index.xml
Log:
- Update the content and fix broken links
- Add a subdirectory to demonstrate the basic idea
Revision Changes Path
1.3 +18 -13 xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/book.xml
Index: book.xml
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/book.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- book.xml 11 Oct 2002 15:44:38 -0000 1.2
+++ book.xml 30 Oct 2002 15:15:35 -0000 1.3
@@ -1,16 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN" "book-cocoon-v10.dtd">
+<!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN" "book-cocoon-v10.dtd">
- <book software="MyProj"
- title="MyProj"
- copyright="@year@ The Apache Software Foundation"
- xmlns:xlink="http://www.w3.org/1999/xlink">
+<book software="MyProj"
+ title="MyProj"
+ copyright="@year@ The Apache Software Foundation"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
- <menu label="About">
- <menu-item label="Index" href="index.html"/>
- <menu-item label="Sample page" href="sample.html"/>
- <!-- Add new entries here, or in a new menu. Consult the DTD for valid elements -->
- <menu-item label="Changes" href="changes.html"/>
- <menu-item label="Todo" href="todo.html"/>
- </menu>
- </book>
+ <menu label="About">
+ <menu-item label="Index" href="index.html"/>
+ <menu-item label="Sample page" href="sample.html"/>
+ <!-- Add new entries here, or in a new menu. Consult the DTD for valid elements -->
+ <menu-item label="Changes" href="changes.html"/>
+ <menu-item label="Todo" href="todo.html"/>
+ </menu>
+
+ <menu label="Subdir">
+ <menu-item label="index" href="subdir/index.html"/>
+ </menu>
+
+</book>
1.2 +10 -10 xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/sample.xml
Index: sample.xml
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/sample.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sample.xml 11 Oct 2002 15:24:33 -0000 1.1
+++ sample.xml 30 Oct 2002 15:15:35 -0000 1.2
@@ -10,7 +10,7 @@
<code>document-v11.dtd</code>.</abstract>
</header>
<body>
- <p>This is a simple paragraph. Most documents contain a fair amount of
+ <p id="top">This is a simple paragraph. Most documents contain a fair amount of
paragraphs. Paragraphs are called <code><p></code>.</p>
<p>A number of in-line elements are available in the DTD, we will show them
inside an unordered list (<code><ul></code>):</p>
@@ -31,9 +31,9 @@
which offers the ability to refer to an image map.</li>
<li>We have elements for hyperlinking:
<dl>
- <dt><code><link href="faq.html"></code></dt>
+ <dt><code><link href="index.html"></code></dt>
<dd>Use this to
- <link href="faq.html" title="Example of a document via link">link</link>
+ <link href="index.html" title="Example of a document via link">link</link>
to another document. As per normal, this will open the new document
in the same browser window.</dd>
@@ -43,18 +43,18 @@
to the named anchor in the current document.
</dd>
- <dt><code><link href="contrib.html#cvshowto"></code></dt>
+ <dt><code><link href="sample.html#top"></code></dt>
<dd>Use this to
- <link href="contrib.html#cvshowto" title="Example of a document via link and anchor">link</link>
+ <link href="sample.html#top" title="Example of a document via link and anchor">link</link>
to another document and go to the named anchor. This will open
the new document in the same browser window.
</dd>
- <dt><code><jump href="contrib.html"></code></dt>
+ <dt><code><jump href="sample.html"></code></dt>
<dd>Use this to
- <jump href="contrib.html" title="Example of a document via jump">jump</jump>
+ <jump href="sample.html" title="Example of a document via jump">jump</jump>
to another document and optionally go to a named
- <jump href="contrib.html#cvshowto" title="Example of a document via jump to anchor">anchor</jump>
+ <jump href="sample.html#top" title="Example of a document via jump to anchor">anchor</jump>
within that document. This will open the new document in the same
browser window. So what is the difference between link and jump?
The jump behaves differently, in that it will replace any frames
@@ -63,9 +63,9 @@
<code><a ... target="_top"></code>
</dd>
- <dt><code><fork href="faq.html"></code></dt>
+ <dt><code><fork href="changes.html"></code></dt>
<dd>Use this to
- <fork href="faq.html" title="Example of a document via fork">fork</fork>
+ <fork href="changes.html" title="Example of a document via fork">fork</fork>
your webbrowser to another document. This will open the document
in a new, unnamed browser window.
This is the equivalent of
1.1 xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/subdir/book.xml
Index: book.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//APACHE//DTD Cocoon Documentation Book V1.0//EN" "book-cocoon-v10.dtd">
<book software="MyProj"
title="MyProj"
copyright="@year@ The Apache Software Foundation"
xmlns:xlink="http://www.w3.org/1999/xlink">
<menu label="About">
<menu-item label="Index" href="../index.html"/>
<menu-item label="Sample page" href="../sample.html"/>
<!-- Add new entries here, or in a new menu. Consult the DTD for valid elements -->
<menu-item label="Changes" href="../changes.html"/>
<menu-item label="Todo" href="../todo.html"/>
</menu>
<menu label="Subdir">
<menu-item label="index" href="index.html"/>
</menu>
</book>
1.1 xml-forrest/src/resources/fresh-site/src/documentation/content/xdocs/subdir/index.xml
Index: index.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.1//EN" "document-v11.dtd">
<document>
<header>
<title>Apache Incubator Project</title>
<authors>
<person name="Joe Bloggs" email="joe@joescompany.org" />
</authors>
</header>
<body>
<section>
<title>A subdirectory</title>
<p>This was generated from a subdirectory.</p>
<p>When creating new subdirectories, remember that each <em>must</em>
have a book.xml file</p>
</section>
</body>
</document>