XML Space Encoding for Conditional Text Spacing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing automated document generation systems face difficulties in ensuring correct spacing of conditional text, often resulting in incorrect placement of leading and trailing spaces, which requires complex hand-coded rules that need frequent updates with changing usage conditions.
Innovation Solution
A document generation system utilizing an XML structure to encode space characters, allowing the system to evaluate and correctly position spaces between conditional and unconditional text, eliminating the need for complex hand-encoded rules.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If hand-coded rules are used to control space character placement in conditional text, then the system can generate documents, but the rules become complex and require frequent updates when usage conditions change
Solution Approach 1:
The patent segments the control of space characters by introducing a dedicated space character control mechanism that operates independently from the main document generation rules. This allows space positioning to be managed separately through a simplified interface rather than being embedded in complex hand-coded rules throughout the system.
Solution Approach 2:
The patent introduces a space character control mechanism as an intermediary between the conditional text evaluation and the actual space character placement. This intermediary layer receives the evaluated conditional text and automatically determines where space characters should be inserted, eliminating the need for complex hand-coded rules to directly control spacing.
2Manufacturing precision
If complex hand-coded rules are used to position space characters, then space placement can be controlled, but the system requires frequent updates when usage conditions change
Solution Approach 1:
The space character control mechanism automatically determines space character placement based on the evaluated conditional text without requiring manual intervention or rule updates. The system self-adjusts space positioning according to the current usage conditions, eliminating the need for users to update hand-coded rules when conditions change.
Solution Approach 2:
The system performs preliminary evaluation of conditional text before generating the final document, automatically determining space character positions in advance. This preliminary action ensures that space characters are correctly positioned from the start, eliminating the need for subsequent rule updates when usage conditions change.
3Productivity
If automated systems are used to generate documents from templates, then document generation is efficient, but ensuring correct spacing of conditional text becomes difficult
Solution Approach 1:
The patent implements a feedback mechanism where the evaluated conditional text is fed back into the space character control mechanism. This feedback loop allows the system to automatically adjust space character placement based on the actual content being generated, ensuring correct spacing while maintaining automated document generation efficiency.
Solution Approach 2:
The patent replaces the mechanical approach of hand-coded rules with an automated electronic mechanism for controlling space characters. The space character control mechanism uses electronic evaluation of conditional text to automatically determine space positioning, eliminating the need for manual rule encoding while maintaining precision in text spacing.
Data Source
AI summary
A document generation system for generating a customised document using content elements selected by rules operating on input information, the content elements comprising conditional and unconditional text is provided. The system provides means to generate a program structure, containing information about the space characters to be inserted between the conditional and unconditional text in the generated document. The program structure is evaluated to determine the positions of the space characters. The program structure may be an XML structure.


