Question

In: Operations Management

Q55 Identify the main attributes of XML. [3 Marks]

Q55

Identify the main attributes of XML. [3 Marks]

Solutions

Expert Solution

  • The Attributes in XML are part of XML elements.
  • An element in XML can have multiple attributes which are unique.
  • Attributes in XML are used to describe the XML elements.
  • The attributes also provide additional information about elements.
  • Attributes are contained within the start tag of an element. for example,<file type="gif"><person id="3334">
  • Syntax of an XML attribute

<element-name attribute1 attribute2 >....content..</elementname>

here attribute1 and attribute2 is in the form name = "value",where value has to be in double (" ") or single (' ') quotes.

  • There are some rules that should be followed for attributes. they are

1)the name of the attribute or the attribute name should not appear more than once in the same start-tag or empty-element tag.

2)An attribute should always be declared in the Document Type Definition (DTD) only by using an Attribute-List Declaration.

3)Attribute values should always not contain any direct or indirect entity references to the external entities.

4)The replacement text of any of the entity which is referred directly or indirectly in an attribute value must not contain a less than sign (<).


Related Solutions

Design at least five XML documents. One of these XML is main page.
Description Design at least five XML documents. One of these XML is main page.     There are several links which link to other XML document. Each XML document has an XSLT document which transforms XML document into HTML format.
Describe the three main attributes of a close corporation (9 Marks) b. Give 5 advantages and...
Describe the three main attributes of a close corporation b. Give 5 advantages and 5 disadvantages of a close corporation c. Describe the three statutory requirements with regard to the accounting records and financial reporting of a close corporation
Identify five main attributes for each of the following entity classes: a. automobile parts: b. airline...
Identify five main attributes for each of the following entity classes: a. automobile parts: b. airline flights: c. houses: d. insurance policies: e. business expense (such as what an employee may incur on a business trip):
you will develop a small XML. XML is used for storing and exchanging information. XML is...
you will develop a small XML. XML is used for storing and exchanging information. XML is the most commonly used file format for e-business. It is important to have a grasp of XML. In XML, you can choose your own tag names. For example, for representing name of a product, you can use <pname>, <prodName> or <productname> as you like. XML has to follow certain syntax rules.  Gentle Introduction to XML (External Link) provides more information about XML. Do the following:...
Question 2 - 4 marks (750 words) Identify the main users of accounting referred to within...
Question 2 - 4 marks (750 words) Identify the main users of accounting referred to within the AASB/IASB conceptual framework. Does the identification of particular users within the conceptual framework have implications for the future of accounting measurement? In your response you will need to consider the implications of the identification of particular users on the use of fair values and historical cost accounting.
Identify the main planks of the classical thought. (4 Marks) b. Distinguish between voluntary and involuntary...
Identify the main planks of the classical thought. b. Distinguish between voluntary and involuntary unemployment. c. Explain the process through which classical unemployment can occur in an economy
This is an XML exercise. Explain why you need LINQ to XML.
This is an XML exercise. Explain why you need LINQ to XML.
Identify the 3 main financial statements? (3) Discuss the purpose of each statement? (3) Explain how...
Identify the 3 main financial statements? (3) Discuss the purpose of each statement? (3) Explain how income statement is linked to the balance sheet?
Ludwig von Mises gave ten different attributes of classic liberalism. identify and describe three attributes of...
Ludwig von Mises gave ten different attributes of classic liberalism. identify and describe three attributes of classic liberalism, as described by Mises. Identify and explain one attribute of modern day liberalism that is contrary to classic liberalism. Why is that role contrary to classic liberalism, as described by Mises?
1.Identify the main research problem. 2.Analyze the main underlying causes of the existing problem. 3.Establish the...
1.Identify the main research problem. 2.Analyze the main underlying causes of the existing problem. 3.Establish the cause-and-effect relations between the various aspects. 4.Formulate the best solutions to address the problem. CASE 1: ZAPPOS FACES COMPETITIVE CHALLENGES Zappos Faces Competitive Challenges Zappos, based in Las Vegas, is an online retailer with the initial goal of trying to be the best website for buying shoes by offering a wide variety of brands, styles, colors, sizes, and widths. The Zappos.com brand has grown...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT