xsl-list
[Top] [All Lists]

RE: [xsl] Example to checkbox in XSL

2007-08-06 13:25:03
Joanne,

You are not describing a problem which needs an XSL solution.  It seems
as though you are looking for help with dynamic HTML, to make form
fields appear when a user clicks on a radio button.  Such questions are
off-topic for this list.  There are many, many resources on the Web
which can help you with dynamic HTML questions.

If you wish to create an HTML page that can change its appearance based
on information from an XML file, then that can be done using XSL.  But
that isn't the question you seem to be asking here.

Cheers,
b.

-----Original Message-----
From: Pham, Joanne (Joanne) [mailto:jpham(_at_)alcatel-lucent(_dot_)com]
Sent: Monday, August 06, 2007 2:08 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Example to checkbox in XSL

Thanks Mike,
I am very new to XSLT world. So we can convert to XSL from HTML. If I
have the HTML file I can generate the XSL using HTML file? Could you
please provide more detail how to convert the HTML to xsl.
Thanks a ton,
JP

-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com]
Sent: Monday, August 06, 2007 12:35 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Example to checkbox in XSL


Are you asking what the HTML should look like to achieve this
appearance
on
the screen, or are you asking how to generate this HTML using XSLT?
Don't
start to think about the XSLT coding until you know what HTML you want
your
stylesheet to generate. Ideally, write the HTML "by hand" first. If
you
need
help writing HTML, then someone here might advise you, but it's
off-topic
for this list.

Michael Kay
http://www.saxonica.com/

-----Original Message-----
From: Pham, Joanne (Joanne) [mailto:jpham(_at_)alcatel-lucent(_dot_)com]
Sent: 06 August 2007 20:28
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Cc: Pham, Joanne (Joanne)
Subject: [xsl] Example to checkbox in XSL


Hi All,
I would like to have an example how to hide the text fields
in xsl. For example I have the following GUI

            Application
                        <Radio Checkbox> User following dial
connection
                                    User name
                                    Password
                                    Domainname
                                    .....


                        <Radio checkbox> Use a default connection

In this case I would like to have all  field Username,
Password, DomainName are hidden unless the < Radio Checkbox>
User following dial connection is check So in the GUI it only shows

                        Application
                        <Radio Checkbox> User following dial
connection
                        <Radio checkbox> Use a default
connection When the <Radio Checkbox> User following dial
connection is check the field Username, Password, DomainName
are showing on GUI but not otherwise.
Thanks,
JP



--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--


--~------------------------------------------------------------------
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>
--~--


--~------------------------------------------------------------------
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>
--~--