views:

22

answers:

2

Hello!

Not a programmer, I begin with xml, html forms and xslt on Mac.

I plan to use a form to post short texts in a xhtml page and invite end users to add some annotations to the said text. The users would select a specific part of the text posted and each annotation would stand for one specific chain of characters.

My goal is to consolidate the tags obtained from various user's annotations to one xml "knowledge base" containing the original text with all the revision indicators. Then I plan to use xslt sheets to product various reports based on the tags obtained.

my two questions are : 1- am I dreaming ? Is it really possible to do that with xml, xforms, xslt without using java, php, ajax or other seasoned programmer's tools ?

2- What should be my focus for further explorations aiming in that direction ? Which schema, events, sequences should I study ?

Je vous remercie à l'avance,

Please excuse my English.

Blaise

+1  A: 

You're going to need some programmatic component to consolidate the annotations into the XML knowledge base. I don't see how you can avoid that.

Alohci
A: 

XML is a storage format for structured data. It has no dynamic properties at all.

XForms is merely a specification of how to represent structured forms in XML, it has no dynamic properties either.

While XSLT is a programming language, it does not really have the capabilities to function as a web application stack. It usually works in conjunction with some kind of "outer" programming language that does HTTP handling, file IO and application logic.

You will not get around programming for this idea of yours. At least one of the "seasoned programmer's tools" on the server and probably a lot of JavaScript on the client will be necessary.

Tomalak
Thanks Tomalak Helpful answer.