xsl-list
[Top] [All Lists]

Re: 2 values for an attribute?

2003-08-12 23:51:53
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(_at_)uta(_dot_)fi            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



<Prev in Thread] Current Thread [Next in Thread>