{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

WTA3_XMLDSO - XML XML Data Source Objects Reference 1...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
XML Data Source Objects Reference: 1. W3Schools 2. http://www.brainbell.com/tutors/XML/XML_Book_B/The_XML_DSO.htm 1 Subject Incharge Pratidnya S. Hegde Patil
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
XML Data Source Objects (DSO) Deals with the usage of an XML document as a data source in much the same way that Access 2 or Oracle is used.
Background image of page 2
XML DSO box4 The XML DSO allows you to bring data over to the client as XML and then manipulate the XML data directly on the client.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
DSO box4 DSO is an object that operates like a database on the client side. An instance of it has to be created for use, which gives an effect of a miniature data engine embedded in the HTML. box4 XML DSO is used to bind data in XML document to controls on an HTML page. 4 box4 It lets you access the data without walking through the document tree.
Background image of page 4
XML element box4 The XML DSO allows you to work with XML data that is embedded directly in your HTML code. This embedded XML code creates dataislands . box4 To create a data island, you will use the new HTML xml element. The DSO will find the data located in the xml element and use it as a data island.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
XML element box4 The xml element includes an id attribute that will be used to reference the data island. The xml element looks as follows: box4 You can also reference XML data in an external XML document by using the xml <xml id="orderDSO"> <!--XML data goes here --> </xml> element and the src attribute as follows: <xml id="orderDSO" src="NorthwindOrder.xml"></xml>
Background image of page 6
Binding HTML Elements to XML Data Using the XML DSO box4 Once you have created a reference to an XML data source using the xml element, you can bind this data to some of the HTML elements in a document. With some of the elements, you can display the content that is within the element as either text or as HTML.
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
DHTML tags used for XML DSO <STYLE> Style tag used to embed style information within a document. The style tag should always include the TYPE declaration. ID ID attribute has an unique value over the document. The ID name declaration should be preceded by a #, in the <STYLE> declaration. SPAN Extracts a section of the document with the styles applied. Used within the DIV tag.
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}