Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 16. XML Processing > Embedded Expressions

16.4. Embedded Expressions

You can include blocks of Scala code inside XML literals to dynamically compute items. For example:

<ul><li>{items(0)}</li><li>{items(1)}</li></ul>


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial