Sigh... I knew it had to be drop-dead simple. Not sure how I kept 
getting List(<span>...) output instead of <span>...</span> out. Works 
now. Thanks.

Chas.

Jorge Ortiz wrote:
> A NodeSeq is really just a Seq[Node]. And a List[Node] is also a 
> Seq[Node]. Hence a List[Node] is a NodeSeq.
> 
> scala> import scala.xml.NodeSeq
> import scala.xml.NodeSeq
> scala> val n: NodeSeq = List(<span>A</span>, <span>B</span>, <span>C</span>)
> n: scala.xml.NodeSeq = <span>A</span><span>B</span><span>C</span>
> 
> --j
> 
> On Thu, Nov 13, 2008 at 10:14 AM, Charles F. Munat <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
>     If I have a list thus:
> 
>     List(<span>A</span>,<span>B</span>,<span>C</span>)
> 
> 
>     How can a get a NodeSeq thus from this:
> 
>     <span>A</span><span>B</span><span>C</span>
> 
> 
>     I'm sure this is drop-dead simple, but it's still not obvious to me...
> 
>     Thanks,
> 
>     Chas.
> 
> 
> 
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
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