|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML and XSL
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@xxxxxxxxx>
To: <XSL-List@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, June 19, 2001 4:49 PM
Subject: 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@xxxxxxxxx
>
> __________________________________________________
> 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








