I want to do that too but then with XPath. I want to transform my Xpath
results into HTML.
In IExplore I go to an URL which contains xpath parameters. Then when I don't
put in a transform or anything like that I just get a page in XML with the
results of my query. In that case XPath has added a couple attributes to the
result like the locations and the filenames of the results. I need that
information for my stylesheet.
Now I need to transform that automatically into HTML. But I have no idea how
to do that. I tried just using a transform but if I do that it shows the
stylesheet without the XML page I had without the transformation. So the
result table I made in the stylesheet is shown but there's no data in it.
I can't just pass the XPath parameters that only contains my query and I need
the results to. Or can I do that some way?
Can anyone help because I need to solve this very badly, thanx
Sebastiaan
>===== Original Message From "Lenya L. Khachaturov"
<[EMAIL PROTECTED]> =====
>Hello,
>
>It seems like everybody knows how to do this, at least the docs mention
>this so briefly, that it must be dead simple. Anyway, I didn't get it :-)
>Please help me on this:
>
><map:match pattern="archives/**">
>...
><map:transform src="my.xsl" type="xslt">
> <map:parameter name="param" value="{1}">
></map:transform>
>...
></map:match>
>
>Now, when I point the browser to http://mysite/archives/december,
>the parameter named "param" with the "december" value should be passed to
>the stylesheet. In the stylesheet I have: <xsl:param name="param" />
>As far as I understood, <xsl:value-of select="param"> should print
>"december" - right? Well, it doesn't. What am I doing wrong?
>
>--
>Lenya Khachaturov
>mailto:[EMAIL PROTECTED]
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>