Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a "stupid" ruby xml builder. nokogiri is much better than this.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitattributes
.gitignore
README.txt
easyXMLBuilder.rb
easyXMLNode.rb

README.txt

EasyXMLBuilder is an XML Builder written in ruby. 

It currently supports: 

- add a node by name
- add a node by EzXmlNodeObject

How to use:

In your ruby code, add load 'easyXMLBuilder.rb'

initialize EzXmlBuilder class:

	builder = EzXmlBuilder.new()

add node: 

	builder.addNode("nodename", "nodeContent")

or add a node with child node:

	node = EzXmlNode.new("nodename", "content")
	node.addChildNode("childNodename", "content")

	builder.addNode(node)

for suggestions and questions, send email to cshao@cs.unc.edu


TODO: 

      add delete node function
      add change node function

      In EzXmlNode class, add similiar functions.
      Let EzXmlNode class support "add Childnode by node" function.
	
      add XmlAnalyzer tool


---- 10/03/2012 ---- 
 
Something went wrong with that request. Please try again.