This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL value-of select question
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] XSL value-of select question
- From: "Ahmed" <ahmed at bodhtree dot com>
- Date: Fri, 20 Jul 2001 12:20:18 +0530
- Reply-To: xsl-list at lists dot mulberrytech dot com
Try this
<xsl:value-of select="article/@id"/>
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Samina Islam
Sent: Friday, July 20, 2001 12:09 AM
To: xsl-list@lists.mulberrytech.com
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