OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: How to get the name of the current element?

[ Lists Home | Date Index | Thread Index ]
  • From: Peter Armstrong <armstrong@exoffice.com>
  • To: "Pierre, Sebastian" <spierre@Rational.Com>
  • Date: Sat, 20 May 2000 01:04:17 +0000

No.  I was assuming you were doing this server-side (e.g. with Cocoon). 
Maybe one of the MS people on this list can help you--I don't know
anything about MSXML.

"Pierre, Sebastian" wrote:
> 
> I have tried this :
> 
>  <xsl:value-of select="name(.)" />
> 
> And IE5 just tells me this method doesn't exist....
> 
> Do you know any other way ?
> 
> Thanks,
> Seb.
> 
>  | -----Original Message-----
>  | From: peter@mail.exoffice.com [mailto:peter@mail.exoffice.com]On Behalf
>  | > I'm looking for a way to set the name of the '.' element as
>  | the 'class' attribute of a <p> tag. I can't find any function
>  | that would return the name of the '.' element.
> 
>  | <xsl:variable name="foo" select="name(.)"/>
> 
> ***************************************************************************
> This is xml-dev, the mailing list for XML developers.
> To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
> List archives are available at http://xml.org/archives/xml-dev/
> ***************************************************************************

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@xml.org&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS