|
Content with label cookbook in Groovy (See content from all spaces)
Related Labels:
xml, sql, recipes, file, google, earth, kml
Compute distance from Google Earth Path (in .kml file)
Every Google Earth user is going mad about path and distance: you can get Path or Distance but not both. This little snipset help you to get path AND distance. # Create your path as usual with Google Earth # Save it as a .kml ...
Other labels:
xml, google, earth, kml
|
Recipes For File
nbsp;Groovy recipes for every day\! Today is the File Day \! List my imported packages Today: I get a list of imported package into my old groovy scripts \! //Pattern for groovy script def p = /.groovy/ new ...
Other labels:
recipes, file
|
Convert SQL Result To XML
How to convert SQL Result to XML ? import groovy.sql.Sql import groovy.xml.MarkupBuilder def schema = "PROD" def sql = Sql.newInstance("jdbc:oracle:thin:@hostname:1526:$ ", "scott", "tiger", "oracle.jdbc.driver.OracleDriver") / Request / def req = """ SELECT id, name, givenname ...
Other labels:
sql, xml
|
|
|