TAILIEUCHUNG - Using Flash- P4

Tham khảo tài liệu 'using flash- p4', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Component Property field Settings When to use Any component Any property or field Kind Kind Options Various purposes as Encoding Encoding Options described in Using kinds and encoders on page 292. Any connector results and its subfields Path To identify the location of the data for a virtual schema field. Virtual schemas When you bind an array of data to a DataSet s items or dataprovider property the data set only recognizes fields that are top-level items within each row of the array. It does not recognize items nested within other objects. A virtual schema lets you change how the underlying data structure is interpreted when bindings are executed. The new structure is derived using XPath statements. For more information see Adding bindings using path expressions on page 302. For example the schema for file described in Connecting to XML data with the XMLConnector component Flash Professional only on page 277 defines an array of objects called Bird. Each object contains two fields name and url . They also contain a sub-element with one field called id. If you bind the Bird array to a DataSet component using the dataProvider property with three fields name url and id each item that is returned from the array is constructed in the following way for each item in the XML file Create an empty item. Loop through the defined schema properties extracting the values for each property from the XML data and assign these values to the created item. The Name and URL fields will have values. Provide this item to the DataSet component. The ID field does not exist on the item and the DataSet component has a blank entry for each item assigned. Advanced topics in data integration 301 The solution is to create a new schema field under the object within the Bird array. The new schema field is named id. Every schema field has a property called path that accepts an XPath statement that points to the data in your XML file. In this case the XPath expression would be key @id.

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.