Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8956571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:49:02+00:00 2026-06-15T14:49:02+00:00

I’m looking for a web-based structured document authoring solution for very varied document types

  • 0

I’m looking for a web-based structured document authoring solution for very varied document types and therefore very different content models. Many, but not all, documents are similar to magazine articles with top-level metadata such as keywords, author and title then a series of ordered sections of various types that may contain other sections.

The content is continually evolving so new document types need to be created fairly frequently.
The requirement is that document templates themselves can be defined using an authoring system (rather than being hard-coded software).

I was recommended to look at Xforms-based solutions such as betterForm, XSLTForms and Orbeon, where Xforms can be created to define the document templates and then XML documents can be created using the Xforms.

I get that XRX is a great idea and everything stays within the bounds of XML technologies, but while there’s some really nice user interfaces to create Xforms and then use those Xforms to create XML documents, it looks to me like Xforms won’t support ordering and nesting of different choosable section types.

Any suggestions would be greatly appreciated.

Edit:

I’ve been looking more closely into Xforms technology and come to the conclusion that using it to author the type of structured documents I need to create is not what it was designed for.

Specifically, I have documents with repeating polymorphic sections: for example, I have an article with sections. I want to add, remove, re-order and remove sections. For each section I want to choose if the next section is a text section or an image section or a quote section, etc. I may want to change a text section to an image section.

If I choose to use Xforms to achieve this, it means I essentially need to dynamically rewrite the underlying Xforms markup at runtime to create a bespoke template for my document, with all the correct types of section laid out for my particular article, in this case.

While XForms provides elements such as xforms:repeat and xforms:switch, the lack of native support for dynamic manipulation of the form structure at runtime, along with no native mechanism to model inheritance (whereas XML Schema has abstract types) makes modelling polymorphic content very difficult and it’s unlikely any out-of-the-box Xforms solution exists and moreover building a bespoke web application (which is not out of the question) would still be a struggle.

Correct me if I’m wrong!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T14:49:03+00:00Added an answer on June 15, 2026 at 2:49 pm

    Ordering is not natively supported in XForms but it’s possible to implement it with something like this:

    <xf:group ref="preceding-sibling::*[1]">
      <xf:trigger>
        <xf:label>Move Up</xf:label>
        <xf:action ev:event="DOMActivate">
          <xf:insert nodeset="self::*" origin="following-sibling::*[1]" position="before"/>
          <xf:delete nodeset="following-sibling::*[1]"/>
        </xf:action>
      </xf:trigger>
    </xf:group>
    <xf:group ref="following-sibling::*[1]">
      <xf:trigger>
        <xf:label>Move Down</xf:label>
        <xf:action ev:event="DOMActivate">
          <xf:insert nodeset="self::*" origin="preceding-sibling::*[1]" position="after"/>
          <xf:delete nodeset="preceding-sibling::*[1]"/>  
        </xf:action>
      </xf:trigger>
    </xf:group>
    

    Nesting can be performed in a similar way.

    When creating a structure, it is currently required to have defined this structure in a work instance to be able to copy it. Adding nodes without copying them would require extra functions.

    -Alain

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking for a web-based solution to optimize a salesman's itinerary: the salesman
I'm looking for source code for a web based study group. I'd prefer something
I am looking into writing a web-based vehicle tracking system. The framework I have
I'm looking to implement a web based weekly planner where a user can set
I'm looking at integrating an ESB into an existing Java/Maven web based product. Specifically,
I'm working on a web-based application, and looking to integrate each user's e-mail (gmail,
I'm looking for ideas on how to implement a way to get web based
We have a legacy web application (not Spring based) and are looking for best
I am looking for a web-based JavaScript <textarea> editor with support for standard features
I am looking to dynamically serve images to web pages with htaccess based on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.