I am trying to create a structured application to export fm files as xml, and probably read the xml back to fm.
In the structured application file (structapp), I need to specify the locations of the various files (DTD, read/write, template, etc). I would like to place these files on a shared server so others can use the same structapp file (that is, a cop of it). What is the correct way to format the file paths and names? Can folders folder names and file names have spaces in them? I tried the following, for example:
\\serverName\shareName\folder 1\folder 2\file name.dtd
I use the same format for the template file and the read/write rules file.
When I try to save an fm file to xml, FrameMaker says that it cannot read the DTD; however, the resulting xml file appears to be well-formed. The DOCTYPE element in the resulting xml is formatted with forward slashes and spaces replaced with %20.
I tried using forward slashes and replacing spaces with %20, but then I get an error about reading the read/write rules.
NOTE: I have another structured application to read xml into fm. This application does not have a DTD file. The template and read/write rules files are specified as above. Except for complaining about a lack of a DTD, the application works fine; it even applies an XSLT in the process. Again, when I DO add a DTD to this latter application, I get the same complaint about not being able to read the DTD.
I am using fully patched FrameMaker 9 in Windows XP.
Thanks,
Van