Hi Alex
Try
<map:match pattern="index.html">
<map:generate type="file" src="index.xml"/>
<map:transform type="xslt" src="stylesheets/2html.xsl"/>
<map:serialize/>
</map:match>
<map:match pattern="**/index.html">
<map:generate type="file" src="{1}/index.xml"/>
<map:transform type="xslt" src="stylesheets/2html.xsl"/>
<map:serialize/>
</map:match>
This is a quick thing so I haven't tried optomising it to one match construct but I think you can do it...
Regards
Jeremy
Alex Kachanov <[EMAIL PROTECTED]> wrote:
<map:match pattern="">
<map:redirect-to uri="index.xml"/>
</map:match><map:match pattern="*.xml">
<map:generate src="{1}.xml"/><map:transform src="stylesheets/2html.xsl"/>
<map:serialize type="html"/></map:match>this is the sitemap.xmap in the root folder of the web-sitewith best wishes
Alexander Kachanov-----Original Message-----
From: Jeremy Aston [mailto:[EMAIL PROTECTED]]
Sent: 20 ноября 2001 г. 21:40
To: [EMAIL PROTECTED]
Subject: Re: [c2] Lost in sub-foldersAlex,
What map:matches do you have in your sitemap to cope with this?
Regards
Jeremy
Alex Kachanov <[EMAIL PROTECTED]> wrote:
When I have the following files structure everything works fine:
index.xml
news.xml
products.xml
but when I move files to subfolders like:
/index.xml
/products/index.xml
/news/index.xml
those files stop working:
Looks like I have problems with paths.
But why?
with best wishes
Alexander Kachanov
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting.
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
Do You Yahoo!?
Get personalised at My Yahoo!.
Do You Yahoo!?
Get personalised at My Yahoo!.