at « XML « Flash / Flex / ActionScript
Home
Flash / Flex / ActionScript
1.
Animation
2.
Array
3.
Class
4.
Data Type
5.
Development
6.
Function
7.
Graphics
8.
Language
9.
Network
10.
Regular Expressions
11.
Statement
12.
String
13.
TextField
14.
XML
Flash / Flex / ActionScript
»
XML
»
at
1.
Use E4X to dot down to the particular element node, and then use the @ operator followed by the attribute's name to access its value
2.
Use a wildcard (*) with the @ operator to access all attributes of an element
3.
Use E4X to total the prices of all of the elements with a price attribute
4.
To access all of the attributes for a tag, you can use an asterisk
5.
@ operator has the attribute() and attributes() methods for accessing attributes by name or as an XML list respectively.
6.
Use bracket to access an attribute by name, or when the attribute name contains characters not allowed in variable names
7.
Reference third level tag value
8.
Deleting Elements and Attributes: To remove an element or attribute from a document, use the delete operator as follows: delete elementOrAttribute
java2s.com
|
Contact Us
|
Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.