summaryrefslogtreecommitdiff
path: root/test/files/run/xmlParsing_attr.scala
blob: ea2eb60bf68c22d7adbc967848a41482b84df1db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import scala.xml._ ;

object Test with Application {

  val testValue = "This is a test.";

  val testValue2 = 42;

  val page = <testTag value={ testValue } ab="bkla" />;

  val page2 = <testTag value={testValue2.toString()} bla="foo"></testTag>;

  Console.println( page.toString() );

  Console.println( page2.toString() );

}