cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject We need step by step instructions for enabling link sampling
Date Thu, 10 Jan 2002 20:45:09 GMT
I find this very frustrating when I try to convert a legacy cocoon webapp to use
CLI generation.  I have a webapp that I have a requirement to auto-generate a
particular store's information.  Unfortunately, the link auto-sampling is not
working on that webapp--although it is on other webapps.

I can never remember what I did between autogeneration steps.

Here is the applicable snippets from the Sitemap:


   <map:generators default="file">
    <map:generator  name="file"        src="org.apache.cocoon.generation.FileGenerator"
label="content"/>
    <map:generator  name="serverpages" src="org.apache.cocoon.generation.ServerPagesGenerator"
label="content"/>
   </map:generators>

   <map:serializers default="html">
    <map:serializer name="links"                               src="org.apache.cocoon.serialization.LinkSerializer"/>
    <map:serializer name="xml"    mime-type="text/xml"         src="org.apache.cocoon.serialization.XMLSerializer"/>
    <map:serializer name="html"   mime-type="text/html"        src="org.apache.cocoon.serialization.HTMLSerializer"/>
    <map:serializer name="fo2pdf" mime-type="application/pdf"  src="org.apache.cocoon.serialization.FOPSerializer"/>
   </map:serializers>

   <map:views>
    <map:view name="content" from-label="content">
     <map:serialize type="xml"/>
    </map:view>

    <map:view name="links" from-position="last">
     <map:serialize type="links"/>
    </map:view>
   </map:views>


My understanding is that at this point link sampling should work.
Do I have to declare the XLink namespace for no other reason than
signifying the URI for link generation?

-- 

"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message