>> 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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to