Framers,

A few more details.


I typed my application name into my EDD and went through the process again. 
This time when saving the DTD, I was not presented with the structured 
application selection dialog. I forgot to mention there was a dialog before 
that gave of choice of SGML or XML, I picked XML, but that did not appear after 
including my application name in the EDD. When saving my DTD previously, I had 
many str-app choices, including the one I named. I picked that once or twice 
when doing this.


There is also some details about adding the details to the structured 
application definition file. That seems to get done automatically using the 
designer.


Here are referenced I've been reading:


https://help.adobe.com/en_US/framemaker/2015/using/using-framemaker-2015/frm_structauth_sa/Build_a_structured_application-.htm


http://www.frameusers.com/uploads/2016/09/First-steps-in-structure.pdf



I am now reading the bottom of page 23(27) of this nebulous document:


https://help.adobe.com/en_US/framemaker/2015/StructuredDev/Structure_Dev_Reference.pdf



C2






________________________________
From: cuc tu <cu...@hotmail.com>
Sent: Friday, June 29, 2018 6:34 AM
To: framers@lists.frameusers.com
Subject: My Structured App Not Showing


Hi All,


I'm trying to set a simple structured app so I can read in xml and apply 
formatting, somewhere I am missing something as I only see two dita and one 
xdocbook apps available. A few times I've seen a whole list of about 20 and 
cannot figure out where is the problem.


I make a new EDD in Frame and it validates. It is flat:


EDD Version is 12.0
Structured Application:
Do not create formats on import.
Element (Container): Reference
Valid as the highest-level element.
General rule: <ANY>
Element (Container):  Title
General rule: <ANY>
Element (Container):  Subheading
General rule: <ANY>
Element (Container):  Command
General rule: <ANY>
Element (Container):  Name
General rule: <ANY>
Element (Container):  title-label
General rule: <ANY>
Element (Container):  show
General rule: <ANY>
Element (Container):  data
General rule: <ANY>
Element (Container):  pre
General rule: <ANY>
Element (Container):  Name2
General rule: <ANY>


Then I use StructureTools to save as a DTD, selecting <no application>:


<?xml version="1.0" encoding="UTF-8"?>

<!--DTD for Reference. Typically invoked by
      <!DOCTYPE  Reference  SYSTEM
    "C:\Program Files 
(x86)\Adobe\AdobeFrameMaker12\Structure\xml\SCPI\DTD12.dtd">
-->


<!ELEMENT Reference  ANY >

<!ELEMENT Title      ANY >

<!ELEMENT Subheading ANY >

<!ELEMENT Command    ANY >

<!ELEMENT Name       ANY >

<!ELEMENT title-label
                     ANY >

<!ELEMENT show       ANY >

<!ELEMENT data       ANY >

<!ELEMENT pre        ANY >

<!ELEMENT Name2      ANY >



I also create a blank FM file and import elements from my EDD. All of these 
files are saved in the program directory specified in my DTD.



Now I will open the Structured Application Designer with Blank Application, I 
will set the the file paths to my DTD, EDD, and scpi-template.fm files, give it 
a name and save.


Now I will try to open the xml file. I do not know what needs to be in the 
header, but that's my guess. I've also tried it without the path (just 
"DTD12.dtd:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Reference SYSTEM  "C:\Program Files 
(x86)\Adobe\AdobeFrameMaker12\Structure\xml\SCPI\DTD12.dtd" [

<!-- Begin Document Specific Declarations -->


<!-- End Document Specific Declarations -->

]>

<Reference>
<Title>Commands</Title>
<Subheading>SYSTEM Commands</Subheading>
<Command>
<Name> *CLS  </Name>
      <title-label><show> Title: </show></title-label>
      <data> Clear Status Command </data>
      <title-label><show> Description: </show></title-label>
      <data> <pre> This command clears all status data structures in the device 
(registers and error queue)
and forces the Operaton Complete state to Idle.</pre> </data>
      <title-label><show> Parameter(s):</show> </title-label>
      <data> none </data>
    </Command>
</Reference>



Frame offers only the three structured apps, not mine, so I'm lost.


I've done this many times and a few times I was able to see my app, but I had 
specified the <reference> element in lower case and frame seemed to be 
complaining about that and would not open the file.


I know I need to add a lot more to my EDD and rebuild this, I just want 
something simple to work and I just cannot get there.


Thanks for any insights.

C2
_______________________________________________

This message is from the Framers mailing list

Send messages to framers@lists.frameusers.com
Visit the list's homepage at  http://www.frameusers.com
Archives located at http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at 
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listad...@frameusers.com

Reply via email to