cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Cortez <>
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 ==>

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:transform src="ogc/strip_stripme.xsl"/>
        <map:serialize type="xml"/>

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

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


>> 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<  ==>

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

>> 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-(


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message