Displaying 1 result from an estimated 1 matches for "__tag__".
Did you mean:
__can__
2006 Jan 25
1
xx-0.1.0 : xhtml and xml make it twice as dirty
...re:
#
# - g_
# - text_
# - t_
# - h_
# - x_
# - c_
# - at_
# - att_
# - yat_
#
include XX::XML
doc = xml_{
root_{
t_{ "this is a text element" }
t__{ "this is not text, but a __tag__ called t" }
x_{ "this un-escaped & < > stuff" }
x__{ "this is not un-escaped & < > stuff but a tag called x" }
}
}
puts doc.pretty
~ > ruby sample/d.rb
<?xml version=''1.0''?>...