Hi all.
I'm a newbie in these technologies, and I've got a problem that I don't know how to resolve. May be be someone can help me.
I am using cocoon1, xml, xsl...
I want to get a pure txt as output file, obviosly whithout a hedar, and also with no xml tags.
I'm using this code:
<xsl:output method="text" media-type="text" omit-xml-declaration="yes" indent="no" encoding="ISO-8859-1"/>
but it doesn't work propely.
The generated file is this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<content>THE EXPECTED TEXT
</content>
<!-- This page was served in 538 milliseconds by Cocoon 1.8.2 -->
More information: when I try to save the file, the window dialog expects to save as html file, when I explicitly say that the filename is txlog.txt.
Any ideas?
Ariel