That's correct in general. What does "didn't work" mean exactly?

I don't know if you chose only names for the stylesheets without any meanings, but you have directory2html and page2html. Shouldn't it be something like directory2purehtml and purehtml2styledhtml?

Joerg

On 08.11.2003 19:54, Zamek wrote:

Hi All,

I want to get a directory list formatted with my portal design.
I use <map:generate type="directory" src="content/">
<map:parameter name="sort" value="name"/>
</map:generate>
<map:transform src="../stylesheet/directory2html.xsl"/>


it results an xml, and I want to convert it with the next stylesheet:

<map:transform src="../stylesheet/page2html.xsl">
<map:parameter name="contextPath" value="{request:contextPath}"/>


I tried this:
<map:match pattern="index">
<map:generate type="directory" src="content/">
<map:parameter name="sort" value="name"/>
</map:generate>
<map:transform src="../stylesheet/directory2html.xsl"/>
<map:transform src="../stylesheet/page2html.xsl">
<map:parameter name="contextPath" value="{request:contextPath}"/>
</map:transform>
<map:serialize type="html"/>
</map:match>


but it didn't works :-(

Can I use multiple transforms, or is there another solving... ?



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to