Subject: RE: Another question!! From: Nacho <nacho@xxxxxxxx> Date: Wed, 5 Jul 2000 11:44:00 +0200 |
Hola Peter: in a standard XSLT processor this can be achieved with something like: <xsl:value-of select="document('')//*[@varde]/@varde"/> somebody has a better idea? ( perhaps a working idea i've not tested this ) Saludos , Ignacio J. Ortega > -----Mensaje original----- > De: owner-xsl-list@xxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]En nombre de Peter Widelund > Enviado el: miércoles 5 de julio de 2000 9:48 > Para: xsl-list@xxxxxxxxxxxxxxxx > Asunto: Another question!! > > > I have a question! In the header of the xsl template i can > att an attribute, in > this case "varde" with the value "'temp'" as shown below! > > <?xml version='1.0'?> > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/TR/WD-xsl" varde = > "'temp'"> > > The question is if anybodu knows if this "varde" is possible > to use in later on > in the xsl page or if this is a not god approach! > I have tried to access it wit something like this > <xsl:value-of select="@varde"/> > but it does not work! Using the $ instead of the @ results in > an unspecified > error! > > I know that this is kind of strange but i anyone has an idea > about accessing > this in the following xsl document I would be glad to hear from You!! > > Regards > > Peter > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Another question!!, David Carlisle | Thread | RE: Another question!!, Thorbjørn Ravn Ander |
Re: Attributes and DOM, Duane Nickull | Date | RE: Another question!!, Thorbjørn Ravn Ander |
Month |