Decipher Script Generator Tool

Convert Survey Questionnaires into Structured XML Using Smart Macros

📌 Tool Overview

The Decipher Script Generator Tool converts survey questionnaires into structured XML format using predefined tags and AI-Assisted Programming and macros. It supports various question types, grid formats, loops, ranking, sliders, and manual macro programming.

🤖 AI Assisted XML Programming

The tool now includes an AI Programming Assistant that helps automatically convert questionnaire text into structured Decipher XML scripts. The AI analyzes the uploaded questionnaire and suggests the appropriate XML structure, question types, and programming logic.

AI Question Detection

Automatically detects question IDs, titles, answer options, grid structures, and question types from the questionnaire text.

Smart XML Generation

Converts detected questions into clean and structured Decipher XML scripts following standard programming rules.

Punching Logic Detection

If questionnaire instructions require punching variables (for example in verification questions), the AI automatically generates the required punching variables and logic.

Instruction & Logic Recognition

Detects programming instructions such as VERIFY, TERMINATE, LOOP logic, and other survey conditions.

Editable AI Output

Generated XML can be reviewed and edited before final use, allowing programmers to refine the script if needed.

🎥 Decipher XML Tool Tutorial

Watch how to convert questionnaire documents into structured XML using AI programming and macros.

🧩 Supported Question Types

SINGLE SELECT

Radio button questions. Multi-column enabled for 13+ options.

MULTI SELECT

Checkbox-based multi selection questions. Multi-column enabled for 13+ options.

DROP DOWN

Dropdown selection type questions.

NUMERIC

Numeric input fields.

OPEN END

Textarea or Text input for descriptive responses.

GRID TYPES

Single Select Grid, Multi Select Grid, Dropdown Grid, Numeric Grid.

SLIDERS

Numeric Slider and Point Slider supported.

RANKSORT

Ranking questions with configurable ranking points.

CARDSORT

Single grid with Cardsort style and Multi grid with Cardsort style

📊 Grid Structure Format

For grid-based questions, define:

🔁 Loop Programming

Loop-based questions must start with LOOP START and end with LOOP END to define the iteration structure.

⚙ XML Manual Programming Using Macro

MISC

Survey-level helper macros.

QUESTION TYPES

Radio, Checkbox, Rating, Text input macros.

QUESTION ELEMENTS

Rows, Columns, Choices, Groups.

TEXT FORMATTING

Bold, Italic, Underline, Lists.

ATTRIBUTES

Open, Randomize, Exclusive, Optional settings.

CONTROL ELEMENTS

Block, Loop, Case logic controls.

🚀 Workflow

1️⃣ Upload .docx survey questionnaire
2️⃣ Tool cleans and prepares questionnaire text
3️⃣ AI analyzes questions and detects structure
4️⃣ AI generates XML programming automatically
5️⃣ Review or modify generated XML
6️⃣ Copy or export final XML script