mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 08:56:16 +01:00
32ef70d4b2
2000-10-24 Havoc Pennington <hp@pobox.com> * gmarkup.h, gmarkup.c: New module to parse a simple markup language * Makefile.am: add gmarkup.h, gmarkup.c * tests/Makefile.am: add markup-test * gstring.h (g_string_new_len): new function to create a string with a length (g_string_new): avoid a gratuitous realloc
9 lines
424 B
Plaintext
9 lines
424 B
Plaintext
<!-- Comment -->
|
|
<?PI ?>
|
|
<foobar>
|
|
<e1>Hi & this is some text inside an element Two 'E' chars as character refs: E E and some 'J': J J</e1>
|
|
<e2:foo> Text <childfree/> with some <nested>nested elements</nested> and entities "& < >> ' and whitespace </e2:foo>
|
|
<tag ab="fo<o" bar="foo" baz="blah">This element has attributes</tag>
|
|
<nochildren a="b" xyz="qrs"/>
|
|
</foobar>
|
|
|