cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Cortez <mcor...@fullcoll.edu>
Subject RE: Caching, Xindice, Aggregate
Date Mon, 06 May 2002 19:51:47 GMT
>> Do you know about strip-root attribute?
>> 

Uh, no -- So I can just do

<map:part src="xxx" strip-root="true"> ????

That would be so much better for me.


>> This is not valid XSP page. It must have one and only one 
>> element inside
>> xsp:page element.
>> 

Well... uh, it runs ==>
http://fclistserver.fullcoll.edu:8080/cocoon/ogl/Item78

This is generated from:
=======
    <map:match pattern="ogl/*">
        <map:aggregate element="legalnotice">
            <map:part src="ogc/ogl-preamble.xsp"/>
            <map:part src="cocoon:/ogl-terms/{1}"/>
        </map:aggregate>
        <map:transform src="ogc/strip_stripme.xsl"/>
        <map:serialize type="xml"/>
    </map:match>
=======

As you can see, it calls in "ogc/ogl-preamble.xsp"


Which is:
=======
<xsp:page xmlns:xsp="http://apache.org/xsp">
    <para>OPEN GAME LICENSE Version 1.0a</para>
    <para>The following text is the property...</para>
</xsp:page>
=======

 


>> Have you ever executed this page? Do you have sitemap entry for it?
>> 
>> 

YES.  See above.



>> First, make XSP work. AFAIU, you never tried it. 

It works -- or it doesn't give any errors.  Here is a more direct sitemap
entry I made, just to show that it >is working<  ==>
http://fclistserver.fullcoll.edu:8080/cocoon/test_xsp


    <map:match pattern="test_xsp">
        <map:generate src="ogc/ogl-preamble.xsp"/>
        <map:serialize type="html"/>
    </map:match>


>> Also try strip-root attribute for map:part element.
>> 

OK, will do.  Doesn't solve my problem with stripping off the Results and
Result elements of the Xindice XML though...  8-(


--
Mike

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message