I've seen the Blackstone demo, and that is pretty unrelated to what I'm
trying to do. Blackstone will take a small subset of CFML and create
XML which can then be processed with a stylesheet to create an HTML
layout.
I want to write some XML and apply a stylesheet to create CFML.
Basically, is it a good idea for similar processes (like similar-looking
self-posting forms) to be described ONLY in XML and then converted to
CFML so that one only has to write the similar CFML logic (that is
reused in several pages) just once in an XSLT stylesheet?
Jon
>>> [EMAIL PROTECTED] 7/15/2004 1:06:13 PM >>>
Blackstone does this. You write simple CFFORM/CFINPUT tags and behind
the
scenes it generates XForms (XML standard). Then it uses an XSLT to
transform into HTML. You can use provided XSLT's or make your own.
-----Original Message-----
From: Jon Gunnip [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 9:34 AM
To: CF-Talk
Subject: XML/XSLT to write typical CF Form page
I have an app with 100 forms that are all very similar in structure:
1) filter on some heirarchy of properies on the left: e.g. Year ->
State -> City to find a paricular record
2) edit, delete, or add a new record on the right
I want to streamline the maintenance of writing these CF self-posting
form processing pages since the structure seems pretty consistent but
each form is between 400 and 1000 lines of CF/HTML.
I was thinking I could describe the structure in XML and then use XSLT
to write my 400-1000 line CFM page. Then I could cfinclude the result.
It would be great is someone out there has already defined a nice DTD
for doing this.
Anyone doing anything like this?
Jon
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

