You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Chad Woolley <li...@thewoolleyweb.com> on 2003/10/16 22:36:03 UTC

Is it impossible to include a common file with xdoc?

Hi,

I didn't get any answer on this before, so I'll ask it a different way. 
Hopefully the word "impossible" in the subject will stir up some response :)

- I want to use maven's XDOC support to automatically build my site.

- I want to include some common html in various locations on multiple pages 
(like my email, or a site logo, or whatever).

- I want this common html to live in one file and not be duplicated on each page.

Is this not possible with maven?

Thanks,
Chad



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Is it impossible to include a common file with xdoc?

Posted by __matthewHawthorne <ma...@phreaker.net>.
You could probably do it by using XML entities in your xdocs.  Maven 
would just pass it along.

Has anyone tried this?




Chad Woolley wrote:

> Hi,
> 
> I didn't get any answer on this before, so I'll ask it a different way. 
> Hopefully the word "impossible" in the subject will stir up some 
> response :)
> 
> - I want to use maven's XDOC support to automatically build my site.
> 
> - I want to include some common html in various locations on multiple 
> pages (like my email, or a site logo, or whatever).
> 
> - I want this common html to live in one file and not be duplicated on 
> each page.
> 
> Is this not possible with maven?
> 
> Thanks,
> Chad



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Is it impossible to include a common file with xdoc?

Posted by di...@multitask.com.au.
Use an XML entity.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Chad Woolley <li...@thewoolleyweb.com> wrote on 17/10/2003 06:36:03 AM:

> Hi,
> 
> I didn't get any answer on this before, so I'll ask it a different way. 
> Hopefully the word "impossible" in the subject will stir up some 
response :)
> 
> - I want to use maven's XDOC support to automatically build my site.
> 
> - I want to include some common html in various locations on multiple 
pages 
> (like my email, or a site logo, or whatever).
> 
> - I want this common html to live in one file and not be duplicated 
> on each page.
> 
> Is this not possible with maven?
> 
> Thanks,
> Chad
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Is it impossible to include a common file with xdoc?

Posted by "Howard M. Lewis Ship" <hl...@comcast.net>.
I make use of XML external entities:

<!DOCTYPE document [
	<!ENTITY % common-links SYSTEM "../common/links.xml">
	%common-links;
	]>
<document>

--
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: Chad Woolley [mailto:lists@thewoolleyweb.com] 
> Sent: Thursday, October 16, 2003 4:36 PM
> To: users@maven.apache.org
> Subject: Is it impossible to include a common file with xdoc?
> 
> 
> Hi,
> 
> I didn't get any answer on this before, so I'll ask it a 
> different way. 
> Hopefully the word "impossible" in the subject will stir up 
> some response :)
> 
> - I want to use maven's XDOC support to automatically build my site.
> 
> - I want to include some common html in various locations on 
> multiple pages 
> (like my email, or a site logo, or whatever).
> 
> - I want this common html to live in one file and not be 
> duplicated on each page.
> 
> Is this not possible with maven?
> 
> Thanks,
> Chad
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org