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

RE: Outstanding Argument!

Subject: RE: Outstanding Argument!
From: "Medina, Edward" <emedina@xxxxxxx>
Date: Wed, 10 May 2000 10:18:11 -0400
steve medina
:>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

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-2013 All Rights Reserved.