Generic Application Selector-New PI’s in XML

Wednesday, April 1 2009 @ 12:57 PM, By Nakshatra Bhardwaj


Adobe FrameMaker 9 has introduced support for associating an XML file with a structured Application. XML authors can now provide the information about the and the Application required to open the XML document using a Processing Instruction(PI).

FrameMaker will be able to understand the PI in following three forms:
1. <?Fmwd AppLocation “structapps_path” AppName “Application”?>
FrameMaker will silently read file from structapps_path and associate Application both at the time of opening and saving XML file.
2. <?Fmwd AppLocation “structapps_path” ?>
FrameMaker will silently read file from structapps_path at the time of opening/saving XML file and will prompt user to select one of the applications within structapps.
3. <?Fmwd AppName “Application”?>
FrameMaker will use the current read structapps and associate the Application given in PI to the XML while opening/saving the file.

The PI should appear before the root element in the XML document with the following syntax:
<?Fmwd AppLocation “” AppName “ApplicationName”?>

For example the below code snippet for an XML file shows the usage of PI instructions.

<?xml version="1.0" encoding="utf-8"?>
<?Fmwd AppLocation "http://cms-fm/FM9/" AppName "SendMail"?>
<Mail xmlns:xsi=""
<subject>Lost Dogmatix</subject>
<body>Please Help.</body>

While opening this XML file FrameMaker 9 will silently read the structapps file available at the path mentioned and will use the ‘SendMail’ application read from the structapps to open the XML file. This should save time involved in opening the structured application file, reading the application definitions and selecting the Application in the Choose Application dialog.

Points to be Noted-
• If Application is not found in structapps, XML will be opened/saved with No Application.
• structapps_path can be absolute/relative paths and they can point to either HTTP or local paths

FrameMaker uses the structured application definition file to locate referenced files, such as read-write rules,
templates, schema and DTD. In cases where the structured application referenced files are located on a web server FrameMaker will download all the referenced files from the server to a temporary location on the local disk. An author can provide such references using an absolute path or relative path with respect to the XML file being edited.
Please feel free to share your feedback.

FrameMaker QE team


  • Categories

  • Archives

  • Authors

  • Useful Links

  • Recent Comments

    • Dieter Gust: So I found it out myself: C:\Program Files (x86)\Adobe\AdobeFrameMaker201 5\fminit\ditafm\DITA-OT\doc...
    • Dieter Gust: In the DITA-OT 2.1 version a rudimentary HTML5 output is included. Add the following entries in...
    • Dieter Gust: Which fonts do you recommend for Thai and Farsi? As far as I can see special Adobe fonts for these...
    • Bjørn Smalbro: Hi Welcome aboard to the new folks! I do have a couple of questions; 1: I have every sent in my...
    • Dieter Gust: Kapil How can I check the DITA-OT version which is installed with FrameMaker?