Michael Wechner wrote:
I read a file (generate), send it through an XSLT (transform) and then use the type="write-source" transformer, e.g.


<map:generate src="index.xml"/> <map:transform src="xslt/foo.xsl"/> <map:transform type="write-source"/>

the problem is that during the first transformation (foo.xsl) the DOCTYPE (DTD) is being "lost" and is missing after the source transformer has written it to the filesystem for instance.

Does anyone know how to "pass" the DOCTYPE (DTD)?

It's the task of the serializer and easy to set in the <map:serializers> section of the sitemap for a "normal" serializer. But I don't know how the source write transformer works exactly, i.e. how it serializes the source and where it can be configured.


Joerg

--
System Development
VIRBUS AG
Fon  +49(0)341-979-7419
Fax  +49(0)341-979-7409
[EMAIL PROTECTED]
www.virbus.de


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



Reply via email to