Having worked 3+ years with XSLT, I usually avoid it. :)

Vladislav: Any chance you can preprocess this on the server? This  
would (probably) save you from many headaches and free you from using  
XSLT engines on the client.

Best,
Thomas

Am 01.06.2007 um 16:35 schrieb Ryan Gahl:

> There are many different ways to work with templates. Probably one  
> of the most used approaches (which would fit here as well) is to  
> use XSL transforms. You may want to google for "Sarissa" as that is  
> a pretty good javascript implementation of an XSLT engine, nice and  
> fast.
>
> Prototype does have some minimal template abilities, but not very  
> robust.
>
> Try a google for "javascript templating", and you will probably  
> find a slew of options like TrimPath and the like.
>
> On 6/1/07, Vladislav Gorodetskiy <[EMAIL PROTECTED]> wrote:
> Hey!
> Is there any way to process the following w/Prototype?
> ....
>   <div>
>     <ext:container>
>       <ext:title>Titile</ext:title>
>       <ext:link url=" http://prototypeks.org"; title="Prototype  
> rocks!" /
> >
>     </ext:container>
>   </div>
>
> to
>   <div>
>     <div class="container">
>       <h1 class="title_h1">Title</h1>
>       <a href="http://prototypeks.org";>Prototype rocks!</a>
>     </div>
>   <div>
>
> Thanks!
>
>
>
> http://www.nthpenguin.com
> --
> Software Architect
> WebWidgetry.com / MashupStudio.com
> Future Home of the World's First Complete Web Platform
> --
> Inquire: 1-262-951-6727
> Blog: http://www.someElement.com
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to