<?xml version="1.0"?>
<xdoc:document xmlns="http://www.w3.org/1999/xhtml" xmlns:xdoc="http://maven.apache.org/2003/xdoc" ...schema locations ...>
<xdoc:properties>
<xdoc:title>Dependencies</xdoc:title>
</xdoc:properties>
<xdoc:body>
<xdoc:section name="Dependencies">
<p>
The following is a list of dependencies for this project. These
dependencies are required to compile and run the application:
</p>
<table>
<tr>
<th>ID</th>
<th>Version</th>
<th>JAR</th>
</tr>
</table>
</xdoc:section>
</xdoc:body>
</xdoc:document>
It would be interesting to test if the xdoc plug-in could process multiple namespaces in xdocs like this.
-Mark
With w3c schema you [EMAIL PROTECTED] wrote:
Donate away!
My hassle has always been integrating the dang HTML elements. -- dIon Gillard, Multitask Consulting Blog: http://www.freeroller.net/page/dion/Weblog Work: http://www.multitask.com.au
"Mark R. Diggory" <[EMAIL PROTECTED]> wrote on 02/04/2003 11:33:22 AM:
Is there an existing xdoc schema? I have written one that covers the basic structure with "container style" definitions for section, subsection, p, and source tags. This lets any xml content be nested within them.
If one currently doesn't exist, I'd be glad to donate it.
Makes it easier to write up xdocuments in your basic XML/HTML editor.
-Mark Diggory
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
<?xml version="1.0" encoding="UTF-8"?> <!--W3C Schema generated by XMLSPY v5 rel. 2 U (http://www.xmlspy.com)--> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="author"> <xs:complexType mixed="true"> <xs:attribute name="email" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="body"> <xs:complexType> <xs:sequence> <xs:element ref="section" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="document"> <xs:complexType> <xs:sequence> <xs:element ref="properties" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="meta" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="body"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="meta"> <xs:complexType> <xs:attribute name="name" type="xs:string" use="required"/> <xs:attribute name="content" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="p"> <xs:complexType mixed="true"> <xs:sequence> <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="properties"> <xs:complexType> <xs:choice> <xs:element ref="title" minOccurs="1"/> <xs:element ref="author" minOccurs="0" maxOccurs="unbounded"/> </xs:choice> </xs:complexType> </xs:element> <xs:element name="section"> <xs:complexType mixed="true"> <xs:choice> <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="subsection" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="source" minOccurs="0" maxOccurs="unbounded"/> <xs:element ref="p" minOccurs="0" maxOccurs="unbounded"/> </xs:choice> <xs:attribute name="name" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="source"> <xs:complexType mixed="true"> <xs:sequence> <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="subsection"> <xs:complexType mixed="true"> <xs:sequence> <xs:any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="name" type="xs:string" use="required"/> </xs:complexType> </xs:element> <xs:element name="title" type="xs:string"/> </xs:schema>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]