Subject: Re: [xsl] How do you get Attributes in Processing Instructions using IE6 From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx> Date: Tue, 30 Apr 2002 18:53:52 +0200 |
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
You have somehow to tokenize PI string value to get pseudo attributes values. Or think about another xml design, more appropriative to xslt processing.can't seem to get the individual attribute values. I have tried <xsl:value-of select="@label"/>, but this doesn't seem to work.
-- Oleg Tkachenko Multiconn International, Israel
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] How do you get Attribute, Michael Kay | Thread | Re: [xsl] How do you get Attribute, David N Bertoni/Camb |
Re: [xsl] problem w/ namespaces, Oleg Tkachenko | Date | [xsl] Resolving Unescaped Entity Re, Nik Krimm |
Month |