You could deifne an XML external entity pointing to the file to insert. -- Howard M. Lewis Ship Creator, Tapestry: Java Web Components http://jakarta.apache.org/tapestry http://jakarta.apache.org/commons/sandbox/hivemind/ http://javatapestry.blogspot.com
> -----Original Message----- > From: Joël Wijngaarde [Us Media] [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 04, 2003 5:48 AM > To: Maven Users List > Subject: Insert / include contents of files as <source> in xdoc > > > Hi, > > I would like to insert the contents of some files in the xdoc > documentation. the files I mean are in located somewhere in > the source tree. > > Wat I would like to do is something like: > > <?xml version="1.0"?> > <document> > <properties> > <title>Tomcat Configuration</title> > </properties> > <body> > <section name="Context configuration for tomcat"> > <p> > <source><include src="../src/conf/server.xml"></source> > </p> > </section> > </body> > </document> > > Is this possible? > > Regards, > > Joel > > -- > Joël Wijngaarde > > > --------------------------------------------------------------------- > 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]