Hi Antonio.
These are exports of xowiki instances, and not thought for humans! In applications, you will have different IDs, but most of these are provided as well automatically. Please look at the following example.
I've added this as well to
http://alice.wu-wien.ac.at:8000/s5-xowiki-tutorial/slides#listing-form-create
all the best
-g
#
# Sample snippet to show, how to create an
# ::xowiki::Form programmatically
#
# Get package_id by initializing the package
::xo::Package initialize -url /xowiki
set template {
@listing@
}
set fc {
listing:code_listing
}
# Create a form instance in memory
set form_id [::xowiki::Form new -destroy_on_cleanup \
-package_id $package_id \
-parent_id [$package_id folder_id] \
-name "en:sample.form" \
-anon_instances "f" \
-form {} \
-text [list $template text/html] \
-form_constraints $fc]
# save the form to the root folder of the package
$form_id save_new