symbol_parser.rb revision 848ee2a2aff32bc2aa170967e43a2d768653b55f
# Parses the given string and executes the callback for each symbol
# Create a new parser
# Feed the parser some XML
end
# Listener for the SAX Parser
# the callback function is called for each Symbol tag
end
# a tag
case name
when 'Symbols'
# do nothing
when 'Symbol'
else
end
end
# a text node
end
# closing tag
if name == 'Symbol'
end
end
# error handler for parsing problems
end
end
end