Subject: RE: Outstanding Argument! From: "Medina, Edward" <emedina@xxxxxxx> Date: Wed, 10 May 2000 10:18:11 -0400 |
:>I don't know. But does it allow for :> :><x:anything David/XSL="David likes XSL"/> ???? : :There seems to be some misunderstanding here. :No, "/" is not allowed in attribute _names_. : :-Steve Schafer You are right Steve but if this is a variable for which I'm testing which is a value of an attribute it won't allow me to read it. Suffice it to say that If I have a declared attribute <!ATTLIST ELMENT NAME (XSL|DAVID|XSL/DAVID) #IMPLIED > in the DTD and then I have a variable for which <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:x="file:/dev/null"> <x:anything XSL/DAVID="David likes XSL"/> <x:anything XSL="XSL"/> <x:anything DAVID="David"/> <xsl:template match="/"> <xsl:variable name="x" select="//@name"/> <xsl:value-of select="document(' ')/*/c:anything/@* [name(.)=$x or name()='X'] [1]"/> <xsl:apply-templates /> </xsl:template> </xsl:stylesheet> It won't allow for the "/" because it wants a ">" and not a "D". Now if you can successfully do that then please tell me how you do that and I can make the Senior Engineer happy. :-) Eddy XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Outstanding Argument!, Medina, Edward | Thread | RE: Outstanding Argument!, Medina, Edward |
XSLT: decorating a grammatical tree, OGERARDIN | Date | RE: Outstanding Argument!, Medina, Edward |
Month |