This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: The XSL-List Digest V3 #29
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: The XSL-List Digest V3 #29
- From: "Gilstrap, ChristianX A" <christianx dot a dot gilstrap at intel dot com>
- Date: Mon, 22 May 2000 09:58:02 -0700
- Reply-To: xsl-list at mulberrytech dot com
Disclaimer:
I am not intimately familiar with the XSL W3C specification, but I
am familiar with IE5 current XSL support.
1. the XSL will compare the date to the current date (which I am
not sure it is possible for XSL to read the current date or if
must manually enter, how to make the XSL read in the input data
from user), if it is expire, the <condition> will be changed to
"invalid".
I know of no function in IE5-XSL to get the current date,
but you do have conditional functions. This could be done with asp to add
an element to the xml containing the current date. Just an idea.
2. how to (if possible) make the XSL read in user-input data
(perhaps by using Java or applet)? I wish I could get some
direction here.
I know of no way to do this.
3. Is it possible to generate an XSL document from an XSL
document?
This is a big Yes.
Good Luck
Christian
Date: Fri, 19 May 2000 22:06:02 +0100 (BST)
From: Cheun N Chong <cnc99r@ecs.soton.ac.uk>
Subject: To control the XML doc using XSL
Dear all,
I have several questions about how XSL(T) can control the XML
document, because I am really a fresher... I have an XML document as
follows:
...
<ticket>
<concert>Britney Spear's Live in London</concert>
<date>19 May 2000</date>
<time>20:00 - 23:00</time>
<place>Stadium</place>
<seat>11</seat>
<condition>valid</condition>
</ticket>
...
I would like to do the following to the XML doc by using the an
XSL, but I am not sure how to do it:
1. the XSL will compare the date to the current date (which I am
not sure it is possible for XSL to read the current date or if
must manually enter, how to make the XSL read in the input data
from user), if it is expire, the <condition> will be changed to
"invalid".
2. how to (if possible) make the XSL read in user-input data
(perhaps by using Java or applet)? I wish I could get some
direction here.
3. Is it possible to generate an XSL document from an XSL
document?
I have referred to the working draft, schemes and specification
about XSL, XSLT and XML from W3C, but still I am not sure whether all
these are possible. Hopefully my questions are not nonsense to make you
laugh. Thousand thanks for your help. Wish you all the best.
Best regards,
Cheun Ngen CHONG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list