cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pier P. Fumagalli" <p...@apache.org>
Subject Re: sitemap verbosity
Date Fri, 21 Apr 2000 21:16:44 GMT
??? I really didn't understand what you're trying to do with this new
"syntax", that (again) i didn't understand...
Can you please comment out what all different entries are???

	Pier


Mircea Toma wrote:
> 
> Sorry if my idea doesn't fit in your vision but I needed to express it
> anyway because I worked for a while with XSLT and when I found out the
> "sitemap" idea I was relieved. The "sitemap" verbosity & inheritance bugged
> me for a while so I come with a proposition (don’t know if good or bad). I
> think is also possible to implement it efficiently.
> 
> A wordy DTD:
> 
> sitemap -can have: serializer, processor, producer (for raw data).
> serializer -can have: proccesor, producer.
> processor -can have: processor (chain of filters), producer, param (only
> one).
> producer -can have: process.
> 
> <sitemap>
> <serializer name="html"/>
> <!-- the first stylesheet for some URI and the second for others URI -->
> <processor name="xslt">
> <param name="stylesheet" value="beautifulthings.xsl"/>
> <producer name="file"/>
> <process uri="flowers/*.html" translate="/home/xml/*flower.xml"/>
> <process uri="vases/*.html" translate="/home/xml/*vase.xml"/>
> <process uri="ceramics/*.html" translate="/home/xml/*ceramic.xml"/>
> <process uri="carpets/*.html" translate="/home/xml/*carpet.xml"/>
> <!-- the first stylesheet -->
> <processor name="xslt">
> <param name="stylesheet" value="expensivethings.xsl"/>
> <process uri="diamonds/*.html" translate="/home/xml/*diamond.xml"/>
> <process uri="opals/*.html" translate="/home/xml/*opal.xml"/>
> <process uri="rubins/*.html" translate="/home/xml/*rubin.xml"/>
> </proccesor>
> </producer>
> <producer name="xsp">
> <process uri="beautifullist.html" translate="/home/xml/beautifull.xsp"/>
> <process uri="expensivelist.html" translate="/home/xml/expensive.xsp"/>
> </producer>
> </proccesor>
> <serializer/>
> <serializer name="pdf"/>
> <processor name="fop2pdf">
> <param name="stylesheet" value="flowers.xsl"/>
> <producer name="file"/>
> <process uri="flowers/*.pdf" translate="/home/xml/*flower.xml"/>
> <process uri="vases/*.pdf" translate="/home/xml/*vase.xml"/>
> <process uri="ceramics/*.pdf" translate="/home/xml/*ceramic.xml"/>
> <process uri="carpets/*.pdf" translate="/home/xml/*carpet.xml"/>
> </producer>
> </processor>
> <processor name="fop2pdf">
> <param name="stylesheet" value="flowers.xsl"/>
> <producer name="xsp">
> <process uri="beautifullist.pdf" translate="/home/xml/beautifull.xsp"/>
> <process uri="expensivelist.pdf" translate="/home/xml/expensive.xsp"/>
> </producer>
> </proccesor>
> <serializer/>
> </sitemap>
> 
> Mircea Toma.
> 
> ______________________________________________
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup


-- 
----------------------------------------------------------------------
pier: stable structure erected over water to allow docking of seacraft
<mailto:pier@betaversion.org>      <http://www.betaversion.org/~pier/>
----------------------------------------------------------------------

Mime
View raw message