|
Content with label xml in Groovy (See content from all spaces)
Related Labels:
cookbook, sql, javadoc, parsing, html, 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:
cookbook, google, earth, kml
|
Parsing Groovy Doc Online
Contributing to online documentation website http://gotapi.com, we have to generate a xml document describing groovy objects and methods hierarchy and links to javadoc. This is done with the following groovy script and the excellent HTML parser NekoHTML (see http://people.apache.org/andyc ...
Other labels:
javadoc, parsing, html
|
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, cookbook
|
|
|