RE: Opening SGML

2007-03-08 Thread Andrew Avis
 Serge,
 
 Did your customer give you a structured application with the 
 SGML file?
 (The structured application consists of at least an EDD and 
 application definition. It can also include Read/Write rules, 
 and a template, and maybe even some other things.) If so, 
 you'll need to use that. If not, you'll need to create one.

Further to this, all you really need is the DTD for the original SGML (which
may include an SGML declaration file and entity files, or not).  You can
quickly generate an EDD from the DTD in Frame.  The imported SGML won't look
pretty, but it will parse correctly.  From that point you can refine the EDD
and develop a structured application to convert various elements into Frame
objects like markers, graphics, and tables.

Drew Avis - Technical Writer
QNX Software Systems Ltd.
Ottawa, Ontario
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


RE: Basic question about Structured Frame

2007-03-14 Thread Andrew Avis
 The question is this: if our documents were authored in 
 Structured Frame, could we use the same topic at a heading 1 
 level in one document and at a heading 2 level in another 
 document? If so, in a very general way (no need to write a 
 small book!) how does this work?

Hi Rick, it depends entirely on your DTD/Schema, but if designed correctly,
it's easy to do.  For example, assume your DTD has a section element,
which contains a title and para:
section
titleMy Section/title
paraSome content./para
/section

You could allow the section element to be used in other sections, or at
the top level of a chapter:

chapter
section
titleMy Section/title
paraSome content./para
section
titleMy Second Section/title
paraSome more content./para
/section
/section

Using the level rules in your Frame EDD, you could format the title
according to its level.

For an example that implements this concept, see the recursive section
element in DocBook:
http://www.docbook.org/tdg5/en/html/section.html

If you have a copy of Frame, you can open a new, blank DocBook document, and
play around with nested sections to get an idea.

Drew Avis - Technical Writer
QNX Software Systems Ltd.
Ottawa, Ontario
___


You are currently subscribed to Framers as [EMAIL PROTECTED]

Send list messages to [EMAIL PROTECTED]

To unsubscribe send a blank email to 
[EMAIL PROTECTED]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [EMAIL PROTECTED] Visit
http://www.frameusers.com/ for more resources and info.


Structured Frame saving XML

2007-03-02 Thread Andrew Avis
> Our source documents are in XML and we edit in structured 
> Frame. I have XSL processes running successfully on Open and 
> Save and I have no issues with the validity of the XML which 
> Frame is giving me. However I do have an issue with the 
> layout. Because our XML files are managed by a source control 
> system, I would like to minimize the differences between 
> revisions, and Frame's apparent perversity regarding 
> line-wrapping in particular is making this difficult.
> 
> Is it following any rules at all?
> Can we know what they are?
> Can we change them?

Hi Trevor, look at the "line break" and "preserve line breaks" rules in the
Structure Application Developer's Guide manual for your read/write rules
file. 

Drew Avis - Technical Writer
QNX Software Systems Ltd.
Ottawa, Ontario



Opening SGML

2007-03-08 Thread Andrew Avis
> Serge,
> 
> Did your customer give you a structured application with the 
> SGML file?
> (The structured application consists of at least an EDD and 
> application definition. It can also include Read/Write rules, 
> and a template, and maybe even some other things.) If so, 
> you'll need to use that. If not, you'll need to create one.

Further to this, all you really need is the DTD for the original SGML (which
may include an SGML declaration file and entity files, or not).  You can
quickly generate an EDD from the DTD in Frame.  The imported SGML won't look
pretty, but it will parse correctly.  From that point you can refine the EDD
and develop a structured application to convert various elements into Frame
objects like markers, graphics, and tables.

Drew Avis - Technical Writer
QNX Software Systems Ltd.
Ottawa, Ontario



Basic question about Structured Frame

2007-03-14 Thread Andrew Avis
> The question is this: if our documents were authored in 
> Structured Frame, could we use the same topic at a heading 1 
> level in one document and at a heading 2 level in another 
> document? If so, in a very general way (no need to write a 
> small book!) how does this work?

Hi Rick, it depends entirely on your DTD/Schema, but if designed correctly,
it's easy to do.  For example, assume your DTD has a  element,
which contains a  and :

My Section
Some content.


You could allow the  element to be used in other sections, or at
the top level of a chapter:



My Section
Some content.

My Second Section
Some more content.



Using the level rules in your Frame EDD, you could format the 
according to its level.

For an example that implements this concept, see the recursive section
element in DocBook:
http://www.docbook.org/tdg5/en/html/section.html

If you have a copy of Frame, you can open a new, blank DocBook document, and
play around with nested sections to get an idea.

Drew Avis - Technical Writer
QNX Software Systems Ltd.
Ottawa, Ontario