COMP2098 Chapter Notes -Ampersand, Asp.Net, Xml

94 views2 pages

Document Summary

Part of xml"s popularity is a result of its simplicity. When creating your own xml document, you need to remember only a few rules: Content is placed between the start and end tags. If you include a start tag, you must also include a corresponding end tag. The only other option is to combine the two by creating an empty element, which includes a forward slash at the end and has no content (like ). This is similar to the syntax for asp. net controls. and hard returns to properly align your information. special characters, such as the angle brackets (< >) and the ampersand (&), as content. Instead, you"ll have to use the entity equivalents (such as < and > for angle brackets, and & for the ampersand). These equivalents will be automatically converted to the original characters when you read them into your program with the appropriate . net classes. elements.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents