> Rob,
>
> Could you explain why you are creating an XSD from XML? I thought
> XSD's were for validation (like a DTD, but more powerful). Are you
> using the XSD to validate a form submission?
Yeah, in the end it'll create _javascript_ to vaidate numbers vs text -
that parts far off though. Plus if it didnt go to the xsd I would need
an intermedate step to describe which is a text box and which is a
radio button so I figured I might as well go with a standard.
> I would like to use XML/XSLT as a .cfm page builder. The XSLT will
> write my cfquery's, cfif's, and forms. Is that what you are doing,
> too?
Yeah I have 2 things I am working on one is the form generation thing
and the other is an XSLT that'll take a XMI (a uml exported diagram in
xml) and make CFCs out of it. So I am doing that but in a bit of a
round about way.
> I guess another option is to use cfm to build an XML doc that describes
> the "state" of the request (Filter, Save, Delete, ..) and the data in
> the form and use XSLT just to do the form display.
>
> The tricky part is that I want the same XSLT to work for lots of
> different forms,
Thats why I went with the XSD step :)
I gotta actually work now my boss is given me the evil eye - I'll send
you the sheets to play with - note they are not done
--
~The cfml plug-in for eclipse~
http://cfeclipse.tigris.org
~open source xslt IDE~
http://treebeard.sourceforge.net
~open source XML database~
http://ashpool.sourceforge.net
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]