This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XML and XSL
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] XML and XSL
- From: "Figo Yu" <feisha at 263 dot net>
- Date: Tue, 19 Jun 2001 17:24:02 +0800
- References: <20010619084922.28542.qmail@web3603.mail.yahoo.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Dear all,
I have another question.
In html, there is an element like <option selected>blahblah...</option>.
How can I describe the attribute "selected" in XSL.
<xsl:element name="option">
<xsl:attribute ...>...</xsl:attribute>
blahblah...
</xsl:element>
Best Regards;
Figo
----- Original Message -----
From: "Loren Lai" <lorenlai@yahoo.com>
To: <XSL-List@lists.mulberrytech.com>
Sent: Tuesday, June 19, 2001 4:49 PM
Subject: [xsl] XML and XSL
> Hello,
>
> I have another question please.
>
> how can I read the attribute from my xml file ?
> Example:
>
> <customer>
> <cu name="loren" surename="lai"></cu>
> <ad address="aven." no="24"></ad>
> </customer>
>
>
> How should my XSL-file looks like if I want to read
> the attributes : loren lai
> aven. 24
>
>
> or how should my XSL-file looks like if I want to read
> the the whole <customer> ... all attributes within the
> customer ?
>
> Can someone help me please and make an example ?
>
> Thank you in advance !
>
> Loren :)
>
>
>
> =====
> Gruss,
>
> Loren Lai :)
> Email:lorenlai@yahoo.com
>
> __________________________________________________
> Do You Yahoo!?
> Spot the hottest trends in music, movies, and more.
> http://buzz.yahoo.com/
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list