You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jozsa Kristof <dy...@kami.vein.hu> on 2002/02/07 16:51:42 UTC

sitemap include/import

Is there such a sitemap tag available/implemented to include/import text
files? It'd be nice to place eg. every pipeline of the sitemap in a separate
file to be able to edit them paralelly..

Christopher
-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: sitemap include/import

Posted by Nicola Ken Barozzi <ba...@nicolaken.com>.
From: "Jozsa Kristof" <dy...@kami.vein.hu>

> Is there such a sitemap tag available/implemented to include/import
text
> files? It'd be nice to place eg. every pipeline of the sitemap in a
separate
> file to be able to edit them paralelly..

As with any xml file, you can include external entities, as many as you
wish.
General xml example:

<?xml version="1.0"?>
<!DOCTYPE maintag [
<!ENTITY my-file-contents SYSTEM
"./my/file/dir/myfiletoinclude.extension ">
]>

<maintag>
  &my-file-contents;
 </maintag >

--
Nicola Ken Barozzi                 krysalis.org@nicolaken.com
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>