Simple tutorial on FLASH calling XML data
Author: imagebear
1. Create an XML object:
Var myXML = new XML ();
Ii. Reference an XML file:
MyXML. load ("data. xml ");
3. Ignore spaces:
MyXML. ignoreWhite = true; // The default value is false.
4.
Flash reading XML is a required course for flash programming, which will be frequently encountered in the future flash programming career.In fact, reading XML in Flash is very simple.The following is a simple description of as2:
1. Create an XML
According to my project practice, there are mainly several key points:
1: Static tree support, that is, all the data loaded to the client at a one-time.2: Asynchronous tree, that is, only one level or several levels of nodes are loaded at a time,
Due to the company's demand, Microsoft's reportviewer has many special requirements, so dynamic calling is flexible.
My requirement is to merge headers based on different data(Thanks again for reading any blog document you want)
Code
Code
I. Element Node // test element node, output node name, node type, and node value varliElementsdocument. getElementsByTagName (& quot; li & quot;); for (vari0; I & lt; liElements. length; I ++) {alert (liElements [I]. nodeName);
I. Element nodes
//
Copy codeThe Code is as follows: if isnumeric (id) = false then exit sub
StrSourceFile = Server. MapPath (dataxml & "/Advertisement/" & id & "/adv. xml ")
Set objXML = Server. CreateObject ("Microsoft. XMLDOM") 'creates an XML Object
ObjXML. load
// Obtain the Control id list containing a string in a container control.// Parameter: Container Control, id keyword of the control to be searched, and Tag Name of the control to be searched// Return value: string of the retrieved Control id list,
In the collaborative office system, the web custom form development tool is the core component. It can provide data presentation interfaces for the collaborative system, the custom form development tool displays the received data on the page after
Obtain the id list of controls containing a string in a container control. // obtain the id list of controls containing a string in a container control.
// Parameter: Container Control, id keyword of the control to be searched, and Tag Name of the
I spent a lot of time organizing and writing stuff. I was a little reluctant to release it. After the release, no copyright is added, which saves the trouble of deleting: d
Features: strong versatility, achieves script and HTML Separation
I will not
An error occurred while calling txmldocument in DLL! Delphi/Windows SDK/API
Http://www.delphi2007.net/DelphiBase/html/delphi_20061218133656127.html
When I use XML to read and write data in a DLL, such as configuration, an error occurs after each
Because DOM is a tree structure, a Node is abstracted as an object Node, which is the core object of DOM. There are 12 types of nodes. The value of Node. nodeType is 1-12 ).
BKJIA recommended reading: The nature and operation methods of JavaScript
I. Reader Guide Reader guide helps you understand the synopsis of this article. Otherwise, you may not understand that this article is not suitable for you and may cause visual pollution. If you are writing some programs using ASP + XML, or you
Use ASP + XML to create a message book
I. Reader GuideReader guide helps you understand the synopsis of this article. So that you may not understand this part after reading it.ArticleIt is not suitable for you and causes visual pollution to you.
JavaScript DOM Basics
DOM (Document Object Model) is the Document Object Model. APIs for HTML and XML documents (application interfaces );
DOM depicts a hierarchical node tree where running developers can add, remove, and modify a part of the page;
1
I. Dom Basics
1. node level
Document-the top-level node. All other nodes are attached to it.
Documenttype -- DTD reference (use syntax). It cannot contain subnodes.
Documentfragment -- other nodes can be saved like a document.
Element -- indicates
DOM to add elements and use node attributes Add an element to the DOM, use node attributes Item 1 [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]I. DOM Basics1. node
DOM is an abbreviation of the Document Object model. Based on the DOM specification, Dom is a browser, platform, language-independent interface that allows you to access other standard components of the page.
characteristics and methods of node
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.