Skip navigation
TikabLisbeth
Currently Being Moderated

Setting a condition tag on an element

Apr 25, 2013 5:00 AM

Tags: #elements #extendscript #conditional_tag

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

 
Replies
  • Currently Being Moderated
    Apr 25, 2013 5:09 AM   in reply to TikabLisbeth

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2013 5:38 AM   in reply to TikabLisbeth

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2013 5:53 AM   in reply to TikabLisbeth

    I always go for the easiest solutions. Makes me save time for fun stuff.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 25, 2013 8:21 AM   in reply to TikabLisbeth
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points