|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Outstanding Argument!
:>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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








