Page 1 of 1

copying elemnt

Posted: Wed Nov 05, 2003 7:53 pm
by agashirazi
Hey,

I like to know if theres any function in Oxygen that would help me create a new XML file with just some elements being copied from another XML file?

If I was unclear, I have one big XML file and I want to create a new one but with just a new of the elements from big XML file. With the tree structure I would also like to copy the data too.

Thanks
Aga Shirazi

Posted: Wed Nov 05, 2003 8:16 pm
by george
Hi Aga,

You can write a simple stylesheet to extract a fragment from your big document and configure the transformation to save the result as the new document you want to create.

Also you can create a document template then create new documents using that template but in this case the document is static, that is what you save as template is what you get as new document.

Best Regards,
George