diff --git a/src/xmlout.c b/src/xmlout.c
index 021847f..16e95a4 100644
--- a/src/xmlout.c
+++ b/src/xmlout.c
@@ -327,10 +327,21 @@ xmlTermType (const Term t)
t->subst = NULL;
}
+ xmlindent++;
+ xmlPrint("");
+ xmlindent++;
xmlIndentPrint ();
xmlTermPrint (t);
printf ("\n");
+ xmlindent--;
+ xmlPrint("");
+
+ xmlPrint("");
+ xmlindent++;
xmlTermlistPrint (t->stype);
+ xmlindent--;
+ xmlPrint("");
+ xmlindent--;
if (realTermVariable (t))
{
@@ -356,10 +367,15 @@ xmlVariable (const System sys, const Term variable, const int run)
}
printf ("\" run=\"%i\">\n", run);
xmlindent++;
+
+ xmlPrint ("");
xmlTermType (variable);
+ xmlPrint ("");
if (variable->subst != NULL)
{
+ xmlPrint ("");
xmlTermType (deVar (variable));
+ xmlPrint ("");
}
xmlindent--;
xmlPrint ("");