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(_at_)euronet(_dot_)nl [mailto:dai_geer(_at_)euronet(_dot_)nl]
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
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--