DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion Capture current date and time and output to PDF

  • txvia

    Capture current date and time and output to PDF

    Participants 1
    Replies 0
    Last Activity 10 years, 8 months ago

    I am using XMetaL 6.0 SP1 on Windows 7.

    I am trying to find out whether I can write a template to output current date and time to PDF when certain conditions are met. For example, whenever I specify “time” in the outputclass field of the element, I want the template to output current date and time to the area on PDF when it sees this outputclass value. Is there a way to do this? I am using RenderX to transform my PDF output.

    Here is what I am potentially looking into doing:


     
         
            ………
            ………
           
              ……..
           

           
         

         
            ………
            ………
         

     

    Here is a fragment of my DITA source file:

      Current date: {current date and time output here}

    Thanks.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support