Skip to content
This repository

Changing labels with CssSelector #1236

fanf opened this Issue March 08, 2012 · 0 comments

2 participants

Francois Armand David Pollak
Francois Armand
fanf commented March 08, 2012

This ticket follows the discussion on the mailing list about rewrapping Elem:

For example:

    <people version="1" otherProp="prop">
    <user version="2" otherProp="prop">

Proposed solution:

"people" #> ((ns: NodeSeq) => <user version="2">{
  val kids = ns.asInstanceOf[Elem].child
  ("name" #> ((ns: NodeSeq) => <login>{ns.asInstanceOf[Elem].child}</login>)).apply(kids)

But should be simpler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.