[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How do you get Attributes in Processing Instructi

Subject: Re: How do you get Attributes in Processing Instructions usingIE6
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Tue, 30 Apr 2002 18:53:52 +0200
xml get attributes
Bolen, Lori Contractor/WESTAR CORPORATION wrote:
 Sorry if this question has already been answered. I searched the archives
and didn't come across what I was looking for.

I have the following processing instructions throughout my xml file:
<?FRAME LABEL='Introduction to IADS' SHOWNO='N'?>

I need to be able to get the value of the LABEL attribute (Introduction to
IADS).

Sorry, but processing instructions have no attributes, see data model: http://www.w3.org/TR/xpath#section-Processing-Instruction-Nodes

I am using IE 6.0. I can match the processing instruction, but I
can't seem to get the individual attribute values. I have tried
<xsl:value-of select="@label"/>, but this doesn't seem to work.
You have somehow to tokenize PI string value to get pseudo attributes values. Or think about another xml design, more appropriative to xslt processing.

--
Oleg Tkachenko
Multiconn International, Israel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.