XSLT cookbook for DITA writing from scratch?

34 views
Skip to first unread message

Michael Hopwood

unread,
Jan 9, 2017, 5:22:20 AM1/9/17
to DITA-OT Users
Hello everyone, my first post here so please go easy on me!

Anyone aware of some useful XSLT snippets to help get me started with producing DITA?

One specific use I'm thinking of is actually more general; splitting a text file containing XML tags (in this case DITA) into separate files that will be well-formed XML (in this case also valid DITA).

Here's the workflow to show what I mean:

1. Starting point is a single plaintext file with lots of topics in its content
2. Use multiple cursors to quickly wrap each topic with appropriate DITA tags
3. Split file into multiple DITA topic files for further editing and re-use
Reply all
Reply to author
Forward
0 new messages