[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] 2 values for an attribute?


Subject: Re: [xsl] 2 values for an attribute?
From: Jarkko Moilanen <Jarkko.Moilanen@xxxxxx>
Date: Wed, 13 Aug 2003 09:51:53 +0300 (EEST)

On Wed, 13 Aug 2003, Tig wrote:

> Is it possible for a single element to have two values for one
> attribute? For example (two total guesses for <e>)

Test on xsltproc gave me:
error: Attribute value redefined. No its not possible.

Cheers,
jarkko

>
> <x>
> 	<e value="1|2">Some text</e>
> 	<e value="1" value="2">Some text</e>
> </x>
>
> Or is the only solution to double up on data like this (as one example)
>
> <x>
> 	<e value="1">Some text</e>
> 	<e value="2">Some text</e>
> </x>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


****************************************************************
Jarkko Moilanen          "The box said that is needs
Researcher                Windows 95 or better... So I
jm60697@xxxxxx            installed Linux."
www.uta.fi/~jm60697
GSM: +358 50 3766 927
****************************************************************
* ITCM | Information Technology and Crisis Management
* http://www.itcm.org
****************************************************************






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread