On 6/27/06, Bhavya Sharma <[EMAIL PROTECTED]> wrote:
 i am also sending you the output screen shot also
 i have also made the chnages as per your post1 but it could'nt helpit
 please reply me as soon as possible

 publication-sitemap.xmap entry
 ---------------------------------------------
 <map:match pattern="*/sub.html">
                  <map:aggregate element="cmsbody">
 <map:part
src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/breadcrumb/index.xml"/>
 <map:part
src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/tabs/index.xml"/>
 <map:part
src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/menu/index.xml"/>
 <map:part
src="cocoon://navigation/{page-envelope:publication-id}/{page-envelope:area}/search/index.xml"/>

 <map:part
src="cocoon:/lenya-document-view/live/sub/sub1/index_en.xml"/>
     </map:aggregate>
        <map:transform src="xslt/sub2xhtml.xsl"/>

          <map:serialize type="xml"/>
          </map:match>
 -----------------
 main problem is that its showing the content and menu link but not in lenya
original format


If you set the doctype correctly in parameter-doctype.xmap, then
       <map:transform src="xslt/sub2xhtml.xsl"/>
should be called in doctypes.xmap; it should not happen in
publication-sitemap.xmap.

Learn how to debug.  For XMAPs, that means following  a request
through the pipelines.  See:
"Lenya Process for Displaying Documents"
http://solprovider.com/lenya/display

Then create breakpoints to check the XML after every process.
1. Using cocoon-view and label to create breakpoints.  See:
"Views: Setting Breakpoints in Pipelines"
http://solprovider.com/lenya/views

2. Add  <map:serialize type="xml"/> to create breakpoints (because
cocoon-views sometimes do not work.)

3. Create test pipelines (because sometimes it is easier than setting
breakpoints in multiple pipelines.)

Read the resulting XML and decide what needs to be fixed.  For the
final process, read the HTML Source to see what is wrong.  Normal
developers cannot figure what is broken by looking at a graphic
capture of a webpage, especially when the error could be any of
several XSLTs that may or may not have been used by the current
request.

===
You need to explain what you mean by storing data in a HashMap.  I am
literally doing that for a process in Lenya1.3, but it required new
Java classes and is not working yet.  It is unlikely we are thinking
about the same algorithm.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to