summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/.cvsignore1
-rw-r--r--doc/Makefile11
-rw-r--r--doc/sample_p.xml1
3 files changed, 13 insertions, 0 deletions
diff --git a/doc/.cvsignore b/doc/.cvsignore
new file mode 100644
index 0000000..c60c0ff
--- /dev/null
+++ b/doc/.cvsignore
@@ -0,0 +1 @@
+xsddoc
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644
index 0000000..fb2dc5d
--- /dev/null
+++ b/doc/Makefile
@@ -0,0 +1,11 @@
+
+# To rebuild the docs change this
+XSDDOC = /opt/xsddoc/bin/xsddoc
+
+# Various settings
+XSD = rtfx.xsd
+TITLE = "RTFX Output Format"
+
+all:
+ mkdir -p xsddoc
+ $(XSDDOC) -o xsddoc -t $(TITLE) -g $(XSD) \ No newline at end of file
diff --git a/doc/sample_p.xml b/doc/sample_p.xml
new file mode 100644
index 0000000..313b001
--- /dev/null
+++ b/doc/sample_p.xml
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><document xmlns="http://memberwebs.com/ns/rtfx/"><info><title>This is a test RTF</title><author>Nate</author><operator>Nate</operator></info><stylesheet><style name="Normal"/><style name="heading 1"/><style name="footnote text"/></stylesheet><para style="heading 1"><b>This is a test RTF</b></para><para>Hi! I’m a test file. This is some <b>bold</b> text, and some <i>italic</i> text, as well as some <u>underline</u> text. And a bit of <hide>hidden</hide> text. So we’re going to end this paragraph here and go on to a nice little list:</para><para/><para>Item 1</para><para>Item 2</para><para>Item 3</para><para>Item 4</para><para/><para>And now comes a fun table:</para><para/><table><row><cell><para>Cell 1</para></cell><cell><para>Cell 2</para><para>More in cell 2</para></cell><cell><para>Cell 3</para></cell></row><row><cell><para>Next row</para></cell><cell><para>Next row </para></cell><cell><para>Next row</para></cell></row></table><para/><para>A page break:</para><page/><para>And here we’re on the next page. </para><para>This para has a <ref type="footnote" to="1"><super>1</super></ref>footnote.</para><para>And here’s yet another paragraph. </para><para/><footnote id="1"><para><super>1</super> This is the actual content of the footnote.</para></footnote></document> \ No newline at end of file