You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jasper Michalczik <ja...@gmx.net> on 2004/09/27 17:47:49 UTC

ram file serialization

Hi experts,

 

I have a site serving real media streams which usually consist of two
separate file, the .rm and the rram files. I currently put them
physically in the same folder using a reader to deliver the files, but
I'd like to change this for the .ram files, as the only thing they do is
naming the path to the .rm-file for streaming. What I need is an output
like this:

 

"http://mydomain/cocoon/audio.rm"

 

So how can I transform an xml-stream into a simple text-file like the
above.

 

 

Thank You,

 

Jasper Michalczik


Re: ram file serialization

Posted by Ben Pope <be...@hotmail.com>.
http://cocoon.apache.org/2.1/userdocs/serializers/text-serializer.html

If thats not appropriate, it might help to give a more specific description 
of your source.

Essentially run an xslt over your xml data in order to end up with something 
like:

<link>http://mydomain/cocoon/audio.rm</link>

Then use the txt-serialiser to finish the job.

Ben



----- Original Message ----- 
From: "Jasper Michalczik" <ja...@gmx.net>
To: <us...@cocoon.apache.org>
Sent: Monday, September 27, 2004 4:47 PM
Subject: ram file serialization


> Hi experts,
>
>
>
> I have a site serving real media streams which usually consist of two
> separate file, the .rm and the rram files. I currently put them
> physically in the same folder using a reader to deliver the files, but
> I'd like to change this for the .ram files, as the only thing they do is
> naming the path to the .rm-file for streaming. What I need is an output
> like this:
>
>
>
> "http://mydomain/cocoon/audio.rm"
>
>
>
> So how can I transform an xml-stream into a simple text-file like the
> above.
>
>
>
>
>
> Thank You,
>
>
>
> Jasper Michalczik
>
> 

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