RE: XPathDirectory generator styling help

2006-11-17 Thread J.D. Williams
@cocoon.apache.org Subject: RE: XPathDirectory generator styling help Date: Fri, 10 Nov 2006 08:31:30 -0600 Hi Ard, I did, in fact, get it to work with some tweaking of the xsl. The snippets follow. What I would like to do now is strip the .xml file extension from the resulting href in the html

RE: XPathDirectory generator styling help

2006-11-10 Thread J.D. Williams
Hi Ard, I did, in fact, get it to work with some tweaking of the xsl. The snippets follow. What I would like to do now is strip the .xml file extension from the resulting href in the html. Suggestions? Joe P.S. Here is what works. From this sitemap matcher... map:match pattern=articles/

RE: XPathDirectory generator styling help

2006-11-10 Thread Andrew Stevens
From: J.D. Williams [EMAIL PROTECTED] Reply-To: users@cocoon.apache.org To: users@cocoon.apache.org Subject: RE: XPathDirectory generator styling help Date: Fri, 10 Nov 2006 08:31:30 -0600 Hi Ard, I did, in fact, get it to work with some tweaking of the xsl. The snippets follow. What I would

RE: XPathDirectory generator styling help

2006-11-10 Thread J.D. Williams
Hi Andrew, I will give this a try and report back. I have a couple other things before I get back to this particular project. Joe How about xsl:attribute name=href xsl:value-of select=substring-before(@name, '.xml')/ /xsl:attribute ? Or, if you

RE: XPathDirectory generator styling help

2006-11-06 Thread Ard Schrijvers
Hello, did you manage to get it to work? Think you have some problems with xml/xsl transformations. Also take into account the namespaces. If you are still having problems, please let us know, or subscribe to some xsl mailinglist, like http://www.mulberrytech.com/xsl/xsl-list/. Your problem

Re: XPathDirectory generator styling help

2006-10-31 Thread Scott Warren
Your output is not correct XML. You need to add an element around the text for example change you XSL to thisxsl:template match=/ articles xsl:apply-templates/ /articles/xsl:templatexsl:template match=article article xsl:value-of select=title/ /article/xsl:template On 11/1/06, J.D. Williams