Hi All,
I use template based application based on Eric van der Vlist's "Style-free
XSLT Style Sheets".
my webapp directory structure is:
/
+ images
+ js
+ css
+styles
+templates
+unit1
+ unit2
+ unit3..
I would like to use templates, images, css and js from subdirectories.
My sitemap.xmap (All of unitxx directory) is:
<map:match pattern="">
<map:redirect-to uri="index.html"/>
</map:match>
<map:match pattern="*.html">
<map:generate src="{1}.xml"/>
<map:transform src="style/xml2template.xsl">
<map:parameter name="doc_name" value="{1}"/>
<map:parameter name="template" value="templates/menu.xml"/>
</map:transform>
<map:serialize type="html"/>
</map:match>
there are some relative link in templates/menu.xml like:
<img src="images/template/1x1.gif" width="8" height="8"/>
its working only in sitemap.xmap of my webapp root, but not working in
subdirectories.
How can I set my webapp root in sitemap.xmap, and how can I use images, css,
etc from subdirectories?
--
thx,
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]