xpath-based transformations in structured framemaker
DESCRIPTION
XSLT allows you to transform the structure of XML files into anything you need. As structured FrameMaker is not exactly XML but follows the same structured design, the capabilities of XSLT within the FrameMaker environment can be very useful. The FrameSLT plug-in produced by West Street Consulting offers this functionality at a very low price. This presentation gives an introduction to what the tool can do, and what it means to do transformations of structure in technical documents.TRANSCRIPT
it’s a kind of magic...XPath-based transformations in Structured FrameMaker
Jang F.M. Graat
who’s talking ?
• Jang F.M. Graat
• Amsterdam, Netherlands
• physics, psychology, philosophy
• 25+ yrs in tech comms
• self-educated professional
• Automating FrameMaker
what is this about ?
• XML & DOM
• XPath & XSLT
• FrameSLT
• Node Wizard Scripts
• ExtendScript
XML & DOMa very quick explanation
XML : organized storage
DOM : abstract roadmap
XPath & XSLTthe basic concept
XPath : navigation device
XSLT : makeover
FrameSLTtransforming FrameMaker documents
structured FM ≠ XML
FrameSLT ≠ XSLT
the true magician
• Russ Ward
• West Street Consulting
• FM plug-ins
• Usability main drive
• FrameSLT : $100
• Real value : priceless
the magician’s hat
finding your targets
Title
/Chapter/Title
//Section/Title
//Title[contains(.,”Intro”)]
//Section[contains(Title,"tion")]/*/Para[1]
//Section[descendant::BulletList]
//*/@conref
//Title/@id[.!=””]
following-sibling::Note[@Type,”Warning”]
element actions
attribute actions
transformation engine
Node Wizard Scriptsprogramming for non-programmers
structured FM file
event definitions
subevents
FM-specific actions
user-friendly dialog
ExtendScriptbringing it all together
CallClient method
running the node wizard
running NW scripts
magic is in the air