You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by ZYTAN <zy...@enet.com.cn> on 2001/08/30 07:06:22 UTC

??: Separation of Logic and Content

hello, it there any one can answer my question?

1.
in my site(powered by c1), article.xml has one tag as that
<template>article_default.xsl</template>


how to set sitemap, then to use the xml file's tag template, to show the
pages

that is to say,
if article.xml's tag as <template>article_default.xsl</template>
then I use article_default.xsl to transform xml


and if tag is <template>article_special.xsl</template>
then I use article_special.xsl to transform xml

2. another question, 
if I want to use this url
http://host:port/abc.xml?style=abc.xsl

and using abc.xsl to transform xml

or http://host:port/abc.xml?style=xyz.xsl
using xyz.xsl to transform xml,

how to do it ?