cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From radoslav <ku...@dynatech.sk>
Subject Re: save file from xml
Date Mon, 04 Dec 2006 15:05:23 GMT


yes,

best way i found 


 <source:write create="true" report = "true">
  <source:source><xsp:expr>fileName</xsp:expr></source:source>
 </source:fragment>
  </source:write>

but return report so i hacked
class org.apache.cocoon.transoformation.SourceWritingTransformer




Jeroen Reijn wrote:
> 
> Hi Radoslav,
> 
> Looking at the nabble.com website I can see the markup in your email. It 
> 's best to send your email as text, because it looks really confusing 
> without the markup.
> 
> I think it's best for you to create a slightly modified version of the 
> SourceWritingTransformer.
> 
> If I understand you correctly you want to generate an XML, save it to 
> filesystem and output the same file to the browser right?
> 
> Kind regards,
> 
> Jeroen Reijn
> 
> radoslav wrote:
>> i want save XML file when i generate it but i wouldn't like to use XSL 
>> file i used this tags 1, * fileName * but this return report that i 
>> dont'need, and i don'tt want to use XSL no good way is to hack 
>> *org.apache.cocoon.transformation.SourceWritingTransformer* but it is 
>> running as i want 2, to use XSL file , but i don't want it 3, write own 
>> transformer i prefer hack 
>> *org.apache.cocoon.transformation.SourceWritingTransformer*. have you 
>> any suggestions?
>> ------------------------------------------------------------------------
>> View this message in context: save file from xml 
>> <http://www.nabble.com/save-file-from-xml-tf2753385.html#a7678659>
>> Sent from the Cocoon - Users 
>> <http://www.nabble.com/Cocoon---Users-f112.html> mailing list archive at 
>> Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/save-file-from-xml-tf2753385.html#a7680018
Sent from the Cocoon - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message