Page 1 of 1

Moving text to a new tag

Posted: Thu May 10, 2012 11:05 pm
by Amanda
Hi,

I'm very new to oXygen so I'm not sure if this is possible. Hopefully someone here can help!

I need to move (or copy) the contents of one tag into a new tag which needs to appear in a specific place later in the XML document. This new tag would need to be created. The tag that the text needs to be moved from appears several times (it's an ONIX for books document).

I'd really like to automate this process. Is that possible?

Thanks!

Re: Moving text to a new tag

Posted: Fri May 11, 2012 11:47 am
by Costin
Hello,

In oXygen you can only cut (or copy) content from some tags to another manualy.
In case you need this process to be automated, you should develop a custom XSLT file for copying contents based on the template rules you define.
Of course, this implies good knowledge in the XSLT segment.

Please let us know in case you need further information.

Regards,
Costin