Subject: [xsl] Cannot Access Attribute with colon From: "Clifford, Karen" <Karen.Clifford@xxxxxxxxxxxx> Date: Wed, 16 Oct 2002 14:54:45 +0100 |
Hi All, I have xml similar to the following: <hotgraphic> <hotspot> <link xlink:show="new" xlink:href="btCommBronze" targetfile="btccomxx">Bronze Schedule</link> I need to access the values of the xlink:show and xlink:href attributes, unfortunately using '@xlink:show' does not work, (ie <xsl:value-of select="@xlink:show"/>) it doesnt seem to like the colon ' :' I dont know if this is of any use but the dtd contains the following for the link element: <!ENTITY % linkAttrs 'xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink" xlink:type (simple) #FIXED "simple" targetfile CDATA #REQUIRED xlink:show (new | replace ) "replace" xlink:href CDATA #REQUIRED '> <!ATTLIST link %linkAttrs; > Any ideas? Thanks a million Karen XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Another problem with name, G. Ken Holman | Thread | Re: [xsl] Cannot Access Attribute w, Jeni Tennison |
RE: [xsl] Query regarding usage of , Kevin Collins | Date | Re: [xsl] emulating tabulations in , Mike Ferrando |
Month |