Thanks Andrew. I'm not describing the problem well. - The url with #bookmark gets picked up in the sitemap and runs some flowscript.
- The flowscript prepares data, usually creating a document in eXist if it needs to. When done, the flowscript does a SendPage to an internal pipeline matcher - The matcher then does an aggregation (including the eXist data), a couple of transforms to create the html and then runs the html serializer. Do I just need to add the #bookmark to the SendPage uri, or maybe append it in the uri pipeline somewhere? I'll try some things out this AM. Gary > -----Original Message----- > From: Andrew Stevens [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 26, 2005 8:19 PM > To: users@cocoon.apache.org > Subject: RE: Navigate to anchor in generated page? > > >From: "Gary Larsen" <[EMAIL PROTECTED]> > >Date: Wed, 26 Oct 2005 19:41:44 -0400 > > > >I'm still new with Cocoon and not sure if this is possible. > > > >I would like to navigate to a location in the generated page > directly > >from a link in another page. (In HTML this would be > >http://server/myfile.html#bookmark) Is this possible when > generating a > >page from the sitemap? > > Unless I'm missing something, you've already answered your > own question - "In HTML this would be > http://server/myfile.html#bookmark". So all you have to do > is make the pipeline for your first page include the fragment > identifier #bookmark when it generates the link, while the > pipeline for your second page should include the > corresponding named anchor (<A>) element. It doesn't matter > whether it's generated by Cocoon, JSPs, Struts or a bunch of > static text files, it's still HTML... > > > Andrew. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]