Skip to main content

All Questions

Tagged with
2votes
0answers
482views

Ruby Hash to XML

I've just made this "serialization" module in Ruby that takes a hash and outputs a XML string. ...
justapilgrim's user avatar
2votes
1answer
268views

Analyze Shakespeare's Macbeth parsing XML from web using Nokogiri

This is a simple Ruby program to analyze the number of lines characters speak in Shakespeare's Macbeth using Nokogiri and open-uri to parse a given url containing xml. I wrote this as practice getting ...
jsuth's user avatar
5votes
0answers
204views

Error Handling for XML parser

I have the following Ruby code, which parses an XML document sax style (it's a very simplified version): ...
23tux's user avatar
1vote
1answer
120views

XML/HTML batch generator

As part of an exercise I've written some code to generate multiple HTML files based on information stored in a couple of XML files. I'm not really sure how much code you'd need to evaluate my function ...
SoSimple's user avatar
5votes
2answers
69views

Adding credentialsID node to SVN location nodes

I'm new to ruby. Recently I wrote a script to add a credentialsID node to each SVN location node in each config.xml file for all ...
jph's user avatar
  • 53
5votes
3answers
9kviews

Building XML by enumerating through array & hashes

...
maxhungry's user avatar
5votes
3answers
3kviews

Converting KML/XML to Javascript

So, I have the boundaries of every states in the US, from the google map KML file. This KML file is actually a XML file. I'm converting this file to a JS file compatible with google map in order to ...
bl0b's user avatar
  • 395
3votes
2answers
7kviews

Parsing data from XML using Ruby and Nokogiri

I have a method that parses XML into an array of hashes. Here is the original XML: ...
Ecnalyr's user avatar
4votes
1answer
494views

filter out password in xml string

We're storing the xml communications with an external service in a text in the db and in a before_create I've got the following: ...
ecoologic's user avatar

close