From: "Ivelin Ivanov" <[EMAIL PROTECTED]> > > Thanks for the orientation. > > Where is the "front page of refactored samples" in CVS?
Here it is: xml-cocoon2\src\webapp\samples\samples.xml If you are going to fix it then please, add links to: - i18n samples href="i18n/" Interenationalization with Cocoon - JSP samples href="jsp/" JSP usage with Cocoon Now I see that the "Samples" link from the welcome page (start page) references the refactored samples. Fine! Now, it's time to remove all the refactored stuff from the /docs/samples. Konstantin > > > > ----- Original Message ----- > From: "Konstantin Piroumian" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, May 20, 2002 2:59 AM > Subject: Re: [Question] sample-apps page > > > > Hi Ivelin, > > > > From: "Ivelin Ivanov" <[EMAIL PROTECTED]> > > > > > > BTW, I am also wondering how to place an absolute link in the sitemap > > which > > > is relative to the application context path. > > > I was expecting that using > > > <map:transform src="/stylesheets/xmlform/xmlform2html.xsl"/> > > > will be converted to > > > http://localhost:8080/cocoon/stylesheets/xmlform/xmlform2html.xsl > > > instead it became > > http://localhost:8080/stylesheets/xmlform/xmlform2html.xsl > > > which wasn't what I needed. > > > So now I use relative location which introduces dependency on the > location > > > of the xmlform demo. > > > <map:transform > > src="../../stylesheets/xmlform/xmlform2html.xsl"/> > > > > > > What is a better solution in this case? > > > > Are you looking for > > <map:transform src="context://stylesheets/xmlform/xmlform2html.xsl"/> ? > > > > Btw, I would recommend to add new samples only to the refactored samples > > directory: /src/webapp/samples. You'll just have to move your subsitemap > and > > all the files from scratchpad 'mount' to /samples - it is also an > > automounted directory. See other samples to get the idea. > > > > Unfortunately, the front page of refactored samples is out of date and > seems > > that nobody have to time to fix it. > > > > Konstantin > > > > > > > > > > > > > > Ivelin > > > > > > > > > > > > > > Obviously there is a problem with linking the other way around too. > > > > You can make a link from the main documentation tree to the relevant > > > > sample. That will work from the Cocoon on localhost, but of course > > > > it results in a broken link on xml.apache.org/cocoon/ > > > > --David > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, email: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, email: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]