> > My next challenge is to do this dynamically (so if anybody have > experience on how to do that using libxml, feel free to spill the beans). Check xmlCreateIntSubset() from th libxml/tree.h file. Aleksey