Robert...
Correction! It turns out that you *can* format XML documents in Frame
using CSS. There are two options ..
- If the XML file includes an "xml-stylesheet" processing instruction
that points to a CSS file, you can set up a structure application
definition to make use of that CSS styling when formatting the file in
Frame.
OR
- You can import a CSS into an EDD. If the selectors in the CSS match
the element names in the EDD, those element definitions will be updated
with corresponding formatting data.
Chapter 5 in the Structure Application Developer's Reference lists the
CSS properties that are honored and how they map to FM properties. I'm
still trying to wrap my head around how this all works, but will
probably write up a blog post on it with more details. If you want more
info, feel free to contact me.
Cheers,
...scott
Scott Prentice
Leximation, Inc.
www.leximation.com
+1.415.485.1892
On 9/4/12 8:51 AM, Scott Prentice wrote:
Hi Robert...
1) You can specify a Schema (XSD) or a DTD file in the structure
application definition. This has been available since FM8 (possibly
FM7.2). I've not done this in Frame, but in theory the answer to your
question is yes. Perhaps someone with more experience with this
feature can comment.
2) No. Formatting in FM is done through an EDD .. which maps elements
and element contexts to named styles defined in the associated
template or by applying properties and formatting directly to the
element structures.
Neither of these features has changed with FM11.
Cheers,
...scott
Scott Prentice
Leximation, Inc.
www.leximation.com
+1.415.485.1892
On 9/3/12 12:14 PM, Robert Leif wrote:
After reading the two interesting reviews of FrameMaker11, I still
have two questions.
1)Can I directly import elements from XML schemas, particularly,
those created in XSD (XML Schema Definition) language?
2)Can I format my XML with CSS (Cascading Style Sheets)?
Thank you.
Robert C. Leif, Ph.D.
Vice President R&D
Newport Instruments
3345 Hopi Place
San Diego, CA 92117
Email: [email protected]
Tel. (619) 582-0437
http://www.newportinstruments.com/
http://www.cytometryml.org/
_______________________________________________
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.