Post new topic Reply to topic  [ 2 posts ] 

Board index : Dom : DOM Processing

Author Message
 Post subject: Dynamic Access to sourceIndex and elementValue values
PostPosted: Sat Mar 28, 2009 9:20 am 

Joined: Mon Jun 02, 2008 10:39 am
Posts: 36
Hey, guys, I tried to put $sourceIndex and $elementValue into my script so that the stuff I looked up could be acted upon but it didn't work.

What did I do wrong? Give me an example of how you write it so it DOES work correctly?

-Rafe08


Back to top
 Profile  
 
 Post subject: Re: Dynamic Access to sourceIndex and elementValue values
PostPosted: Wed Apr 01, 2009 6:18 pm 

Joined: Tue Jan 01, 2008 1:48 pm
Posts: 284
Location: USA
Thanks for asking about this.

You've got it almost perfect.

The correct syntax to use is $_SourceIndex and $_ElementValue.

Yes, we know that these internal values are always described
in the documentation as "sourceIndex" and "elementValue" but we found
that the Reserved Variables feature requires an unusual syntax trick
in that the "$" has to be followed by the "_" and that in turn
has to be followed by a CAPITAL letter.

As soon as we can we'll try to fix up the documentation to better
match what the Reserved Variables needs to see.


Back to top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Board index : Dom : DOM Processing


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.