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

RE: Will this work?

Subject: RE: Will this work?
From: "Wong Chin Shin" <publicbbs@xxxxxxxxxxxxxxxx>
Date: Tue, 30 Nov 2004 19:12:05 +0800
chin shin
Hi Geert,

What you suggested does sound rather complicated but what the heck, I'll
have a shot at it later. Exploring all options now...

Thanks a bunch!!
Wong

-----Original Message-----
From: dai_geer@xxxxxxxxxx [mailto:dai_geer@xxxxxxxxxx] 
Sent: Tuesday, November 30, 2004 6:18 PM
To: Wong Chin Shin
Subject: Re: Will this work?

Hi Wong,

Sorry, I have to reply off-list (not responding with my normal email), but 
please cc to the list if you reply on this message.

If you convert you data record to XML, you could do the following:

Consider your addPage.xml as a template (as you already do), but instead of 
running XSL over it to generate HTML, make your XSL generate another XSL
that 
can be applied to your XML data record. Use an empty data record to generate
an 
add page, use a filled data record to generate an edit page...

You will find this to be a strategy with a lot of potential. You can add 
markers in you addPage.xml that identify what information should be inserted

where, which are expanded to real XSL instructions by your meta XSL
stylesheet. 

The power is in the fact that you are free to define any kind of instruction
in 
your template as long as you can translate it to XSL automatically. So you
will 
not be limited to inserting data from the record. One could think of
building a 
form dynamically, solely based on the structure of your data record.

It might sound though, but it's not at all...

Cheers,
Geert

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.