using forms in oxygen xml editor

11
Using forms in <oXygen/> XML editor

Upload: ixiasoft

Post on 14-Apr-2017

573 views

Category:

Software


1 download

TRANSCRIPT

Page 1: Using forms in oXygen XML editor

Using forms in <oXygen/> XML editor

Page 2: Using forms in oXygen XML editor

Introduction• Mario Cesar (developer in Yan’s minions team)

• Goal of this session What can be done with <oXygen/> Provide samples you can take home

Page 3: Using forms in oXygen XML editor

Prerequisites• TEXTML Server content store using 4.1 vanilla

configuration with FAQ specialization

• <oXygen/> Editor 17.0

• DITA CMS Eclipse client

• Web Author (Glassfish, Tomcat)

• Supported Internet browser (IE, Firefox, but not Chrome)

Page 4: Using forms in oXygen XML editor

Overview• We will…

Establish our requirements for this practical sceMario

Take a look at local <oXygen/> framework (CSS, Actions)• Defining <oXygen/> actions CSS files Binding button to actions in CSS files Dynamically reading configuration files

Show the rendering in Web Author

Page 5: Using forms in oXygen XML editor

Describe the practical scenario• Notes

<oXygen/> files bundle called Framework that is used in Author mode

Focusing on <oXygen/> DITA Framework Rendering is done throughout CSS files

• FAQ topic created will have the following elements: Title and short description Dynamic selection of category and sub category using

metadata elements Group’s title Pairs of questions / answers elements

Page 6: Using forms in oXygen XML editor

Sample faq topic<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE faq PUBLIC "-//IXIA//DTD IXIA DITA Composite//EN" "IxiaDitabase.dtd"><faq id="faq"> <title>[Problem title]</title> <shortdesc>[Problem description]</shortdesc> <prolog> <metadata> <othermeta content="" name="category"/> <othermeta content="" name="subcategory"/> </metadata> </prolog> <faqbody> <faqgroup> <title>[Group Title]</title> <faqlist> <faqitem> <faqquest>[Question]</faqquest> <faqans>[Answer]</faqans> </faqitem> </faqlist> </faqgroup> </faqbody></faq>

Page 7: Using forms in oXygen XML editor

Sample faq topic Author

Page 8: Using forms in oXygen XML editor

Practical scenario inDITA CMS Eclipse client

Page 9: Using forms in oXygen XML editor

Take a look at local <oXygen/> framework (CSS, Actions)

• Declaring actions in <oXygen/> framework. (add.question, add.groupQuestion, del.question)

• Location of the files• The Dita Framework, CSS files location• dita.css is the top CSS. • Adding faq.css to dita.css• Taking a look at faq.css

Page 10: Using forms in oXygen XML editor

Practical scenario inWeb Author

Page 11: Using forms in oXygen XML editor

Thank you!