XML Project by utilizing XML DSO
AIM:
Project to show information current in XML by utilizing XML DSO.
THEORY:
Two sorts of markup languages are current. Particular Markup Language is used to generate code that’s particular to a selected utility. Whereas Generalized markup language describes the construction & that means of the textual content in a doc. (Moveable) HTML & RTF are utilized in net doc & textual content doc.
XML is developed by W3C (W3 Consortium) to beat shortcomings of HTML. It’s outlined as a set of requirements to alternate & publish information in a structured method.
Distinction Between HTML & XML
HTML
|
XML
|
Used to show information and to give attention to how information appears to be like
|
Used to explain information and to give attention to what information is.
|
HTML tags are predefined.
|
XML tags aren’t predefined person need to outline its personal tags. XML makes use of DTD to describe the information.
|
HTML is used to change the look of net web page & formatting of textual content.
|
XML is used to retailer & ship information.
|
HTML is the muse of the net
|
XML is a typical device for all information manipulation & information transmission.
|
Knowledge is saved inside HTML information
|
Knowledge may be saved in separate XML information.
|
Xml version=”1.0” ?>
Do Not Neglect to fulfill me at Premi Backyard at
Person have to put in writing a software program to ship it, obtain it & show it.
XML is free & extensible. XML is a complement to html. XML isn’t a alternative for html. XML is cross-platform software program & {hardware} impartial device for transmitting information. XML is used to alternate information between programs ( laptop programs & database include information in incompatible codecs) over the online. Changing the information to XML can vastly cut back this complexity & create information that may be learn by many various kinds of purposes.
With XML monetary information may be exchanged over the online.(B2B). XML is impartial of {Hardware}, software program & utility, information may be obtainable to greater than solely normal HTML browsers. Different purchasers & purposes can entry information as information sources like they’re accessing databases. XML is the mom of WAP & WML. (Wi-fi Markup Language) WML is used to markup web purposes for handheld units like cell phones is written in XML. XML is airplane textual content with simply addition of some XML tags enclosed in angle brackets. Software program that may deal with plain textual content cal additionally deal with XML.
Guidelines For XML:
- XML have a closing tag. XML may use HTML tags however closing tags needs to be current.
- XML tags are case-sensitive.
- XML tags have to be correctly nested.
- XML doc should have a root tag. All different components have to be nested inside the basis component.
Attributes values have to be quoted.
< observe date=”12-11-2002 ”>
With XML white area is preserved ( not truncated). With XML CR / LF is transformed to LF. A brand new line is at all times saved as LF (line feed) ( home windows: CR LF / Unix: LF) XML components are extensible & they’ve relationships. XML components have easy naming Guidelines.
e book is the basis component. Title & chapter are b
aby components. Title & chapter are siblings (sister components) as a result of they’ve similar dad or mum.
aby components. Title & chapter are siblings (sister components) as a result of they’ve similar dad or mum.
Knowledge Supply Objects(DSO)
A DSO is an object that operates like a database on the consumer aspect. It can take information that's organized in a sure manner & will manipulate it with its personal database. Tabular Knowledge Management: Primarily used for structured textual content information. XML DSO is used to bind information in XML doc.
CONCLUSION
The task to show information current in XML by utilizing XML DSO is efficiently carried out.
1 |
<div><br/><br /><span>1) dso1.html:</span><br/></div><br/><br /><span><br /></span><div><br/><br />object id=playing cards classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83"> <br /><br/></div><br/><br /><span><br /><<param name="fielddelim" value=","><br /></span><div><br/><br />t"><br /><param title="useheader" worth="true"</div><br/><br /><span><param title="dataurl" worth="playing cards.t<br />x><br /></object><br /><br /><div id="catalog"><br /></span><div><br/><br /> datafld=BNAME></span>--><br /><br />Ebook Identify: <enter sort=textual content dat</div><br/><br /><span><!--<span id=bname datasrc=#card<br />sasrc=#playing cards datafld=BNAME><br />Writer Identify: <input type=text datasrc=#cards datafld=ANAME><br /></span><div><br/><br />First onclick="playing cards.recordset.movefirst()"><br /><enter ty</div><br/><br /><span>Value: <input type=text datasrc=#cards datafld=PRICE><br /><br /></div><br /><br /><enter sort=button worth<br />=pe=button worth=Earlier onclick="playing cards.recordset.moveprevious();<br />if(playing cards.recordset.BOF) playing cards.recordset.movefirst()"><br /><br /></span><div><br/><br />enter sort=Button worth=Final onclick="playing cards.recordset.movelast()"></div><br/><br /><span><enter sort=button worth=Subsequent onclick="playing cards.recordset.movenext();<br />if(playing cards.recordset.EOF) playing cards.recordset.movelast()"><br /><br /><br /><<br /><br />2) dso2.html<br /><br /><html><br /><head><br /><br /></head><br /><body><br /><br /></span><div><br/><br />ame <th> Value In rs </thead><br /><br /><tr><br /><td> <div datafld="BNAME"></div><br /><td></div><br/><br /><span><object classid="clsid:550dda30-0541-11d2-9ca9-0060b0ec3d39" id="xmldso"><br /></object><br /><br />3) dso3.html:<br /><br /><table border=2 datasrc=#XMLDSO ><br /><br /><thead><th> Ebook Identify <th> Writer <br />N <div datafld="ANAME"></div><br /><td> <div datafld="PAGES"></div><br /><br /></table><br /></span><div><br/><br /><span><br /></span><br/></div><br/><br /> |
Supply projectgeek.com