View Single Post
  #48  
Unread 02-18-2010, 06:59 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

Quote:
Originally Posted by EQAditu View Post
I discovered this problem for the first time today and devised a trick to fix it in my own raid window.

Essentially the problem is that they changed something in the script interpreter/compiler which no longer allows an XML element Name to equal "Name". I would guess the problem is when you reference "Basic.Name.LocalText", you're not referencing the Attribute LocalText of the Element Name of the Element Basic... you're trying to reference the Attribute LocalText of the Attribute Name of the Element Basic. There's no such thing as an Attribute of an Attribute in XML, so the reference fails and is interpreted as a literal string.

Since you can no longer reference this Element from the outside, the data must be placed outside. In my case, I added an OnTextChanged event handler to the Name element and populated an Attribute in Basic called NameText. Then all I had to do as change my references from "Basic.Name.LocalText" to "Basic.NameText".

Good stuff. I was trying to think of a way to do this, but did not know WHY it wasn't working...

Thanks !
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote