mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-24 11:25:30 +00:00
Prep for 2.0rc1.
This commit is contained in:
parent
6b8ae18b75
commit
9f78683a90
15
ANNOUNCEMENT
15
ANNOUNCEMENT
@ -1,6 +1,9 @@
|
||||
Mini-XML 1.3 adds support for all of the standard HTML entity
|
||||
names, entities in element names, attribute names, and attribute
|
||||
values, null attribute values, and a new error callback for
|
||||
catching errors instead of displaying them to stderr. The new
|
||||
release also fixes some bugs with handling of poorly formed XML
|
||||
data and in the mxmldoc utility.
|
||||
The first release candidate for Mini-XML 2.0 is now available.
|
||||
|
||||
Mini-XML 2.0 adds a new programmers manual, support for reading
|
||||
UTF-16 encoded files and strings (all output is still encoded
|
||||
using UTF-8), a new indexing API to support fast searches of
|
||||
large XML databases, new character entity and whitespace
|
||||
callbacks, and several improvements and bug fixes for the
|
||||
mxmldoc utility. The new release also fixes some makefile
|
||||
problems.
|
||||
|
6
README
6
README
@ -1,4 +1,4 @@
|
||||
README - 05/01/2004
|
||||
README - 05/20/2004
|
||||
-------------------
|
||||
|
||||
|
||||
@ -14,8 +14,8 @@ INTRODUCTION
|
||||
|
||||
Mini-XML provides the following functionality:
|
||||
|
||||
- Reading and writing of UTF-8 encoded XML files and
|
||||
strings.
|
||||
- Reading of UTF-8 and UTF-16 and writing of UTF-8
|
||||
encoded XML files and strings.
|
||||
- Data is stored in a linked-list tree structure,
|
||||
preserving the XML data hierarchy.
|
||||
- Supports arbitrary element names, attributes, and
|
||||
|
BIN
doc/logo.png
Normal file
BIN
doc/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
@ -1,5 +1,5 @@
|
||||
#HTMLDOC 1.8.24b12
|
||||
-t pdf12 -f mxml.pdf --book --toclevels 3 --no-numbered --toctitle "Table of Contents" --title --linkstyle underline --size Universal --left 1.00in --right 0.50in --top 0.50in --bottom 0.50in --header .t. --footer h.1 --nup 1 --tocheader .t. --tocfooter ..i --duplex --portrait --color --no-pscommands --no-xrxcomments --compression=9 --jpeg=0 --fontsize 11.0 --fontspacing 1.2 --headingfont Helvetica --bodyfont Times --headfootsize 11.0 --headfootfont Helvetica --charset iso-8859-1 --links --embedfonts --pagemode outline --pagelayout single --firstpage c1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all --owner-password "" --user-password "" --browserwidth 680
|
||||
#HTMLDOC 1.8.24mrc1
|
||||
-t pdf12 -f mxml.pdf --book --toclevels 3 --no-numbered --toctitle "Table of Contents" --title --titleimage logo.png --linkstyle underline --size Universal --left 1.00in --right 0.50in --top 0.50in --bottom 0.50in --header .t. --footer h.1 --nup 1 --tocheader .t. --tocfooter ..i --duplex --portrait --grayscale --no-pscommands --no-xrxcomments --compression=9 --jpeg=50 --fontsize 11.0 --fontspacing 1.2 --headingfont Helvetica --bodyfont Times --headfootsize 11.0 --headfootfont Helvetica --charset iso-8859-1 --links --embedfonts --pagemode outline --pagelayout single --firstpage c1 --pageeffect none --pageduration 10 --effectduration 1.0 --no-encryption --permissions all --owner-password "" --user-password "" --browserwidth 680
|
||||
intro.html
|
||||
install.html
|
||||
basics.html
|
||||
|
@ -19,7 +19,8 @@ PRE { font-family: monospace }
|
||||
--></STYLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<CENTER><A HREF="#CONTENTS"><H1>Mini-XML Programmers Manual, Version 2.0</H1></A><BR>
|
||||
<CENTER><A HREF="#CONTENTS"><IMG SRC="logo.png" BORDER="0" WIDTH="222" HEIGHT="181"><BR>
|
||||
<H1>Mini-XML Programmers Manual, Version 2.0</H1></A><BR>
|
||||
Michael Sweet<BR>
|
||||
Copyright 2003-2004<BR>
|
||||
</CENTER>
|
||||
@ -738,8 +739,9 @@ mxmldoc</TT> to generate correct documentation for the code. Single line
|
||||
included with Mini-XML. This schema file can be used to convert the XML
|
||||
files produced by <TT>mxmldoc</TT> into other formats.</P>
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"</I></CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"</I>
|
||||
</CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
@ -800,9 +802,9 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"</I></CAP
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</I>
|
||||
</CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"
|
||||
(con't)</I></CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
<xsd:element ref="enumeration"/>
|
||||
@ -870,9 +872,9 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)<
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</I>
|
||||
</CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"
|
||||
(con't)</I></CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
<xsd:element ref="struct"/>
|
||||
@ -940,9 +942,9 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)<
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</I>
|
||||
</CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"
|
||||
(con't)</I></CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
</xsd:simpleType>
|
||||
|
BIN
doc/mxml.pdf
BIN
doc/mxml.pdf
Binary file not shown.
@ -154,7 +154,7 @@ which is included with Mini-XML. This schema file can be used to
|
||||
convert the XML files produced by <tt>mxmldoc</tt> into other
|
||||
formats.</p>
|
||||
|
||||
<center><table border='1' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
|
||||
<center><table border='1' width='80%' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
|
||||
<caption align='bottom'><i>Listing 4-1, XML Schema File "mxmldoc.xsd"</i></caption>
|
||||
<tr><td>
|
||||
<pre>
|
||||
@ -213,7 +213,7 @@ formats.</p>
|
||||
</td></tr>
|
||||
</table></center>
|
||||
<!-- NEW PAGE -->
|
||||
<center><table border='1' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
|
||||
<center><table border='1' width='80%' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
|
||||
<caption align='bottom'><i>Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</i></caption>
|
||||
<tr><td>
|
||||
<pre>
|
||||
@ -279,7 +279,7 @@ formats.</p>
|
||||
</td></tr>
|
||||
</table></center>
|
||||
<!-- NEW PAGE -->
|
||||
<center><table border='1' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
|
||||
<center><table border='1' width='80%' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
|
||||
<caption align='bottom'><i>Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</i></caption>
|
||||
<tr><td>
|
||||
<pre>
|
||||
@ -345,7 +345,7 @@ formats.</p>
|
||||
</td></tr>
|
||||
</table></center>
|
||||
<!-- NEW PAGE -->
|
||||
<center><table border='1' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
|
||||
<center><table border='1' width='80%' bgcolor='#cccccc' cellpadding='5' cellspacing='0'>
|
||||
<caption align='bottom'><i>Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</i></caption>
|
||||
<tr><td>
|
||||
<pre>
|
||||
|
@ -9,7 +9,7 @@ CVS_RSH=ssh; export CVS_RSH
|
||||
MAINTAINER=mike
|
||||
|
||||
cd /tmp
|
||||
cvs -q -d$MAINTAINER@cvs.easysw.com:/development/cvs get mxml
|
||||
cvs -q -d$MAINTAINER@tango.easysw.com:/development/cvs get mxml
|
||||
|
||||
if test $# = 0; then
|
||||
echo -n "Version number for distribution? "
|
||||
@ -36,7 +36,7 @@ find . -name .cvsignore -exec rm -f '{}' \;
|
||||
find . -name CVS -exec rm -rf '{}' \;
|
||||
|
||||
rm makesrcdist
|
||||
rm index.html
|
||||
rm -rf www
|
||||
|
||||
cd ..
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
--
|
||||
-- "$Id: mxml.sql,v 1.5 2004/05/20 12:31:54 mike Exp $"
|
||||
-- "$Id: mxml.sql,v 1.6 2004/05/21 02:59:52 mike Exp $"
|
||||
--
|
||||
-- Database schema for the Mini-XML web pages.
|
||||
--
|
||||
@ -225,10 +225,6 @@ CREATE TABLE users (
|
||||
modify_user VARCHAR(255) -- User that made the last change
|
||||
);
|
||||
|
||||
INSERT INTO users VALUES(NULL, 1, 'mike', 'Michael Sweet <mike@easysw.com>',
|
||||
'195c416888c3151df53ae9f38c67afcc', 100,
|
||||
1084823565, 'mike', 1084823565, 'mike');
|
||||
|
||||
|
||||
--
|
||||
-- Table structure for table 'vote'
|
||||
@ -242,5 +238,5 @@ CREATE TABLE vote (
|
||||
);
|
||||
|
||||
--
|
||||
-- End of "$Id: mxml.sql,v 1.5 2004/05/20 12:31:54 mike Exp $".
|
||||
-- End of "$Id: mxml.sql,v 1.6 2004/05/21 02:59:52 mike Exp $".
|
||||
--
|
||||
|
@ -30,8 +30,8 @@ PRE { font-family: monospace }
|
||||
<H2><A NAME="1_1">Legal Stuff</A></H2>
|
||||
<P>The Mini-XML library is copyright 2003-2004 by Michael Sweet.</P>
|
||||
<P>This library is free software; you can redistribute it and/or modify
|
||||
it under the terms of the <A href="license.html#LICENSE">GNU Library
|
||||
General Public License</A> as published by the Free Software
|
||||
it under the terms of the <A href="AGNULibraryGeneralPublicLicense.html#LICENSE">
|
||||
GNU Library General Public License</A> as published by the Free Software
|
||||
Foundation; either version 2 of the License, or (at your option) any
|
||||
later version.</P>
|
||||
<P>This library is distributed in the hope that it will be useful, but
|
||||
|
@ -30,25 +30,26 @@ PRE { font-family: monospace }
|
||||
<H2><A NAME="1_3">Organization of This Document</A></H2>
|
||||
<P>This manual is organized into the following chapters and appendices:</P>
|
||||
<UL>
|
||||
<LI>Chapter 1, "<A href="install.html#INSTALL">Building, Installing, and
|
||||
Packaging Mini-XML</A>", provides compilation, installation, and
|
||||
packaging instructions for Mini-XML.</LI>
|
||||
<LI>Chapter 2, "<A href="basics.html#BASICS">Getting Started with
|
||||
Mini-XML</A>", shows how to use the Mini-XML library in your programs.</LI>
|
||||
<LI>Chapter 3, "<A href="advanced.html#ADVANCED">More Mini-XML
|
||||
Programming Techniques</A>", shows additional ways to use the Mini-XML
|
||||
library.</LI>
|
||||
<LI>Chapter 4, "<A href="mxmldoc.html#MXMLDOC">Using the mxmldoc Utility</A>
|
||||
", describes how to use the <TT>mxmldoc(1)</TT> program to generate
|
||||
software documentation.</LI>
|
||||
<LI>Appendix A, "<A href="license.html#LICENSE">GNU Library General
|
||||
Public License</A>", provides the terms and conditions for using and
|
||||
distributing Mini-XML.</LI>
|
||||
<LI>Appendix B, "<A href="relnotes.html#RELNOTES">Release Notes</A>",
|
||||
lists the changes in each release of Mini-XML.</LI>
|
||||
<LI>Appendix C, "<A href="refapp.html#REFERENCE">Library Reference</A>",
|
||||
contains a complete reference for Mini-XML, generated by <TT>mxmldoc</TT>
|
||||
.</LI>
|
||||
<LI>Chapter 1, "<A href="1BuildingInstallingandPackagingMiniXML.html#INSTALL">
|
||||
Building, Installing, and Packaging Mini-XML</A>", provides compilation,
|
||||
installation, and packaging instructions for Mini-XML.</LI>
|
||||
<LI>Chapter 2, "<A href="2GettingStartedwithMiniXML.html#BASICS">Getting
|
||||
Started with Mini-XML</A>", shows how to use the Mini-XML library in
|
||||
your programs.</LI>
|
||||
<LI>Chapter 3, "<A href="3MoreMiniXMLProgrammingTechniques.html#ADVANCED">
|
||||
More Mini-XML Programming Techniques</A>", shows additional ways to use
|
||||
the Mini-XML library.</LI>
|
||||
<LI>Chapter 4, "<A href="4UsingthemxmldocUtility.html#MXMLDOC">Using the
|
||||
mxmldoc Utility</A>", describes how to use the <TT>mxmldoc(1)</TT>
|
||||
program to generate software documentation.</LI>
|
||||
<LI>Appendix A, "<A href="AGNULibraryGeneralPublicLicense.html#LICENSE">
|
||||
GNU Library General Public License</A>", provides the terms and
|
||||
conditions for using and distributing Mini-XML.</LI>
|
||||
<LI>Appendix B, "<A href="BReleaseNotes.html#RELNOTES">Release Notes</A>
|
||||
", lists the changes in each release of Mini-XML.</LI>
|
||||
<LI>Appendix C, "<A href="CLibraryReference.html#REFERENCE">Library
|
||||
Reference</A>", contains a complete reference for Mini-XML, generated
|
||||
by <TT>mxmldoc</TT>.</LI>
|
||||
</UL>
|
||||
|
||||
<!-- NEED 4in -->
|
||||
|
@ -32,8 +32,9 @@ PRE { font-family: monospace }
|
||||
included with Mini-XML. This schema file can be used to convert the XML
|
||||
files produced by <TT>mxmldoc</TT> into other formats.</P>
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"</I></CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"</I>
|
||||
</CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
@ -94,9 +95,9 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"</I></CAP
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</I>
|
||||
</CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"
|
||||
(con't)</I></CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
<xsd:element ref="enumeration"/>
|
||||
@ -164,9 +165,9 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)<
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</I>
|
||||
</CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"
|
||||
(con't)</I></CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
<xsd:element ref="struct"/>
|
||||
@ -234,9 +235,9 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)<
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</I>
|
||||
</CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"
|
||||
(con't)</I></CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
</xsd:simpleType>
|
||||
|
@ -21,7 +21,8 @@ PRE { font-family: monospace }
|
||||
--></STYLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<CENTER><H1>Mini-XML Programmers Manual, Version 2.0</H1><BR>
|
||||
<CENTER><IMG SRC="logo.png" WIDTH="222" HEIGHT="181"><BR>
|
||||
<H1>Mini-XML Programmers Manual, Version 2.0</H1><BR>
|
||||
Michael Sweet<BR>
|
||||
Copyright 2003-2004<BR>
|
||||
<A HREF="toc.html">Table of Contents</A></CENTER>
|
||||
|
BIN
www/docfiles/logo.png
Normal file
BIN
www/docfiles/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//
|
||||
// "$Id: documentation.php,v 1.3 2004/05/20 02:04:44 mike Exp $"
|
||||
// "$Id: documentation.php,v 1.4 2004/05/21 02:59:52 mike Exp $"
|
||||
//
|
||||
// Mini-XML documentation page...
|
||||
//
|
||||
@ -180,12 +180,12 @@ formats on-line:</p>
|
||||
|
||||
</ul></li>
|
||||
|
||||
<li><a href='mxml.html'>HTML in one file (???k)</a></li>
|
||||
<li><a href='mxml.html'>HTML in one file (113k)</a></li>
|
||||
|
||||
<li><a href='mxml.pdf'>PDF (??? pages, ???k)</a></li>
|
||||
<li><a href='mxml.pdf'>PDF (98 pages, 636k)</a></li>
|
||||
|
||||
<li><a href='mxml.ps.gz'>PostScript (??? pages, gzip'd,
|
||||
???k)</a></li>
|
||||
<li><a href='mxml.ps.gz'>PostScript (98 pages, gzip'd,
|
||||
579k)</a></li>
|
||||
|
||||
</ul>
|
||||
|
||||
@ -195,6 +195,6 @@ formats on-line:</p>
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: documentation.php,v 1.3 2004/05/20 02:04:44 mike Exp $".
|
||||
// End of "$Id: documentation.php,v 1.4 2004/05/21 02:59:52 mike Exp $".
|
||||
//
|
||||
?>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//
|
||||
// "$Id: index.php,v 1.6 2004/05/20 15:45:55 mike Exp $"
|
||||
// "$Id: index.php,v 1.7 2004/05/21 02:59:52 mike Exp $"
|
||||
//
|
||||
// Mini-XML home page...
|
||||
//
|
||||
@ -22,13 +22,13 @@ html_start_row();
|
||||
print("<td>"
|
||||
."<p align='center'>"
|
||||
."Stable Release: <a href='software.php?1.3'>v1.3</a><br />"
|
||||
."Developer Release: <a href='software.php?2.0rc1'>v2.0rc1</a></p>\n"
|
||||
."Test Release: <a href='software.php?2.0rc1'>v2.0rc1</a></p>\n"
|
||||
."<small><p>Mini-XML is a small XML parsing library that you can use to "
|
||||
."read XML and XML-like data files in your application without "
|
||||
."requiring large non-standard libraries. Mini-XML only requires "
|
||||
."an ANSI C compatible compiler (GCC works, as do most vendors' "
|
||||
."ANSI C compilers) and a 'make' program.</p>\n"
|
||||
."<!--<p>Mini-XML provides the following functionality:</p>\n"
|
||||
."<p>Mini-XML provides the following functionality:</p>\n"
|
||||
."<ul>\n"
|
||||
."<li>Reading of UTF-8 and UTF-16 and writing of UTF-8 encoded "
|
||||
."XML files and strings.</li>\n"
|
||||
@ -42,19 +42,23 @@ print("<td>"
|
||||
."<li>Functions for creating, indexing, and managing trees of data.</li>\n"
|
||||
."<li>\"Find\" and \"walk\" functions for easily locating and "
|
||||
."navigating trees of data.</li>\n"
|
||||
."</ul>--></small>\n"
|
||||
."</ul></small>\n"
|
||||
."</td>");
|
||||
html_end_row();
|
||||
html_end_table();
|
||||
|
||||
html_start_table(array("Current Poll [ <a href='poll.php'>"
|
||||
."Show All</a> ]"));
|
||||
html_start_row();
|
||||
print("<td>");
|
||||
show_poll(get_recent_poll());
|
||||
print("</td>");
|
||||
html_end_row();
|
||||
html_end_table();
|
||||
$poll = get_recent_poll();
|
||||
if ($poll > 0)
|
||||
{
|
||||
html_start_table(array("Current Poll [ <a href='poll.php'>"
|
||||
."Show All</a> ]"));
|
||||
html_start_row();
|
||||
print("<td>");
|
||||
show_poll($poll);
|
||||
print("</td>");
|
||||
html_end_row();
|
||||
html_end_table();
|
||||
}
|
||||
|
||||
print("</td><td> </td>"
|
||||
."<td valign='top' width='70%'>"
|
||||
@ -97,6 +101,6 @@ print("</td></tr>\n"
|
||||
html_footer();
|
||||
|
||||
//
|
||||
// End of "$Id: index.php,v 1.6 2004/05/20 15:45:55 mike Exp $".
|
||||
// End of "$Id: index.php,v 1.7 2004/05/21 02:59:52 mike Exp $".
|
||||
//
|
||||
?>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
//
|
||||
// "$Id: login.php,v 1.3 2004/05/20 21:37:57 mike Exp $"
|
||||
// "$Id: login.php,v 1.4 2004/05/21 02:59:52 mike Exp $"
|
||||
//
|
||||
// Login/registration form...
|
||||
//
|
||||
@ -80,6 +80,11 @@ if ($REQUEST_METHOD == "POST")
|
||||
"From: $PROJECT_EMAIL\r\n");
|
||||
|
||||
html_header("Login Registration");
|
||||
|
||||
html_start_links(1);
|
||||
html_link("Enable Account", "$PHP_SELF?E");
|
||||
html_end_links();
|
||||
|
||||
print("<h1>Login Registration</h1>\n"
|
||||
."Thank you for requesting an account. You should receive an "
|
||||
."email from $PROJECT_EMAIL shortly with instructions on "
|
||||
@ -247,6 +252,6 @@ else
|
||||
|
||||
|
||||
//
|
||||
// End of "$Id: login.php,v 1.3 2004/05/20 21:37:57 mike Exp $".
|
||||
// End of "$Id: login.php,v 1.4 2004/05/21 02:59:52 mike Exp $".
|
||||
//
|
||||
?>
|
||||
|
@ -19,11 +19,12 @@ PRE { font-family: monospace }
|
||||
--></STYLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<CENTER><A HREF="#CONTENTS"><H1>Mini-XML Programmers Manual, Version 2.0</H1></A><BR>
|
||||
<CENTER><A HREF="#CONTENTS"><IMG SRC="logo.png" BORDER="0" WIDTH="222" HEIGHT="181"><BR>
|
||||
<H1>Mini-XML Programmers Manual, Version 2.0</H1></A><BR>
|
||||
Michael Sweet<BR>
|
||||
Copyright 2003-2004<BR>
|
||||
</CENTER>
|
||||
<HR>
|
||||
<HR NOSHADE>
|
||||
<H1 ALIGN="CENTER"><A NAME="CONTENTS">Table of Contents</A></H1>
|
||||
<BR>
|
||||
<BR><B><A HREF="#INTRO">Introduction</A></B>
|
||||
@ -160,7 +161,7 @@ Copyright 2003-2004<BR>
|
||||
<LI><A HREF="#num_callbacks">num_callbacks</A></LI>
|
||||
</UL>
|
||||
</UL>
|
||||
<HR>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="INTRO">Introduction</A></H1>
|
||||
<P>This programmers manual describes Mini-XML version 2.0, a small XML
|
||||
parsing library that you can use to read and write XML and XML-like
|
||||
@ -320,7 +321,7 @@ File and directory names.</TD></TR>
|
||||
<DD>The XML specification from the World Wide Web Consortium (W3C)
|
||||
<BR /> </DD>
|
||||
</DL>
|
||||
</BLOCKQUOTE><HR>
|
||||
</BLOCKQUOTE><HR NOSHADE>
|
||||
<H1 align="right"><A name="INSTALL">1 - Building, Installing, and
|
||||
Packaging Mini-XML</A></H1>
|
||||
<P>This chapter describes how to build, install, and package Mini-XML on
|
||||
@ -383,7 +384,7 @@ epm(1)</TT> program to create software packages in a variety of formats.
|
||||
<P>The native packages will be in the local OS's native format: RPM for
|
||||
Red Hat Linux, DPKG for Debian Linux, PKG for Solaris, and so forth.
|
||||
Use the corresponding commands to install the native packages.</P>
|
||||
<HR>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="BASICS">2 - Getting Started with Mini-XML</A></H1>
|
||||
<P>This chapter describes how to write programs that use Mini-XML to
|
||||
access data in an XML file.</P>
|
||||
@ -605,7 +606,7 @@ mxmlSaveString()</TT></A> functions load XML node trees from and save
|
||||
the order would be reversed, ending at "?xml".</P>
|
||||
</LI>
|
||||
</UL>
|
||||
<HR>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="ADVANCED">3 - More Mini-XML Programming
|
||||
Techniques</A></H1>
|
||||
<P>This chapter shows additional ways to use the Mini-XML library in
|
||||
@ -615,7 +616,7 @@ mxmlSaveString()</TT></A> functions load XML node trees from and save
|
||||
<H2><A NAME="4_3">Changing Node Values</A></H2>
|
||||
<H2><A NAME="4_4">Formatted Text</A></H2>
|
||||
<H2><A NAME="4_5">Indexing</A></H2>
|
||||
<HR>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="MXMLDOC">4 - Using the mxmldoc Utility</A></H1>
|
||||
<P>This chapter describes how to use the <TT>mxmldoc(1)</TT> utility
|
||||
that comes with Mini-XML to automatically generate documentation for
|
||||
@ -738,8 +739,9 @@ mxmldoc</TT> to generate correct documentation for the code. Single line
|
||||
included with Mini-XML. This schema file can be used to convert the XML
|
||||
files produced by <TT>mxmldoc</TT> into other formats.</P>
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"</I></CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"</I>
|
||||
</CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
@ -800,9 +802,9 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"</I></CAP
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</I>
|
||||
</CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"
|
||||
(con't)</I></CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
<xsd:element ref="enumeration"/>
|
||||
@ -870,9 +872,9 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)<
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</I>
|
||||
</CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"
|
||||
(con't)</I></CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
<xsd:element ref="struct"/>
|
||||
@ -940,9 +942,9 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)<
|
||||
|
||||
<!-- NEW PAGE -->
|
||||
<CENTER>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0"><CAPTION
|
||||
align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)</I>
|
||||
</CAPTION>
|
||||
<TABLE bgcolor="#cccccc" border="1" cellpadding="5" cellspacing="0" width="80%">
|
||||
<CAPTION align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd"
|
||||
(con't)</I></CAPTION>
|
||||
<TR><TD>
|
||||
<PRE>
|
||||
</xsd:simpleType>
|
||||
@ -970,7 +972,7 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)<
|
||||
</TD></TR>
|
||||
</TABLE>
|
||||
</CENTER>
|
||||
<HR>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="LICENSE">A - GNU Library General Public
|
||||
License</A></H1>
|
||||
<P align="center">Version 2, June 1991
|
||||
@ -1346,7 +1348,7 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)<
|
||||
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES.</P>
|
||||
<P align="center"><BIG>END OF TERMS AND CONDITIONS</BIG></P>
|
||||
<HR>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="RELNOTES">B - Release Notes</A></H1>
|
||||
<H2><A NAME="7_1">Changes in Mini-XML 2.0</A></H2>
|
||||
<UL>
|
||||
@ -1480,7 +1482,7 @@ align="bottom"><I> Listing 4-1, XML Schema File "mxmldoc.xsd" (con't)<
|
||||
<UL>
|
||||
<LI>Initial public release.</LI>
|
||||
</UL>
|
||||
<HR>
|
||||
<HR NOSHADE>
|
||||
<H1 align="right"><A name="REFERENCE">C - Library Reference</A></H1>
|
||||
<H2><A NAME="8_1">Contents</A></H2>
|
||||
<UL>
|
||||
|
BIN
www/mxml.pdf
BIN
www/mxml.pdf
Binary file not shown.
BIN
www/mxml.ps.gz
BIN
www/mxml.ps.gz
Binary file not shown.
Loading…
Reference in New Issue
Block a user