write-item writes parts of xml, so add a method on xml objects to make it write their bodies without the prolog

db4
Doug Coleman 2008-09-01 19:10:34 -05:00
parent 47d5c24597
commit 6cff5eb76f
1 changed files with 3 additions and 0 deletions

View File

@ -110,6 +110,9 @@ M: instruction write-item
[ after>> write-chunk ]
} cleave ;
M: xml write-item
body>> write-item ;
: print-xml ( xml -- )
write-xml nl ;