Hi!
How can I define a set of serializers in the
sitemap, with which I can deliver xhtml basic or xhtml transitional or xhtml
strict?
I want to write in my pipelines somthing like
this:
<map:match>
<map:generate.../>
<map:transform.../>
<map:serializa
type="xhtml-Transitional"/>
</map:match>
I get an error If I write in the MAIN sitemap this
3 serializers:
<map:serializer
logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml-Strict"
pool-grow="2" pool-max="64" pool-min="2"
src="">
<doctype-public>-//W3C//DTD XHTML 1.0
Strict//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</doctype-system>
<encoding>ISO-8859-1</encoding>
</map:serializer>
<map:serializer logger="sitemap.serializer.xhtml"
mime-type="text/html" name="xhtml-Transitional" pool-grow="2" pool-max="64"
pool-min="2" src="">
<doctype-public>-//W3C//DTD XHTML 1.0
Transitional//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</doctype-system>
<encoding>ISO-8859-1</encoding>
</map:serializer>
<map:serializer
logger="sitemap.serializer.xhtml" mime-type="text/html" name="xhtml-Basic"
pool-grow="2" pool-max="64" pool-min="2"
src="">
<doctype-public>"-//W3C//DTD XHTML Basic
1.0//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd</doctype-system>
<encoding>ISO-8859-1</encoding>
</map:serializer>
I changed only the name of the serializer and the
value of the parameters (DTD..). Do I have to change something
else?
Please, tell me if this is correct.. maybe the
problem is not here!
Thank you!!!
Nesto
|
- AW: xhtml serializers Nesto
- AW: xhtml serializers Marco Rolappe