[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

How can I get XSLT to write <cfreturn this>

Subject: How can I get XSLT to write <cfreturn this>
From: Scott Powell <scotthpowell@xxxxxxxxx>
Date: Tue, 19 Aug 2003 04:05:09 -0700 (PDT)
xslt pcdata
Thanks to everyone who had suggestions...I'll give
them a try today.

I am trying to take an XML file that documents an
RDBMS table structure and makes several Cold Fusion
page and other templates.

I have working transformations to build the CREATE
statement and a web form (complete with lookup column
queries and associated html select).

Both need some polish, but they're getting there.

The last piece is the CF template to handle database
interactions.  And that's where <cfreturn this> comes
in.

Here's the dtd for the source file if anyone has any
suggestions.  I can post the SQL generator too if
anyone's interested.

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSPY v5 rel. 4 U
(http://www.xmlspy.com) by scott powell (private) -->
<!ELEMENT table (column+)>
<!ATTLIST table
	name NMTOKEN #REQUIRED
>
<!ELEMENT column (name, size, precision, relatedtable,
relatedkeycolumn, relateddisplaycolumn, default,
check, checkdisplay, formlabel, comment)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT size (#PCDATA)>
<!ELEMENT precision (#PCDATA)>
<!ELEMENT relatedtable (#PCDATA)>
<!ELEMENT relatedkeycolumn (#PCDATA)>
<!ELEMENT relateddisplaycolumn (#PCDATA)>
<!ELEMENT default (#PCDATA)>
<!ELEMENT check (#PCDATA)>
<!ELEMENT checkdisplay (#PCDATA)>
<!ELEMENT formlabel (#PCDATA)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST column
	isprimarykey (true | false) "false"
	unique (true | false) "false"
	required (true | false) "false"
	autoincrement (true | false) "false"
	canuseredit (true | false) "true"
	canuserinput (true | false) "true"
	type (int | smallmoney | bigint | uniqueidentifier |
char | varchar | datetime | text) #REQUIRED
	preferredformelement (button | tick | select | text |
textarea | hidden) "text"
>



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.