Altova Authentic 2024 Browser Edition

Authentic Scripting

Home Prev Top Next

The Authentic Scripting feature provides more flexibility and interactivity to SPS designs. These designs can be created or edited in StyleVision Enterprise and Professional editions, and can be viewed in the Authentic View of the Enterprise and Professional editions of Altova products.

 

A complete listing of support for this feature in Altova products is given in the table below. Note, however, that in the trusted version of Authentic Browser plug-in, internal scripting is turned off because of security concerns.

 

Altova Product

Authentic Scripts Creation

Authentic Scripts Enabled

StyleVision Enterprise

Yes

Yes

StyleVision Professional

Yes

Yes

StyleVision Basic *

No

No

XMLSpy Enterprise

No

Yes

XMLSpy Professional

No

Yes

AuthenticDesktop Enterprise

No

Yes

Authentic Browser Ent Trusted **

No

Yes

Authentic Browser Ent Untrusted

No

Yes

 

*          No AuthenticView

**        Scripted designs displayed. No internal macro execution or event handling. External events fired.

 

Authentic Scripts behave in the same way in all Altova products, so no product-specific code or settings are required.

 

How Authentic Scripting works

The designer of the SPS design can use Authentic Scripting in two ways to make Authentic documents interactive:

 

By assigning scripts for user-defined actions (macros) to design elements, toolbar buttons, and context menu items.

By adding to the design event handlers that react to Authentic View events.

 

All the scripting that is required for making Authentic documents interactive is done within the StyleVision GUI (Enterprise and Professional editions). Forms, macros and event handlers are created within the Scripting Editor interface of StyleVision and these scripts are saved with the SPS. Then, in the Design View of StyleVision, the saved scripts are assigned to design elements, toolbar buttons, and context menus. When an XML document based on the SPS is opened in an Altova product that supports Authentic Scripting (see table above), the document will have the additional flexibility and interactivity that has been created for it.

 

Documentation for Authentic Scripting

The documentation for Authentic Scripting is available in the documentation of StyleVision. It can be viewed online via the Product Documentation page of the Altova website.

 

© 2018-2024 Altova GmbH