Re: Text output

hi Gerald,

you should wrap your entire text document in your stylesheet within a 
c:data element.

<c:data content-type="text/plain"> ... plain text ... </c:data>

Furthermore, you have to set the correct serialization properties to the 
text output port. Here is an example:

<p:serialization port="text" media-type="text/plain" encoding="utf-8" 
method="text"/>

hope this may help you...

kind regards,

Martin

Am 15.05.2013 14:44, schrieb gerald ternola:
> Hi!,
> Good day.
> I'm currently evaluating the new version of xml calabash 1.0.9 and 
> encountered  an issue with one of our XPL which produce a text file 
> output. We had been using XML Calabash 0.9.15 for almost 4years now.
> SEVERE: It is a dynamic error if a non-XML resource is produced on a 
> step output or arrives on a step input.
>
> Is there a way to produce text output directly?
> I tried to put a CDATA on the xslt but during output of Calabash it is 
> not what I expected to be.
>
> xslt snippet
> <output>
> <xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
> some inline data
> <xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
> </output>
>
> Calabash output
> <output>
> &lt;![CDATA[
> some inline data
> ]]&gt;
> </output>
>
> What I'm expecting to be is
> <output>
> <![CDATA[
> some inline data
> ]]>
> </output>
>
> Appreciate any help and thank you very much.
>
> Sincerely,
> Gerald


-- 
Martin Kraetke
Projektleiter Content Engineering
le-tex publishing services GmbH

Weissenfelser Str. 84, 04229 Leipzig, Germany
Phone +49 341 355356 143, Fax +49 341 355356 543
martin.kraetke@le-tex.de, http://www.le-tex.de

Registergericht / Commercial Register: Amtsgericht Leipzig
Registernummer / Registration Number: HRB 24930

Geschäftsführer: Gerrit Imsieke, Svea Jelonek,
Thomas Schmidt, Dr. Reinhard Vöckler

Received on Wednesday, 15 May 2013 14:59:54 UTC