0 Replies Latest reply on Mar 21, 2014 4:10 PM by mcanespy

    Unthreading text frames with XML elements

    mcanespy

      I have documents with threaded text frames that I need to unthread per instructions from my ePub developer (making fixed layout ePubs). There are assorted XML tags associated with the text.

       

      First I tried Rorohiko's Auto Unstitch; all of the XML tags were deleted. Next I tried splitstory.jsx; all of the XML elements were duplicated into new root elements. That's not so bad except now I have a bunch of "empty" xml elements over there in the structure pane, which is messy! and which also causes a different script I use to crash.

       

      I think I should be able to add a few lines onto the end of the SplitStory script that will locate and remove those empty elements. Does that sound possible?