RE: [xsl] XSL value-of select question

Subject: RE: [xsl] XSL value-of select question
From: "Ahmed" <ahmed@xxxxxxxxxxxx>
Date: Fri, 20 Jul 2001 12:20:18 +0530
 Try this
		<xsl:value-of select="article/@id"/>

-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Samina Islam
Sent: Friday, July 20, 2001 12:09 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: [xsl] XSL value-of select question


thanks a lot for the help with my namespace/template
question!!! :-)

I also have another questions.  My input XML doc begin
like this:

<?xml version="1.0" encoding="iso-8859-1" ?> 
  <moreovernews>
     <article id="_21985527"> 
 ...

and continues...
when I try to get at the value of <article id> by
typing: "  <xsl:value-of select="article id"/>  ", it
gives me an error message: 

XSL Error:processStylesheet not successful!
XSLT:pattern = 'article id'
Extra illegal tokens: 'id'
Xalan: was not successful

Is there any way I can get at "article id"?

THanks!!

Samina


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.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