Skip to main content
Participating Frequently
April 25, 2013
Answered

Setting a condition tag on an element

  • April 25, 2013
  • 2 replies
  • 1245 views

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

This topic has been closed for replies.
Correct answer 4everJang

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.

2 replies

Inspiring
April 25, 2013
4everJang
Legend
April 25, 2013

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

Participating Frequently
April 25, 2013

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.

4everJang
4everJangCorrect answer
Legend
April 25, 2013

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.