|
Groovy example source code file (UseMarkupWithWriterScript.groovy)
The Groovy UseMarkupWithWriterScript.groovy source code// used by MarkupWithWriterTest.testWriterUseInScriptFile writer = new java.io.StringWriter() b = new groovy.xml.MarkupBuilder(writer) b.root1(a:5) println writer.toString() assert "<root1 a='5' />" == writer.toString() Other Groovy examples (source code examples)Here is a short list of links related to this Groovy UseMarkupWithWriterScript.groovy source code file: |
Other websites by Alvin Alexander:
Life/living in Alaska (OneMansAlaska.com)
How I Sold My Business (HowISoldMyBusiness.com)
Copyright 1998-2011 Alvin Alexander, devdaily.com
All Rights Reserved.