I'm trying to a Google kml tour with ruby and I get a syntax error with this code
xml = builder.gx:Tour
It doesn't like the colon. Is there a way to force it to compile this?
Had to do
xml.tag!("gx:tour")
Yes, and if you want to put some value, it would be something like
xml.tag!("gx:tour", "value of gx:tour", "attribute1"=>"attribute1val", "attribute2"=>"attribute2val", ..., "attributeN"=>"attributeNval")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With