Subject: Re: [xsl] XML and XSL From: "Figo Yu" <feisha@xxxxxxx> Date: Tue, 19 Jun 2001 17:24:02 +0800 |
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: [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@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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XML and XSL, Ling Kok Choon | Thread | RE: [xsl] XML and XSL, Michael Kay |
Re: [xsl] Special Characters in URL, Christopher R. Maden | Date | RE: [xsl] pdf generation, Alan Kennedy |
Month |