Apply template to existing topic
Oxygen general issues.
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Apply template to existing topic
Post by alex_jitianu »
Hi,
First, let's be sure that I understand the requirement. You have a new document topic that imposes a certain structure and an already existing topic that doesn't respect this structure. You want to refactor the existing topic to respect the template structure? Is this the use case? If not, please give me more details.
Best regards,
Alex
First, let's be sure that I understand the requirement. You have a new document topic that imposes a certain structure and an already existing topic that doesn't respect this structure. You want to refactor the existing topic to respect the template structure? Is this the use case? If not, please give me more details.
Best regards,
Alex
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Apply template to existing topic
Post by alex_jitianu »
Hi,
In theory it could be done wither though a custom XML refactoring action or through a prompt in our AI Positron add-on. To decide which path is more feasible, could you send us some sample files on support@oxygenxml.com? After we make the analysis I will remove the files from my system. You can also use the action Help->Support tools->Randomize XML text content before sending the files if they contain sensitive information.
In theory it could be done wither though a custom XML refactoring action or through a prompt in our AI Positron add-on. To decide which path is more feasible, could you send us some sample files on support@oxygenxml.com? After we make the analysis I will remove the files from my system. You can also use the action Help->Support tools->Randomize XML text content before sending the files if they contain sensitive information.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Apply template to existing topic
Post by chrispitude »
Hi JulieP,
If you want to insert metadata into an existing topic that might or might not have it, the following Oxygen XML Blog post might be useful:
Inserting and Reformatting Content in Refactoring Operations
We used it for exactly that purpose. Some topics had a <prolog> and some did not. We needed a reliable way to create or reuse metadata structures as needed, while respecting DITA content models.
If you are talking about content restructuring, that would probably require some other approach, such as the ones Alex suggested.
If you want to insert metadata into an existing topic that might or might not have it, the following Oxygen XML Blog post might be useful:
Inserting and Reformatting Content in Refactoring Operations
We used it for exactly that purpose. Some topics had a <prolog> and some did not. We needed a reliable way to create or reuse metadata structures as needed, while respecting DITA content models.
If you are talking about content restructuring, that would probably require some other approach, such as the ones Alex suggested.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service