Solved

why cant I trace node-content

Posted on 2011-09-20
2
258 Views
Last Modified: 2012-05-12
Im trying to create a new xmllist based on the content of specific nodes in a xml.

trace(myXML.Row.(Column11=="8600");

which should mean that all rows, where Column11 consist of 8600, shoul be traced.

But for some reason i get an annoying message saying that  
ReferenceError: Error #1065: Variable Column11 is not defined.
      at MethodInfo-443()

This is the XML:

	<Row>
		<Column1>1</Column1>
		<Column11>8600</Column11>
	</Row>
	<Row>
		<Column1>2</Column1>
		<Column11>8450</Column11>
	</Row>
                     <Row>
		<Column1>3</Column1>
		<Column11>8600</Column11>
	</Row>

Open in new window


And the result I expect should be this:

	<Row>
		<Column1>1</Column1>
		<Column11>8600</Column11>
	</Row>
                     <Row>
		<Column1>3</Column1>
		<Column11>8600</Column11>
	</Row>

Open in new window

or am I missing something here.
0
Comment
Question by:petersego
2 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 500 total points
ID: 36566780
i've upload an example of your code and i'm getting your expected output so not sure what you're doing wrong, if you don't find the difference check your publish setting. ee.zip
0
 

Author Closing Comment

by:petersego
ID: 36566915
Thanks, that made me search through my 3000 line xml-file, and it turned out that at some place Column11 were missing in a Row.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now