Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
17
Task/XML-DOM-serialization/C/xml-dom-serialization-5.c
Normal file
17
Task/XML-DOM-serialization/C/xml-dom-serialization-5.c
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include <gadget/gadget.h>
|
||||
|
||||
LIB_GADGET_START
|
||||
|
||||
Main
|
||||
String body;
|
||||
Stack{
|
||||
Store ( body, Multi_copy( body,"<?xml version=\"1.0\" ?>",
|
||||
Parser( "root", "", Parser( "element", "","Some text here",
|
||||
NORMAL_TAG), NORMAL_TAG),
|
||||
NULL) );
|
||||
}
|
||||
|
||||
Print "%s\n", body;
|
||||
|
||||
Free secure body;
|
||||
End
|
||||
Loading…
Add table
Add a link
Reference in a new issue