Posts Tagged ‘xui’

Video: An ACL Tool to Find and Replace XML Attribute Values

Posted in video on October 23rd, 2010 by lizfraley – Be the first to comment

This video goes with the meeting notice posted here. This video is a recorded version of:

“An ACL Tool to Find and Replace XML Attribute Values

Presented by Todd Hicks, Wolters Kluwer
North America Global Platform Organization

This is a recorded version of a live Go2Meeting webcast. The video is posted as is. It has not been edited. You should go read Todd’s biography here. Every last bit is completely live.

Download the slides here and see the live-tweet roundup here. If you’re interested in more from Todd, he was a guest on the PubWright podcast available here or on iTunes.

October 2010 Meeting Announcement: An ACL Tool to Find and Replace XML Attribute Values

Posted in meetings on August 25th, 2010 by lizfraley – 10 Comments

Update: Video has been posted here.

Please join us online for our regular meeting:

“An ACL Tool to Find and Replace XML Attribute Values

Presented by Todd Hicks, Wolters Kluwer
North America Global Platform Organization

Date: Saturday, 23 October 2010, 9:00-10:30 AM Pacific/US

Location: Online via GoToMeeting. You must Register to receive the GoToMeeting invite.

Cost: Free and open to all who wish to attend.

Topic

Legal publishing uses a lot of attributes, and CCH publications are some of the richest legal reporting available. When we converted to SGML nine years ago, one of the first things our users requested was a way to modify attributes globally outside the Arbortext Editor Modify Attributes dialog. Often they have been required to open XML files in Notepad, or Edit as XML Source to change attributes in large files, which led to error and was very time-consuming. The project got on the schedule in 2007, and we started the initial analysis, starting with what language to write the tool in, and how to create the interface.

Because this tool requires a good deal of querying the DTD, we decided to write it in ACL. The interface requirements included making it impossible for a user to create invalid XML. For example, the tool needed to remove #FIXED attributes from the attribute list, and, if the user wanted to delete attribute values, the tool needed to remove #REQUIRED attributes from the list. While the Arbortext Object Model (AOM) exposes only a namelist of required attrs, these attribute types are exposed by the tag_attr_required() and tag_attr_fixed() ACL functions. Dozens of such calls that query the DTD or a given Object ID (oid) are easily accessible in ACL.

Because this tool requires a complex dialog box with 24 dialog controls, and because we wanted to give the users a beautiful dialog box, we needed a way to create the dialog that would allow us to drag and drop dialog elements, resizing and changing appearance in real time. We used ACL Designer, a powerful but unsupported interface design tool that, with a conversion program that ships with Arbortext Editor, can be used to create XUI dialog boxes with a wide variety of controls. The ACL dlgitem functions allow granular management of dialog item controls.

As Spider-Man knows, “With great power comes great responsibility.” The Global Attribute Find-Replace tool can save a huge amount of time, but it can also destroy a lot of content very quickly. The danger of using the tool incorrectly is mitigated by two layers between the core find-replace function and the user: a business-logic layer, which allows granular control over what the user can and can’t do; and a dialog layer, which  allows XML-aware control over user input. Because of this tiered approach, it was easy to develop another tool on top of the core function.

This presentation will show you

  • an end-to-end example of Requirements Gathering, Technical Design, and Application Development for a complex XML tool
  • powerful XML and dialog functions in ACL
  • a “tiered” approach to application development
  • tips on controlling dialog behavior
  • XUI tips
  • ideas for interface design and implementation

This project involved a great deal of requirements gathering, meetings, testing, signoffs, and ongoing user input, to come to fruition. The process worked, and we now have a valuable addition to Editor functionality that saves a great deal of time and error.

About the Speaker

Todd Hicks has been working in legal publishing for 20 years, and with Arbortext for ten years. In high school he ran the old printing press, and knew then that he wanted to be involved in publishing. An English major in college, he became a proofreader for CCH, Incorporated, and quickly moved to technical writing, and then to programming, especially for publishing and user interfaces. When CCH converted to SGML, he wrote Wordbasic/Onmimark scripts; when CCH started using Arbortext Adept Editor, he learned ACL, Java, and Javascript, built dozens of tools, and designed the infrastructure for the editor and its interface with Information Manager, our CMS at the time. He now leads a team of Editor programmers to build tools and infrastructure for Arbortext Editor and its interface with Documentum at Wolters Kluwer. He has presented three times at Arbortext conferences.

Note

This meeting will be held online. You must RSVP to receive the GoToMeeting invite. After registering you will receive a confirmation email containing information about joining the Webinar.

Acknowledgments

This meeting is brought to you by the SF Bay Arbortext PTC/User Group.

We want to thank Single-Sourcing Solutions for coordinating our meeting logistics, administration, and for providing access to their GoToMeeting resources and conference bridge facilities.

April 2010 Meeting Announcement: Clay Helberg – Dynamic Publishing with Arbortext Data Merge

Posted in meetings on March 30th, 2010 by lizfraley – 3 Comments

Update: Video will be posted here. Intro slides here.

Please join us online for our next meeting:

“Dynamic Publishing with Arbortext Data Merge”

Presented by Clay Helberg, TerraXML

Date: Saturday, 24 April 2010, 9:00-10:30 AM Pacific/US

Location: Online via GoToMeeting. You must Register to receive the GoToMeeting invite.

Cost: Free and open to all who wish to attend.

Registration Web Link: https://www2.gotomeeting.com/register/220360699

Topic

There are many situations where documents need to incorporate information stored in a database. A simple approach is to generate a report of the data from the database, and then copy and paste the data into the document. Unfortunately, that approach tends to be labor-intensive and error-prone, and can easily lead to out-of-sync documents if the database is updated but the document is not.

To make the process of embedding data in documents easier, Arbortext Editor and Publishing Engine support Data Merge, a framework for embedding data queries in your documents and for formatting the data results for publishing.

Data merge lets you set up query types tailored to your database. When a query is inserted into a document, it pulls current data from the database to complete the document. You can parameterize the general queries, allowing content authors to use straightforward dialog boxes to create specific queries. You can also control how the system handles updates. You can update the data every time the document is saved or published, or you can set it to only update when an explicit update command is given by the author. Finally, you can embed the data in your document as a table, or you can create your own transformation to format the data exactly how you need it for your document.

This presentation will demonstrate how Data Merge works in a simple publishing application, and will also give an overview of how to configure a publishing application to use Data Merge, including defining the queries, formatting the data results, and how it looks from the author’s perspective.

At the end of the session, attendees should be able to:

  • Understand the limitations of a copy-and-paste approach to data embedding
  • Understand what a Data Source is
  • Know how to configure an Arbortext application to enable Data Merge
  • Know the basics of defining Data Merge queries
  • Know how to parameterize queries so authors can create specific queries for specific documents
  • Know how to control when data query results are updated
  • Know how to control the appearance of data query results in the document, either as a basic table or as an arbitrary document structure using XSLT

Bio

Clay is a Senior Consultant at TerraXML. He has worked with XML and XSLT since 2000, and with Arbortext software since 2002. He provides consulting and development services on a variety of projects. He has presented at several Arbortext User Group meeting (including the last three PTC/USER World Events). He telecommutes from Duluth, MN.

Clay Helberg

Note

This meeting will be held online. You must RSVP to receive the GoToMeeting invite. After registering you will receive a confirmation email containing information about joining the Webinar.

Acknowledgements

This meeting is brought to you by the SF Bay Arbortext PTC/User Group.

We want to thank Single-Sourcing Solutions for coordinating our meeting logistics, administration, and for providing access to their GoToMeeting resources and conference bridge facilities.