Copy link to clipboard
Copied
Hi all,
I've got a bunch of XML files that I import to FrameMaker using a custom structured application based on S1000D. I would like to not show some of the data in the XML files in the final FM document, but preferably not remove it. Is there some way to set condition tags on an element using extendscript? Or is there a way to specify it in the EDD for the structured application? Any other suggestions?
Best regards,
Lisbeth
No problem. In the same EDD you can assign a special paragraph format to a title that follows a hidden element, making it stay on the same page instead of moving to the top of the new page.
Copy link to clipboard
Copied
Hi Lisbeth,
I am doing this with a couple of files and as I am pragmatic about these things I use the EDD to assign a particular paragraph format to the data I wanted to remove. That paragraph format is set to white font color, 2 pt high with no space above, no space below and 0 pt line space. This effectively removes the content from the visible document.
Getting into automatically applied conditions in FrameMaker might not be the easiest thing to do. My method does not require any scripting.
Kind regards
Jang
Copy link to clipboard
Copied
Yeah, that would be the easiest thing, if it weren't for the fact that the next element (the title) needs to start on the top of the page. Having the tiny white text on the first page pushes the title to the next page, leaving the first page looking blank.
Copy link to clipboard
Copied
No problem. In the same EDD you can assign a special paragraph format to a title that follows a hidden element, making it stay on the same page instead of moving to the top of the new page.
Copy link to clipboard
Copied
I didn't think of that, but yes, it should work. Thanks!
Copy link to clipboard
Copied
I always go for the easiest solutions. Makes me save time for fun stuff.
Copy link to clipboard
Copied