Free Support Forum - aspose.com

Using Xml As Template shortcommings

This link shows how one can use xml as a template: http://www.aspose.com/Wiki/default.aspx/Aspose.Pdf/UsingXmlAsTemplate.html

I find it really a great idea to clone objects for reuse; however, the idea of having to navigate all the IDs and programmatically adjust them are cumbersome. Why can't the completeClone method does it automatically by suffixing with a number to make them unique? otherwise, as seen on the article above, it's bloated with unnecessary handling of the ID's for the cloned table. It's worse when there are many nested table levels and 20 different IDs. Is it an implementation oversight?Hmm [^o)]

Thank you for considering Aspose and telling me your idea. I think you are right. I will consider this issue and modify the clone method.