Hi, What is your pipeline for this? Check it. Siaw Ling Lo wrote: > hi, > > I am using cocoon2 and trying to build a tree that can > collapse and expand when click. > > I tried various methods in getting the javascript to > work with XSL to display an XML but it just can't work > - error: org.apache.cocoon.ProcessingException: Failed > to execute pipeline.: java.lang.RuntimeException: > java.lang.NullPointerException . > > The methods I tried including > 1. > > below are the XSL file with the 2nd approach and > corresponding XML file. > ================================================= > xmlns:xsl="http://www.w3.org/1999/XSL/Transform> > > > > > > > > > > > > > >
> select="image"/> > select="imageOpen"/> > false > f select="@id"/> > false > > padding-left: 20px; > cursor: hand; > > display: none; > > > > > > > >
> > > > > > > > padding-left: 7px; > font-family: Verdana; > font-size: 11px; > font-color: black; > >
> >
>
> >
> > and the corresponding XML file: > ================================= > > > > Reports > > images/book.gif > images/bookOpen.gif > > > Income > > images/paper.gif > images/paper.gif > > > > > Expenses > > images/paper.gif > images/paper.gif > > > > > > > > Thank you very much for any guidance and advice. > > SiawLing > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org