This document provides an introduction to XML, including:
- What XML is and why it was created as an extensible meta language for describing other languages.
- Basic XML rules like tags being case sensitive, elements needing closing tags, and attributes requiring quotation marks.
- Differences between XML and HTML in terms of focus, predefined tags, and use for transporting vs displaying data.
- Benefits of XML like improved web functionality through custom markup and being a meta language that describes other languages.
An attribute declaration specifies attributes for elements in a DTD. It defines the attribute name, data type or permissible values, and required behavior. For example, an attribute may have a default value if not provided, be optional, or require a value. Notations can label non-XML data types and unparsed entities can import binary files. Together DTDs and entities provide a schema to describe document structure and relationships.
XML (eXtensible Markup Language) is designed to transport and store data. It is important to know as it is easy to learn and allows data to be stored in a regular and consistent notation that can be processed faster and rearranged more easily. XML documents must have a root tag and follow syntax rules around tags, nesting, and attributes. XML is not a replacement for HTML as they have different goals around displaying versus describing information.
XML is everywhere. Computers, Mobiles, Bank Systems, Internet, TVs, Microwaves, all use XML as an Information Wrapping and Information Xchange System. We will tell you all the basics in a simplest possible way.
This document provides an introduction to XML, including its structure, syntax, and uses. It defines XML as a markup language that provides a format for structured data. It describes XML elements, attributes, and how XML documents must follow specific syntax rules to be considered well-formed. The document also discusses Document Type Definitions (DTDs), XML namespaces, XML schemas, displaying XML with CSS, and transforming XML with XSLT.
XML Introduction,Syntax of XML,Well formed XML Documents,XML Document Structure,Document Type Definitions,XML Namespace,XML Schemas,DOM(Document Object Model)
The document discusses using XML and Java together. It covers XML parsers like DOM and SAX, as well as Java XML parsers like DOM, JDOM, and SAX. It compares DOM and JDOM APIs and provides examples of using JDOM to parse and generate XML. The document also discusses XML technologies like XPath, XSL, and using XML with Java technologies like JSP.
XML is an extensible markup language that allows users to define their own elements and tags. It was designed to store and transport data, unlike HTML which was designed for displaying data. XML separates data from presentation by using user-defined tags to describe information rather than pre-defined tags like HTML. This extensibility makes XML highly flexible and customizable for different applications and domains.
An attribute declaration specifies attributes for elements in a DTD. It defines the attribute name, data type or permissible values, and required behavior. For example, an attribute may have a default value if not provided, be optional, or require a value. Notations can label non-XML data types and unparsed entities can import binary files. Together DTDs and entities provide a schema to describe document structure and relationships.
XML (eXtensible Markup Language) is designed to transport and store data. It is important to know as it is easy to learn and allows data to be stored in a regular and consistent notation that can be processed faster and rearranged more easily. XML documents must have a root tag and follow syntax rules around tags, nesting, and attributes. XML is not a replacement for HTML as they have different goals around displaying versus describing information.
XML is everywhere. Computers, Mobiles, Bank Systems, Internet, TVs, Microwaves, all use XML as an Information Wrapping and Information Xchange System. We will tell you all the basics in a simplest possible way.
This document provides an introduction to XML, including its structure, syntax, and uses. It defines XML as a markup language that provides a format for structured data. It describes XML elements, attributes, and how XML documents must follow specific syntax rules to be considered well-formed. The document also discusses Document Type Definitions (DTDs), XML namespaces, XML schemas, displaying XML with CSS, and transforming XML with XSLT.
XML Introduction,Syntax of XML,Well formed XML Documents,XML Document Structure,Document Type Definitions,XML Namespace,XML Schemas,DOM(Document Object Model)
The document discusses using XML and Java together. It covers XML parsers like DOM and SAX, as well as Java XML parsers like DOM, JDOM, and SAX. It compares DOM and JDOM APIs and provides examples of using JDOM to parse and generate XML. The document also discusses XML technologies like XPath, XSL, and using XML with Java technologies like JSP.
XML is an extensible markup language that allows users to define their own elements and tags. It was designed to store and transport data, unlike HTML which was designed for displaying data. XML separates data from presentation by using user-defined tags to describe information rather than pre-defined tags like HTML. This extensibility makes XML highly flexible and customizable for different applications and domains.
What is XML
• XML stands for EXtensible Markup Language
• XML was designed to carry data, not to display data
• XML developed by the World Wide Web
Consortium (www.W3C.org)
• XML like HTML is a mark up language, but
unlike HTML it doesn’t have predefined
elements
XML Versions
version XML 1.0 was initially defined in 1998
version XML 1.1 was initially published on 4th Feb 2004
Example language of xml structure
XHTML
WML AND WAP
SVG
Uses XML
WEB DEVELOPER
TRANSPORTING AND SHARING DATA
STORING DATA
DOCUMENTATION
ANDROID DEVELOPER
XML Doc Advantages
Easy data sharing, text documents are readable between any device.
Easy to learn.
Extendable.
Freedom to define tags.
Easy searching.
Disadvantages of XML
The redundancy may affect application efficiency through higher storage, transmission and processing costs.
XML Document Components
The various components of an XML document used for representing data in a hierarchical order are:
Processing Instruction (PI)
Tags
Elements
Content
Attributes
Entities
Comments
This document discusses the structure and components of an XML document. It explains that an XML document consists of elements, attributes, comments, processing instructions, and a document type declaration. It describes each of these components in detail, including their purpose and general syntax. The document type declaration identifies the document and can reference an internal or external DTD that defines the valid elements and attributes.
DTD stands for Document Type Definition and allows an XML document to specify requirements to be valid. It declares elements, attributes, and other components that can be used in an XML document. Validation ensures an XML document matches the DTD specifications by checking elements, attributes, and structure. DTDs can be embedded locally in an XML file or referenced externally from another file.
The document discusses XML schemas, explaining that they define elements, attributes, and data types that can be used in XML documents. It covers creating simple and complex elements, declaring data types, and grouping elements using sequences, groups, and choices. The document also provides examples of how to define attributes and create user-defined data types in an XML schema.
An XML DTD defines the grammar and legal building blocks of an XML document. It specifies elements, attributes, and entities that can be used. A DTD can be internal, defined within the XML file, or external, referenced from an outside file. Elements are declared with ELEMENT tags, attributes with ATTLIST, and entities allow special characters to be represented as shortcuts. A DTD enables validation of an XML file's structure and is useful for data exchange conformance.
This document provides an introduction and overview of PHP. It discusses that PHP is a server-side scripting language used for web development that can be embedded into HTML. It then covers PHP syntax including using <?php ?> tags, variables, data types, operators, conditional statements, loops, functions, and regular expressions. The document also provides examples of common PHP functions for arrays, calendars, dates, math, mail, MySQLi, strings, and errors.
Introduction to the usage of DTDs in connection with XML documents. Elements and attributes are introduced in details. Use of ID, IDREF, and IDREFS for uniqueness and referring to elements are illustrated using a number of examples.
The document provides an introduction to XML. It discusses what XML is, including that it is a markup language used to describe data, it is self-descriptive, and it does not define tags. It also discusses why XML is used, noting that it keeps data separate from layout, allows automatic data management and exchange, and can define new data formats. Finally, it provides an example of a basic XML file describing computer parts to illustrate XML structure and elements.
XML is an extensible markup language that was designed to store and transport data. It allows data to be shared across different systems, hardware, and software. XML has several advantages over HTML including separating data from presentation, simplifying data sharing and transport, and making data more available. XML documents use tags to define elements and can also use attributes. XML documents must follow syntax rules to be well-formed, such as having matching start and end tags and properly nested elements.
XML is a flexible data format that allows users to define their own tags to structure information in a way that makes it readable by both humans and machines. It allows sharing of data across different systems on the internet or intranets. XML uses tags to mark up content with semantic meaning, which facilitates parsing and allows the same information to be rendered in multiple formats.
The document discusses XML and DTDs. It defines DTDs as describing the components and guidelines in an XML document by listing elements, attributes and their possible values, entities, and their interactions. It provides examples of element declarations in DTDs using tags like ELEMENT, EMPTY, ANY, and content models. It also distinguishes between internal and external DTDs and when each is generally used.
The document discusses the building blocks of XML documents including elements, attributes, entities, PCDATA, and CDATA. It also covers how each component is declared in a DTD including element declarations, attribute declarations, and restrictions on content and occurrence.
XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It was designed to carry data, not display it like HTML. XML is important because it separates data from presentation, allows data to be shared across different systems, and makes data easier to store and process. The basic building blocks of XML include elements, attributes, entities, processing instructions, comments, and tags.
SQL Server - Querying and Managing XML DataMarek Maśko
This document provides an overview and agenda for a presentation on querying and managing XML data in SQL Server. The presentation covers XML introduction and terminology, returning query results as XML using the FOR XML clause, querying XML data with XQuery, and using the XML data type including methods and indexes. It includes examples and review questions. The author is Marek Maśko, a principal database analyst who has worked with SQL Server for 7 years.
XML is a markup language that allows users to define their own tags and structure for documents. It separates content from formatting and is extensible, platform-independent, and human-readable. Well-formed XML documents follow syntax rules like having matching open and close tags and properly nested elements. Valid XML documents also comply with constraints defined in their associated DTD. Common XML components include elements, attributes, namespaces, comments, and CDATA sections.
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xmlÔng Thông
The document discusses XML, including its advantages over HTML, architecture, and how to build an XML document. XML allows users to define their own tags, supports a three-tier architecture, and separates data from presentation. An XML document consists of elements, attributes, entities, and character data. It must be well-formed and may be validated using a DTD. The parser interprets XML files by loading related files. The document outlines best practices for creating, structuring, and verifying XML code.
The document discusses the objectives and syllabus of an IT course on Service Oriented Architecture, including learning XML fundamentals, building XML-based applications, understanding SOA principles and web services technologies, and building SOA-based applications; it provides the textbook and reference book details and outlines the topics to be covered in each unit such as XML document structure, building XML applications, SOA, and web services.
The document discusses XML document structure and validation. It introduces well-formed and valid XML documents, and the DTD and XML Schema used to define the structure and elements of valid XML documents. It provides examples of DTDs defining the elements and attributes of sample XML documents.
XML is a markup language designed to transport and store data. It was created to be self-descriptive and allows users to define their own elements. XML separates data from presentation and is used to create new internet languages, simplify data storage and sharing, and transport and make data more available across different platforms. XML documents form a tree structure with elements nested within other elements.
This document discusses XML and provides an introduction and overview. It defines what a markup language is, describes the history and features of SGML and limitations of HTML. XML is presented as being extensible and overcoming drawbacks of HTML. The key steps to create an XML document are outlined, including the XML declaration, root element, defining elements and attributes, and verifying the document structure. Components of an XML document like entities, character data types, and DOCTYPE declarations are also summarized.
AJAX allows for asynchronous data exchange in the background without interfering with the display and behavior of the existing page. It combines technologies like XML, JavaScript, HTML and CSS to retrieve data from the server to update portions of a web page without reloading the entire page. This improves usability, interactivity and performance of web applications.
This document discusses Ajax, which allows asynchronous updating of parts of a web page without reloading the entire page. It defines Ajax as using existing technologies like JavaScript, XML, CSS, and HTML. Key points:
- Ajax permits exchanging data with a server to update parts of a page without refreshing.
- It uses the XMLHttpRequest object to communicate asynchronously with server-side scripts and send/receive different data formats.
- Popular Ajax applications include live searches, autocomplete, chatting, and updating pages without refreshes.
- Ajax works by using JavaScript to fetch server data as needed without stopping other tasks. The returned data can then update the page.
What is XML
• XML stands for EXtensible Markup Language
• XML was designed to carry data, not to display data
• XML developed by the World Wide Web
Consortium (www.W3C.org)
• XML like HTML is a mark up language, but
unlike HTML it doesn’t have predefined
elements
XML Versions
version XML 1.0 was initially defined in 1998
version XML 1.1 was initially published on 4th Feb 2004
Example language of xml structure
XHTML
WML AND WAP
SVG
Uses XML
WEB DEVELOPER
TRANSPORTING AND SHARING DATA
STORING DATA
DOCUMENTATION
ANDROID DEVELOPER
XML Doc Advantages
Easy data sharing, text documents are readable between any device.
Easy to learn.
Extendable.
Freedom to define tags.
Easy searching.
Disadvantages of XML
The redundancy may affect application efficiency through higher storage, transmission and processing costs.
XML Document Components
The various components of an XML document used for representing data in a hierarchical order are:
Processing Instruction (PI)
Tags
Elements
Content
Attributes
Entities
Comments
This document discusses the structure and components of an XML document. It explains that an XML document consists of elements, attributes, comments, processing instructions, and a document type declaration. It describes each of these components in detail, including their purpose and general syntax. The document type declaration identifies the document and can reference an internal or external DTD that defines the valid elements and attributes.
DTD stands for Document Type Definition and allows an XML document to specify requirements to be valid. It declares elements, attributes, and other components that can be used in an XML document. Validation ensures an XML document matches the DTD specifications by checking elements, attributes, and structure. DTDs can be embedded locally in an XML file or referenced externally from another file.
The document discusses XML schemas, explaining that they define elements, attributes, and data types that can be used in XML documents. It covers creating simple and complex elements, declaring data types, and grouping elements using sequences, groups, and choices. The document also provides examples of how to define attributes and create user-defined data types in an XML schema.
An XML DTD defines the grammar and legal building blocks of an XML document. It specifies elements, attributes, and entities that can be used. A DTD can be internal, defined within the XML file, or external, referenced from an outside file. Elements are declared with ELEMENT tags, attributes with ATTLIST, and entities allow special characters to be represented as shortcuts. A DTD enables validation of an XML file's structure and is useful for data exchange conformance.
This document provides an introduction and overview of PHP. It discusses that PHP is a server-side scripting language used for web development that can be embedded into HTML. It then covers PHP syntax including using <?php ?> tags, variables, data types, operators, conditional statements, loops, functions, and regular expressions. The document also provides examples of common PHP functions for arrays, calendars, dates, math, mail, MySQLi, strings, and errors.
Introduction to the usage of DTDs in connection with XML documents. Elements and attributes are introduced in details. Use of ID, IDREF, and IDREFS for uniqueness and referring to elements are illustrated using a number of examples.
The document provides an introduction to XML. It discusses what XML is, including that it is a markup language used to describe data, it is self-descriptive, and it does not define tags. It also discusses why XML is used, noting that it keeps data separate from layout, allows automatic data management and exchange, and can define new data formats. Finally, it provides an example of a basic XML file describing computer parts to illustrate XML structure and elements.
XML is an extensible markup language that was designed to store and transport data. It allows data to be shared across different systems, hardware, and software. XML has several advantages over HTML including separating data from presentation, simplifying data sharing and transport, and making data more available. XML documents use tags to define elements and can also use attributes. XML documents must follow syntax rules to be well-formed, such as having matching start and end tags and properly nested elements.
XML is a flexible data format that allows users to define their own tags to structure information in a way that makes it readable by both humans and machines. It allows sharing of data across different systems on the internet or intranets. XML uses tags to mark up content with semantic meaning, which facilitates parsing and allows the same information to be rendered in multiple formats.
The document discusses XML and DTDs. It defines DTDs as describing the components and guidelines in an XML document by listing elements, attributes and their possible values, entities, and their interactions. It provides examples of element declarations in DTDs using tags like ELEMENT, EMPTY, ANY, and content models. It also distinguishes between internal and external DTDs and when each is generally used.
The document discusses the building blocks of XML documents including elements, attributes, entities, PCDATA, and CDATA. It also covers how each component is declared in a DTD including element declarations, attribute declarations, and restrictions on content and occurrence.
XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. It was designed to carry data, not display it like HTML. XML is important because it separates data from presentation, allows data to be shared across different systems, and makes data easier to store and process. The basic building blocks of XML include elements, attributes, entities, processing instructions, comments, and tags.
SQL Server - Querying and Managing XML DataMarek Maśko
This document provides an overview and agenda for a presentation on querying and managing XML data in SQL Server. The presentation covers XML introduction and terminology, returning query results as XML using the FOR XML clause, querying XML data with XQuery, and using the XML data type including methods and indexes. It includes examples and review questions. The author is Marek Maśko, a principal database analyst who has worked with SQL Server for 7 years.
XML is a markup language that allows users to define their own tags and structure for documents. It separates content from formatting and is extensible, platform-independent, and human-readable. Well-formed XML documents follow syntax rules like having matching open and close tags and properly nested elements. Valid XML documents also comply with constraints defined in their associated DTD. Common XML components include elements, attributes, namespaces, comments, and CDATA sections.
Xml theory 2005_[ngohaianh.info]_1_introduction-to-xmlÔng Thông
The document discusses XML, including its advantages over HTML, architecture, and how to build an XML document. XML allows users to define their own tags, supports a three-tier architecture, and separates data from presentation. An XML document consists of elements, attributes, entities, and character data. It must be well-formed and may be validated using a DTD. The parser interprets XML files by loading related files. The document outlines best practices for creating, structuring, and verifying XML code.
The document discusses the objectives and syllabus of an IT course on Service Oriented Architecture, including learning XML fundamentals, building XML-based applications, understanding SOA principles and web services technologies, and building SOA-based applications; it provides the textbook and reference book details and outlines the topics to be covered in each unit such as XML document structure, building XML applications, SOA, and web services.
The document discusses XML document structure and validation. It introduces well-formed and valid XML documents, and the DTD and XML Schema used to define the structure and elements of valid XML documents. It provides examples of DTDs defining the elements and attributes of sample XML documents.
XML is a markup language designed to transport and store data. It was created to be self-descriptive and allows users to define their own elements. XML separates data from presentation and is used to create new internet languages, simplify data storage and sharing, and transport and make data more available across different platforms. XML documents form a tree structure with elements nested within other elements.
This document discusses XML and provides an introduction and overview. It defines what a markup language is, describes the history and features of SGML and limitations of HTML. XML is presented as being extensible and overcoming drawbacks of HTML. The key steps to create an XML document are outlined, including the XML declaration, root element, defining elements and attributes, and verifying the document structure. Components of an XML document like entities, character data types, and DOCTYPE declarations are also summarized.
AJAX allows for asynchronous data exchange in the background without interfering with the display and behavior of the existing page. It combines technologies like XML, JavaScript, HTML and CSS to retrieve data from the server to update portions of a web page without reloading the entire page. This improves usability, interactivity and performance of web applications.
This document discusses Ajax, which allows asynchronous updating of parts of a web page without reloading the entire page. It defines Ajax as using existing technologies like JavaScript, XML, CSS, and HTML. Key points:
- Ajax permits exchanging data with a server to update parts of a page without refreshing.
- It uses the XMLHttpRequest object to communicate asynchronously with server-side scripts and send/receive different data formats.
- Popular Ajax applications include live searches, autocomplete, chatting, and updating pages without refreshes.
- Ajax works by using JavaScript to fetch server data as needed without stopping other tasks. The returned data can then update the page.
The DOM (Document Object Model) allows programs and scripts to dynamically access and update the content, structure and style of documents. It gives generic access to elements, styles and attributes in a document. The DOM organizes how elements are referenced and interact with each other. Examples show how scripts reference elements, apply styles, and change styles. Different document objects like the document, anchor, button, form, image and event objects are used to access and manipulate HTML and XML documents. The DOM provides a standard programming interface for working with documents across environments and applications.
JSON is a lightweight data-interchange format that is easy for humans to read and write and for machines to parse and generate. It is built on two structures: a collection of name/value pairs and an ordered list of values. JSON is text-based and language independent, yet closely resembles JavaScript object syntax. It is used primarily to transmit data between a server and web application, serving as an alternative to XML. Compared to XML, JSON is simpler, faster and easier to use.
Ajax Patterns : Periodic Refresh & Multi Stage DownloadEshan Mudwel
Periodic refresh and multi-stage download are design patterns for updating content. Periodic refresh checks the server at regular intervals for new information and notifies users. Multi-stage download loads basic functionality initially and additional components in the background over time to improve the user experience for both fast and slow connections. Examples include ESPN scoreboards, Gmail notifications, and Microsoft Start.com.
Ajax allows asynchronous retrieval of data from a server without page refreshes. It uses the XMLHttpRequest object in JavaScript to communicate with servers in the background. This allows parts of a web page to be updated without reloading the entire page. Ajax is commonly used for autocomplete, live searches, chatting applications, and updating content like news articles or maps without full page loads. It provides a more interactive and responsive experience for users.
The document contains source code for multiple practical assignments involving the use of Ajax with PHP and XML. It includes code to:
1. Create a webpage with a text box to accept a number and check if it is even or odd using Ajax and PHP.
2. Write a program to find the factorial of a given number using Ajax and PHP.
3. Create a webpage to calculate the reverse of a number entered in a text box using Ajax and PHP.
4. Fetch contents from an XML file and display it in a table on a webpage using Ajax.
5. Create login validation with username and password checking in PHP.
6. Retrieve student details from
This document provides an overview of XML basics, including what XML is, its advantages over HTML, related technologies like DTDs and XML schemas, how XML can be used, XML tags and syntax rules, and XML editors. XML stands for Extensible Markup Language and was developed as a simpler subset of SGML to enable use on the web. It allows users to define their own tags for structuring data versus using predefined tags like HTML.
asp.net using c# notes sem 5 ( we-it tutorials ).
Review of .NET frameworks, Introduction to C#, Variables and expressions, flow controls, functions, debugging and error handling, OOPs with C#, Defining classes and class members.
Assembly, Components of Assembly, Private and Shared Assembly, Garbage Collector, JIT compiler. Namespaces Collections, Delegates and Events. Introduction to ASP.NET 4: Microsoft.NET framework, ASP.NET lifecycle. CSS: Need of CSS, Introduction to CSS, Working with CSS with visual developer.
ASP.NET server controls: Introduction, How to work with button controls, Textboxes, Labels, checkboxes and radio buttons, list controls and other web server controls, web.config and global.asax files. Programming ASP.NET web pages: Introduction, data types and variables, statements, organizing code, object oriented basics.
Validation Control: Introduction, basic validation controls, validation techniques, using advanced validation controls. State Management: Using view state, using session state, using application state, using cookies and URL encoding. Master Pages: Creating master pages, content pages, nesting master pages, accessing master page controls from a content page. Navigation: Introduction to use the site navigation, using site navigation controls.
Databases: Introduction, using SQL data sources, GridView Control, DetailsView and FormView Controls, ListView and DataPager controls, Using object datasources. ASP.NET Security: Authentication, Authorization, Impersonation, ASP.NET provider model
LINQ: Operators, implementations, LINQ to objects,XML,ADO.NET, Query Syntax. ASP.NET Ajax: Introducing AJAX, Working of AJAX, Using ASP.NET AJAX
server controls. JQuery: Introduction to JQuery, JQuery UI Library, Working of JQuery
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive functioning. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
XML is a markup language that represents text information in a standard format. It was designed to transport and store information in a reliable way. XML has a wide range of applications and is just a formalism unlike HTML. XML documents can be validated against a DTD to check that they conform to the defined syntax rules and are well-formed.
The document discusses XML (eXtensible Markup Language), including what it is, how it differs from HTML, its basic structure and components. XML is a markup language that allows users to define their own tags to structure data. It is more flexible than HTML and allows structured storage and exchange of data. Well-formed XML documents follow syntax rules like having matching open/close tags and proper nesting of elements.
XML is a markup language that is used to define and store data in a structured format. It allows data to be separated from its presentation and is extensible to add new tags. An XML document must have a root element and follow syntax rules to be well-formed. It can also be validated against a DTD or schema to check that the elements and structure match the definitions.
XML was designed to store and transport data in a human- and machine-readable format. It uses markup tags to describe and structure data. XML has several advantages over HTML, including being able to carry arbitrary data rather than just displaying it, and having customizable tags rather than predefined tags. XML documents form a tree structure with elements nested within each other. XML includes syntax rules for tags, elements, attributes, and comments. Namespaces help avoid conflicts between element names. Documents can be validated using DTDs or XML Schemas, which define the structure and legal elements. XML Schemas provide more power and capabilities than DTDs.
XML is a markup language similar to HTML but designed for structured data rather than web pages. It uses tags to define elements and attributes, and can be validated using DTDs or XML schemas. XML documents can be transformed and queried using XSLT and XPath respectively. SAX is an event-based parser that reads XML sequentially while DOM loads the entire document into memory for random access.
XML is a markup language used to carry and store data. It was designed to transport data rather than display it. XML tags are defined by the author rather than being predefined. XML documents form a tree structure with a root element and branching child elements. For a document to be considered valid XML, it must follow syntax rules like having matching open and close tags and properly nested elements.
XML stands for Extensible Markup Language and is used to mark up data so it can be processed by computers, whereas HTML is used to mark up text to be displayed for users. Both XML and HTML use elements enclosed in tags, attributes, and entities, but XML only describes content while HTML describes both structure and appearance. XML allows users to define their own tags, and is strictly structured, making it suitable for data processing by computers.
XML is a markup language used for storing and transferring data. It allows data to be shared across different systems even if they have different hardware/software. XML uses tags to structure the data and is readable by both humans and machines. XML documents can be validated using DTDs or XML schemas to ensure they follow the defined structure and syntax rules. When parsing an XML document, DOM reads the entire document into memory while SAX reads nodes sequentially without storing the entire document in memory.
Web authoring refers to the process of creating, designing, and publishing content for the World Wide Web using technologies like HTML, CSS, JavaScript, and other web development tools. It involves creating web pages and websites. XML is a markup language similar to HTML that uses tags to structure and present data in a file. An XML document has a root element containing other nested elements in a hierarchical tree structure. Elements can have attributes that provide additional information.
XML Schema defines rules for encoding documents in a machine-readable format. It allows data exchange between systems independently of programming languages. XML Schema defines elements, attributes, and data types to structure XML documents. It provides more data typing capabilities than DTDs. Namespaces are used to avoid element name conflicts between different XML vocabularies. User-defined types can restrict built-in types or create new complex types from simple types to structure application-specific data.
XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable. XML was developed based on SGML and is designed to transport and store data. XML documents contain elements, attributes, and have a tree structure. Documents must follow specific rules to be considered valid XML, such as having matching start and end tags.
The document provides an overview of XML (eXtensible Markup Language). It discusses the need for separating presentation from content that led to the development of XML. XML allows adding structure and meaning to data through tags. It has various applications in almost every industry. The document then covers the key components of an XML document including the prolog, elements, attributes, entities, and DTD (Document Type Definition). It provides examples of element declarations, content models, and attribute declarations in a DTD. Finally, it describes the Together Control Center software which allows creating and editing XML diagrams and DTDs.
The document provides an overview of XML (eXtensible Markup Language). It discusses the need for separating presentation from content that led to the development of XML. XML allows adding structure and meaning to data through tags. It has various applications in almost every industry. The document then covers the key components of an XML document including the prolog, elements, attributes, entities, and DTD (Document Type Definition). It provides examples of element declarations, content models, and attribute declarations in a DTD. Finally, it discusses Together Control Center, a software that allows creating and editing XML diagrams and DTDs.
The document provides an overview of XML (eXtensible Markup Language). It discusses the need for separating presentation from content that XML addresses. XML allows for structuring and adding semantic meaning to data. It also describes the main components of an XML document including the prolog, elements, attributes, entities, and DTD (document type definition). The DTD outlines rules for the document and enables validation. The document then explains various XML features in more detail such as content models, attribute declarations and types, internal/external DTDs, and entities. It concludes with an overview of the Together Control Center XML editor functionality.
distributed system concerned lab sessionsmilkesa13
The document discusses XML and its features. It begins with explaining why XML is needed to standardize data exchange between different systems. It then covers key topics like XML syntax with tags, XML tree structure, creating simple XML files, using DTDs to validate XML files, and introduces more advanced concepts like XML Schema and XPath. The document provides examples to illustrate different XML structures and capabilities.
This document provides an introduction to XML, including:
- XML stands for eXtensible Markup Language and allows users to define their own tags to provide structure and meaning to data.
- XML documents use elements with start and end tags to organize content in a hierarchical, tree-like structure. Elements can contain text or other nested elements.
- Attributes within start tags provide additional metadata about elements. Well-formed XML documents must follow syntax rules to be valid.
The document provides an overview of XML, XSLT, and XPath. It discusses the history and goals of XML, how to structure an XML document including elements, attributes, and namespaces. It also covers XML Schema, XPath, and how XSLT uses XPath to transform an XML document into another format.
This document provides an overview of XML documents and vocabularies. It discusses the structure of an XML document, including the document prolog section containing the XML declaration and document type declaration. It describes document elements as the building blocks of an XML document. It also explains XML declarations, namespaces, and DTDs (document type definitions). XML namespaces help avoid element name conflicts, and DTDs define rules to check the vocabulary and structure of XML documents. The document gives examples of internal and external DTDs.
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-und-domino-lizenzkostenreduzierung-in-der-welt-von-dlau/
DLAU und die Lizenzen nach dem CCB- und CCX-Modell sind für viele in der HCL-Community seit letztem Jahr ein heißes Thema. Als Notes- oder Domino-Kunde haben Sie vielleicht mit unerwartet hohen Benutzerzahlen und Lizenzgebühren zu kämpfen. Sie fragen sich vielleicht, wie diese neue Art der Lizenzierung funktioniert und welchen Nutzen sie Ihnen bringt. Vor allem wollen Sie sicherlich Ihr Budget einhalten und Kosten sparen, wo immer möglich. Das verstehen wir und wir möchten Ihnen dabei helfen!
Wir erklären Ihnen, wie Sie häufige Konfigurationsprobleme lösen können, die dazu führen können, dass mehr Benutzer gezählt werden als nötig, und wie Sie überflüssige oder ungenutzte Konten identifizieren und entfernen können, um Geld zu sparen. Es gibt auch einige Ansätze, die zu unnötigen Ausgaben führen können, z. B. wenn ein Personendokument anstelle eines Mail-Ins für geteilte Mailboxen verwendet wird. Wir zeigen Ihnen solche Fälle und deren Lösungen. Und natürlich erklären wir Ihnen das neue Lizenzmodell.
Nehmen Sie an diesem Webinar teil, bei dem HCL-Ambassador Marc Thomas und Gastredner Franz Walder Ihnen diese neue Welt näherbringen. Es vermittelt Ihnen die Tools und das Know-how, um den Überblick zu bewahren. Sie werden in der Lage sein, Ihre Kosten durch eine optimierte Domino-Konfiguration zu reduzieren und auch in Zukunft gering zu halten.
Diese Themen werden behandelt
- Reduzierung der Lizenzkosten durch Auffinden und Beheben von Fehlkonfigurationen und überflüssigen Konten
- Wie funktionieren CCB- und CCX-Lizenzen wirklich?
- Verstehen des DLAU-Tools und wie man es am besten nutzt
- Tipps für häufige Problembereiche, wie z. B. Team-Postfächer, Funktions-/Testbenutzer usw.
- Praxisbeispiele und Best Practices zum sofortigen Umsetzen
In the rapidly evolving landscape of technologies, XML continues to play a vital role in structuring, storing, and transporting data across diverse systems. The recent advancements in artificial intelligence (AI) present new methodologies for enhancing XML development workflows, introducing efficiency, automation, and intelligent capabilities. This presentation will outline the scope and perspective of utilizing AI in XML development. The potential benefits and the possible pitfalls will be highlighted, providing a balanced view of the subject.
We will explore the capabilities of AI in understanding XML markup languages and autonomously creating structured XML content. Additionally, we will examine the capacity of AI to enrich plain text with appropriate XML markup. Practical examples and methodological guidelines will be provided to elucidate how AI can be effectively prompted to interpret and generate accurate XML markup.
Further emphasis will be placed on the role of AI in developing XSLT, or schemas such as XSD and Schematron. We will address the techniques and strategies adopted to create prompts for generating code, explaining code, or refactoring the code, and the results achieved.
The discussion will extend to how AI can be used to transform XML content. In particular, the focus will be on the use of AI XPath extension functions in XSLT, Schematron, Schematron Quick Fixes, or for XML content refactoring.
The presentation aims to deliver a comprehensive overview of AI usage in XML development, providing attendees with the necessary knowledge to make informed decisions. Whether you’re at the early stages of adopting AI or considering integrating it in advanced XML development, this presentation will cover all levels of expertise.
By highlighting the potential advantages and challenges of integrating AI with XML development tools and languages, the presentation seeks to inspire thoughtful conversation around the future of XML development. We’ll not only delve into the technical aspects of AI-powered XML development but also discuss practical implications and possible future directions.
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slackshyamraj55
Discover the seamless integration of RPA (Robotic Process Automation), COMPOSER, and APM with AWS IDP enhanced with Slack notifications. Explore how these technologies converge to streamline workflows, optimize performance, and ensure secure access, all while leveraging the power of AWS IDP and real-time communication via Slack notifications.
Communications Mining Series - Zero to Hero - Session 1DianaGray10
This session provides introduction to UiPath Communication Mining, importance and platform overview. You will acquire a good understand of the phases in Communication Mining as we go over the platform with you. Topics covered:
• Communication Mining Overview
• Why is it important?
• How can it help today’s business and the benefits
• Phases in Communication Mining
• Demo on Platform overview
• Q/A
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfMalak Abu Hammad
Discover how MongoDB Atlas and vector search technology can revolutionize your application's search capabilities. This comprehensive presentation covers:
* What is Vector Search?
* Importance and benefits of vector search
* Practical use cases across various industries
* Step-by-step implementation guide
* Live demos with code snippets
* Enhancing LLM capabilities with vector search
* Best practices and optimization strategies
Perfect for developers, AI enthusiasts, and tech leaders. Learn how to leverage MongoDB Atlas to deliver highly relevant, context-aware search results, transforming your data retrieval process. Stay ahead in tech innovation and maximize the potential of your applications.
#MongoDB #VectorSearch #AI #SemanticSearch #TechInnovation #DataScience #LLM #MachineLearning #SearchTechnology
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
HCL Notes and Domino License Cost Reduction in the World of DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-and-domino-license-cost-reduction-in-the-world-of-dlau/
The introduction of DLAU and the CCB & CCX licensing model caused quite a stir in the HCL community. As a Notes and Domino customer, you may have faced challenges with unexpected user counts and license costs. You probably have questions on how this new licensing approach works and how to benefit from it. Most importantly, you likely have budget constraints and want to save money where possible. Don’t worry, we can help with all of this!
We’ll show you how to fix common misconfigurations that cause higher-than-expected user counts, and how to identify accounts which you can deactivate to save money. There are also frequent patterns that can cause unnecessary cost, like using a person document instead of a mail-in for shared mailboxes. We’ll provide examples and solutions for those as well. And naturally we’ll explain the new licensing model.
Join HCL Ambassador Marc Thomas in this webinar with a special guest appearance from Franz Walder. It will give you the tools and know-how to stay on top of what is going on with Domino licensing. You will be able lower your cost through an optimized configuration and keep it low going forward.
These topics will be covered
- Reducing license cost by finding and fixing misconfigurations and superfluous accounts
- How do CCB and CCX licenses really work?
- Understanding the DLAU tool and how to best utilize it
- Tips for common problem areas, like team mailboxes, functional/test users, etc
- Practical examples and best practices to implement right away
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
Full-RAG: A modern architecture for hyper-personalizationZilliz
Mike Del Balso, CEO & Co-Founder at Tecton, presents "Full RAG," a novel approach to AI recommendation systems, aiming to push beyond the limitations of traditional models through a deep integration of contextual insights and real-time data, leveraging the Retrieval-Augmented Generation architecture. This talk will outline Full RAG's potential to significantly enhance personalization, address engineering challenges such as data management and model training, and introduce data enrichment with reranking as a key solution. Attendees will gain crucial insights into the importance of hyperpersonalization in AI, the capabilities of Full RAG for advanced personalization, and strategies for managing complex data integrations for deploying cutting-edge AI solutions.
Essentials of Automations: The Art of Triggers and Actions in FMESafe Software
In this second installment of our Essentials of Automations webinar series, we’ll explore the landscape of triggers and actions, guiding you through the nuances of authoring and adapting workspaces for seamless automations. Gain an understanding of the full spectrum of triggers and actions available in FME, empowering you to enhance your workspaces for efficient automation.
We’ll kick things off by showcasing the most commonly used event-based triggers, introducing you to various automation workflows like manual triggers, schedules, directory watchers, and more. Plus, see how these elements play out in real scenarios.
Whether you’re tweaking your current setup or building from the ground up, this session will arm you with the tools and insights needed to transform your FME usage into a powerhouse of productivity. Join us to discover effective strategies that simplify complex processes, enhancing your productivity and transforming your data management practices with FME. Let’s turn complexity into clarity and make your workspaces work wonders!
UiPath Test Automation using UiPath Test Suite series, part 5DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 5. In this session, we will cover CI/CD with devops.
Topics covered:
CI/CD with in UiPath
End-to-end overview of CI/CD pipeline with Azure devops
Speaker:
Lyndsey Byblow, Test Suite Sales Engineer @ UiPath, Inc.
Pushing the limits of ePRTC: 100ns holdover for 100 daysAdtran
At WSTS 2024, Alon Stern explored the topic of parametric holdover and explained how recent research findings can be implemented in real-world PNT networks to achieve 100 nanoseconds of accuracy for up to 100 days.
Driving Business Innovation: Latest Generative AI Advancements & Success StorySafe Software
Are you ready to revolutionize how you handle data? Join us for a webinar where we’ll bring you up to speed with the latest advancements in Generative AI technology and discover how leveraging FME with tools from giants like Google Gemini, Amazon, and Microsoft OpenAI can supercharge your workflow efficiency.
During the hour, we’ll take you through:
Guest Speaker Segment with Hannah Barrington: Dive into the world of dynamic real estate marketing with Hannah, the Marketing Manager at Workspace Group. Hear firsthand how their team generates engaging descriptions for thousands of office units by integrating diverse data sources—from PDF floorplans to web pages—using FME transformers, like OpenAIVisionConnector and AnthropicVisionConnector. This use case will show you how GenAI can streamline content creation for marketing across the board.
Ollama Use Case: Learn how Scenario Specialist Dmitri Bagh has utilized Ollama within FME to input data, create custom models, and enhance security protocols. This segment will include demos to illustrate the full capabilities of FME in AI-driven processes.
Custom AI Models: Discover how to leverage FME to build personalized AI models using your data. Whether it’s populating a model with local data for added security or integrating public AI tools, find out how FME facilitates a versatile and secure approach to AI.
We’ll wrap up with a live Q&A session where you can engage with our experts on your specific use cases, and learn more about optimizing your data workflows with AI.
This webinar is ideal for professionals seeking to harness the power of AI within their data management systems while ensuring high levels of customization and security. Whether you're a novice or an expert, gain actionable insights and strategies to elevate your data processes. Join us to see how FME and AI can revolutionize how you work with data!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!SOFTTECHHUB
As the digital landscape continually evolves, operating systems play a critical role in shaping user experiences and productivity. The launch of Nitrux Linux 3.5.0 marks a significant milestone, offering a robust alternative to traditional systems such as Windows 11. This article delves into the essence of Nitrux Linux 3.5.0, exploring its unique features, advantages, and how it stands as a compelling choice for both casual users and tech enthusiasts.
GraphRAG for Life Science to increase LLM accuracyTomaz Bratanic
GraphRAG for life science domain, where you retriever information from biomedical knowledge graphs using LLMs to increase the accuracy and performance of generated answers
2. What is XML?
Extensible Markup Language
Extensible-Not fixed format like HTML
Meta language - Language for describing other languages
Enables you to define your own customized markup
Focus on what the data is
Simplified version of SGML
3. Why XML?
Richly structured documents could be used over the web.
Human readable and also easy to edit/view.
XML documents are language neutral.
Platform-independent.
4. Basic XML Rules
Xml is case sensitive
All start tags must have end tags
Elements must be properly nested
XML declaration is the first statement
Every document must contain a root element
Attribute values must have quotation marks
Certain characters are reserved for parsing
5. Differences between XML and HTML
Extensible Markup Language Hyper Text Markup Language
XML is designed to store the data HTML is designed to display the
data
XML focus on what the data is HTML focus on how data looks
XML allows us to define our own HTML has predefined set of tags
tags
XML is used to transport the data HTML is used to format and
display data
6. XML Benefits
XML improves the functionality of web technologies through the use
of a more flexible and adaptable means to identify information .
XML is a Meta language, Language that describes other languages.
7. XML Editors
Xml editor is a markup language editor with added
functionality to facilitate the editing of xml.
Xml editor should be able to
Add closing tags to your opening tags automatically
Force you to write valid xml
Verify your xml against a DTD
Verify your xml against a Schema
Color codes your xml syntax
8. Some of the professional xml editors are
EmEditor
XML Cook top
XML Pro
XML Spy
9. XML Tags
Xml tags are very similar to HTML , The difference is that xml
tags are not pre-defined like HTML
Example
<Composer> is an example for an opening tag, In XML all
opening tags must have closing tags, in this case the closing tag
would look like </Composer>.
10. Prolog
Prolog refers to the information that appears before the start tag
of the document or root element. It includes information that
applies to the document as a whole, such as character encoding,
document structure, and style sheets.
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href=“Book.xsl"?>
<!DOCTYPE catalog SYSTEM "catalog.dtd“>
11. XML Declaration
XML declaration typically appears as the first line in an XML
document. The XML declaration is not required, however, if used it
must be the first line in the document.
XML declaration in the document map consists
Version number
<?xml version="1.0"?>
This is mandatory. Although the number might change for future
versions of XML, 1.0 is the current version.
12. XML Declaration Con.
Encoding declaration
<?xml version="1.0" encoding="UTF-8"?>
This is optional. If used, the encoding declaration must
appear immediately after the version information in the
XML declaration.
13. XML Declaration Con.
Standalone declaration
<?xml version="1.0" encoding="UTF-8" standalone="YES"?>
This is optional. If used, the standalone declaration must appear last
in the XML declaration.
14. XML Syntax Rules
Tags are case sensitive
Each document must have a root
Closing tags are required
Values must be enclosed in quotation marks
Elements must be properly nested
Entities must be declared
16. XML Documents Must Have a Root
<Root>
<Child>
<Subchild>
</Subchild>
</Child>
</Root>
17. Closing Tags are Required
This is bad XML<p>
This is also bad<br>
<p>This is ok</p>
This is the shortcut for an empty tag<br/>
18. Values Must be in Quotation Marks
<student id=1234>Bad Student!</student>
<student id="1234">Good Student</student>
19. Comments in XML
Comments should not appear on the first line.
The string "--" (double-hyphen) is not allowed (as it is used to
delimit comments), and entities must not be recognized within
comments.
Syntax for writing comments in xml is similar to that of HTML.
<! -- This is a comment -->
20. Elements Must be Properly Nested
<tag1><tag2>Badly nested!</tag1></tag2>
<tag1><tag2>Looks good!</tag2></tag1>
22. Structure of XML con..
<?xml version="1.0"?>
<note>
<To>workshop</To>
<From>Trainer</From>
<Heading>Reminder</Heading>
<Body>Don't forget me this
weekend!</Body>
</note>
23. Types of XML Documents
Well-formed
Valid
Invalid
24. Well Formed XML
Well formed xml document does not need a DTD, but is must
confirm to the xml syntax rules.
Valid XML
Valid documents confirms not only to the syntax, but also to
the DTD.
Invalid XML
Neither it follows xml syntax rules nor DTD.
25. Well-Formed XML
Follows the XML syntax rules
<?xml version="1.0"?>
<course>
<name>Markup Languages</name>
<number>99999</number>
<college>New Generation</college>
<credits>4</credits>
</course>
26. Valid XML
Well-formed XML doc that conforms to a DTD.
<?xml version="1.0"?>
<!DOCTYPE course SYSTEM "courses.dtd">
<course>
<name>Markup Languages</name>
<number>9999-82</number>
<college>New Generation</college>
<credits>4</credits>
</course>
27. Invalid XML
Example
<?xml version="1.0"?>
<course>
<name>Markup Languages</name>
<number type=2>9999-82</number>
<college>New Generation</college>
<credits>4
</course>
28. What is DTD?
DTD (Document Type Definition) describes the structure of one
or more XML documents.
OR
Helps in eliminating errors when creating or editing XML
documents.
29. Building Blocks of DTD
Elements
Attributes
Entities
PCDATA
CDATA
30. Declaring Elements in a DTD Cont.
<!ELEMENT name ANY>
Creates an element which can contain both Plain text and tags
<!ELEMENT name (#PCDATA)>
Creates an element which can contain plain text but NOT other
tags
<!ELEMENT name EMPTY>
Creates an empty element
31. Declaring Elements in a DTD Cont.
<!ELEMENT name (child1, child2)>
Creates an element with children which must be present in the
order listed
<!ELEMENT name (child1 | child2)>
Creates an element with options
Either child1 or child2 must appear, but not both.
32. Declaring Elements in a DTD Cont.
<!ELEMENT name (child)?>
Creates an element with a child which must appear zero or one
times
<!ELEMENT name (child)+>
Creates an element with a child which must appear one or more
times
<!ELEMENT name (child)*>
Creates an element with a child which may appear zero or more
times
33. Declaring Attributes in a DTD
General form
<!ATTLIST Target-element name Type Default>
Target-element is the element to which the attribute applies
Name is the attribute name type is what type of data the attribute
contains
Default is whether the item is required
34. Attribute-type can be one of the following
Type Description
CDATA The value is character data
(en1|en2|..) The value must be one from an
enumerated list
ID The value is a unique id
IDREF The value is the id of another
element
IDREFS The value is a list of other ids
NMTOKEN The value is a valid xml name
NMTOKENS The value is a list of valid xml
names
ENTITY The value is an entity
ENTITIES The value is a list of entities
NOTATION The value is a name of a notation
xml The value is a predefined xml
value
35. Default-value can be one of the following
Value Explanation
value The default value of the attribute
#REQUIRED The attribute is required
#IMPLIED The attribute is not required
#FIXED value The attribute value is fixed
36. Example
<?xml version="1.0"?>
<!DOCTYPE Parts [
<!ELEMENT Parts (Title?, Part*)>
<!ELEMENT Title (#PCDATA)>
<!ELEMENT Part (Item, Manufacturer, Model, Cost)+>
<!ATTLIST Parttype (Computer|Auto|Airplane) #IMPLIED>
<!ELEMENT Item (#PCDATA)>
<!ELEMENT Manufacturer (#PCDATA)>
<!ELEMENT Model (#PCDATA)>
<!ELEMENT Cost (#PCDATA)>
]>
38. XML-Entities
An entity is a name that represents a special character, additional text or
a file.
There are two kinds of entities
General entities
Parameter entities
40. XML-Entities cont..
General entities: Used in the context of documents.
References to general entities start with & and end with;
Parameter entities: Used in a document’s DTD.
References to parameter entities start with % and end with;
41. Example
<?xml version="1.0"?>
<!DOCTYPE Film [
<!ENTITY COM "Comedy">
<!ENTITY SF "Science Fiction">
<!ELEMENT Film (Title+, Genre, Year)>
<!ELEMENT Title (#PCDATA)>
<!ELEMENT Genre (#PCDATA)>
<!ELEMENT Year (#PCDATA)>
]>
<Film>
<Title id="1">Tootsie</Title>
<Genre>&COM;</Genre>
<Year>1982</Year>
<Title Id="2">Jurassic Park</Title>
<Genre>&SF;</Genre>
<Year>1993</Year>
</Film>
43. Internal DTD
If a DTD is used only by a single XML document, it can be put directly
in that document.
Syntax
<! DOCTYPE Root-Element [DTD Specification]>
44. Example
<?xml version="1.0"?>
<!DOCTYPE Note [
<!ELEMENT Note (To, From, Heading, Body)>
<!ELEMENT To (#PCDATA)>
<!ELEMENT From (#PCDATA)>
<!ELEMENT Heading (#PCDATA)>
<!ELEMENT Body (#PCDATA)>
]>
<Note>
<To>Data1</To>
<From>Data2</From>
<Heading>Reminder</Heading>
<Body>Don't Forget Me This Weekend</Body>
</Note>
45. External DTD
External DTD is one that resides in a separate document. It refers
saving the DTD as a separate file with extension .dtd and then
referencing the DTD file within the XML document.
Syntax
<! DOCTYPE Root-Element SYSTEM "File-Name">
46. Example
<?xml version="1.0"?>
<!DOCTYPE note SYSTEM "note.dtd">
<note>
<to>Data1</to>
<from>Data2</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
And this is the file "note.dtd" which contains the DTD
<!ELEMENT note (to, from, heading, body)>
<!ELEMENT to (#PCDATA)>
<!ELEMENT from (#PCDATA)>
<!ELEMENT heading (#PCDATA)>
<!ELEMENT body (#PCDATA)>
47. What's wrong with DTD?
DTD’s use old SGML style definitions
DTD are not written in XML
Only defaults for attributes, not for elements
No support for Namespaces
49. XML schema language specification shall
Be prepared quickly.
Be precise, concise, human-readable.
50. Formatting XML using CSS
What is CSS?
CSS stands for Cascading Style Sheets.
Styles define how to display (XML,HTML)elements.
External Style Sheets can save a lot of work.
External Style Sheets are stored in CSS files.
51. XML and CSS
XML and CSS simplify document creation. CSS, on the other
hand, makes it possible to present that document in a
browser.
54. Formatting XML using XSLT
What is XSLT?
Stands for XSL Transformations
Most important part of XSL
Transforms an XML document into another XML document
Uses XPath to navigate in xml documents
W3C Recommendation.
56. XSLT uses XPath to define parts of the source document that
should match one or more predefined templates. When a
match is found, XSLT will transform the matching part of the
source document into the result document.
57. XML Technologies
What Is XHTML?
Stands for Extensible Hypertext Markup Language
Almost identical to HTML 4.01
Stricter and cleaner version of HTML
Defined as an XML application
W3C Recommendation
58. XHTML – Why?
Combination of HTML and XML
Consists of all the elements in HTML ,Combined with the
strict syntax of XML
59. What is XSL?
XSL stands for Extensible Style Sheet Language. The World
Wide Web Consortium (W3C) started to develop XSL
because there was a need for an XML-based Style sheet
Language.
60. XSL consists of three parts
XSLT - A language for transforming XML documents
XPath – A language for navigating in XML documents
XSL-FO - A language for formatting XML documents
61. Comparing CSS and XSLT
CSS XSLT
Simple to use, and suitable for Complex to use
simple documents
Can’t reorder, add, delete or Can re order, add, delete
perform operations on elements elements
Uses less memory Uses more memory and
processor power
Does not use XML syntax Follows the XML syntax
62. Other Related Technologies
CSS - Cascading Style Sheets for display.
XSL - Extensible Style sheet Language for display.
XSLT - XSL Transformations.
Xpath - Allows XML files to include other content.
Xlink - Allows XML files to link to other XML files.
Xquery - Allows XML files to query databases.
63. Conclusion
XML is a self-descriptive language
XML is a powerful language to describe structure data for
web application
XML is currently applied in many fields
Many vendors already supports or will support XML