This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]