Scala's XML support is based in immutable objects meaning that you can
not change them but rather generate new structures.

Lift is very flexible and allows you to apply your own xhtml
transformation right before the response is sent down to client.

LiftRules.responseTransformers.append {

  case XhtmlResponse(node, docType, headers, cookies, code,
renderInIEMode) => // do whatever you want with node and return a new
XhtmlResponse
  case resp => resp
}

Br's,
Marius

On May 18, 1:43 am, "[email protected]" <[email protected]>
wrote:
> Hi:
>
>   I would like to know if there is a way to insert a \n in the
> generated xml,
> for some NodeSeq seems too long to make Firefox error. Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" 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/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to