Results 1 to 8 of 8

Thread: What are the physical and logical format in XML?

  1. #1
    Join Date
    Jul 2010
    Posts
    38

    What are the physical and logical format in XML?

    When we create a document using one of the many applications for word processing or page layout, usually directly specify all of these features: we choose the character for a text or a paragraph, change the alignment, we highlight certain words in bold or Italic, including in the text figures and graphs. I am knowing only this much about the physical and logical format. I am here to know more about the physical and logical format in XML. Along with that it would be better if you provide some other information like structure and presentation. Also I am very much curious to know about the Markers non-pure. I know that there are multiple queries in one post, but since they are closely related, I thought to post everything here. Just saving your time as well as mine.

  2. #2
    Join Date
    Jan 2009
    Posts
    99

    Re: What are the physical and logical format in XML?

    To enable the processor to validate a document from a grammatical point of view, you must provide a series of written statements by using special markers. These can be included directly in the declarative main <! DOCTYPE> or be stored in a separate file with a .Dtd, called Document Type Declaration File. This technique is very convenient when a number of documents has been written with the same language and the same grammar. We have written about language and grammar, it is easy to understand, at this point, developers could be defined as two languages are very similar if not almost identical, especially when referring to a very specific context, however, inventing rules different grammatical. Think, for example, a language to produce labels for audio cassettes or CDs. Eventually the markers would be more or less the same - not all programmers have great imagination - but the grammatical structure may be very different. All markers DTD begin with the characters "<" followed by a name that defines the type of declaration, and ending with the character ">". You can also include a comment in the declaration simply by enclosing it between two pairs of dashes, as follows:
    <! ELEMENT ITEM (# PCDATA) - voice of a list of ingredients ->

  3. #3
    Join Date
    Jan 2009
    Posts
    140

    Re: What are the physical and logical format in XML?

    When we create a document using one of the many applications for word processing or page layout, usually directly specify all of these features: we choose the character for a text or a paragraph, change the alignment, we highlight certain words in bold or Italy, including in the text figures and graphs. You think then that the program to store all this information by associating the various components of the document. For example, we choose to align all the titles on the left, or use a barely legible note to all the footnotes. The program will acquire the information and will tie in somehow to the item concerned. But what if, once the document changed your mind? What do you do that is if at some point we decide that all securities must be centered and not aligned to the left? Until some time ago we had to change every single instance of that item by hand, or at least write a specific macro. Today, most word processors allow us to assign each document a part of our style, which is a profile that defines all the attributes for a certain type of item. For example, we require that tier are rendered in 'Verdana', bold, 12 point, aligned left. The moment we decide to use a different character, we should not do is change the style and the program would think to change, automatically, all the corresponding certificates.

  4. #4
    Join Date
    Dec 2008
    Posts
    161

    Re: What are the physical and logical format in XML?

    What we did was to give a name, a meaning to every part of our document, so as not to be forced to directly specify the characteristics of each word, paragraph or section. Ie we have defined the categories for items. An element is therefore now a component of the document that has a purpose, a logic that is fundamentally disconnected from the way then you decide to do it. For example, the caption of a figure will be positioned close to the corresponding figure, but what matters is that it serves to describe it in some way. If then it will be placed above or below, rendered in italics or bold font with a large or small and whether or not contain any numbers, this does not change the essence of the element in question. And so a title, a side note, a listing, chart, and so on. Then draw a structured language to create documents in the broadest sense of the term, means a set of items, each with well-defined attributes and specify somehow the syntax and semantics. Conversely, the representation and behavior of various elements can be left to the developer who, through special tools, define this information in the document itself or in one or more external files written using special languages.

  5. #5
    Join Date
    Dec 2008
    Posts
    183

    Re: What are the physical and logical format in XML?

    HTML is suffering from problems of consistency, often made worse by improper use of language. A classic case is the use of tables without a frame as a way to build pages in multiple columns. In HTML we have three types of markers. Some define a certain element in a 'pure', identifying only the logical or factual. An example is <TITLE>, the marker that identifies the title of the page. Other uniquely identify a certain element, but allow the writer to determine if they wish, even some of the display characteristics of that element. <P> For example, the marker that identifies a generic section. In fact, if we use the ALIGN parameter, we can decide whether to align the paragraph to the right or left, center or justified. Finally, there are markers whose purpose is closely related to the representation of the contents of a page or part of the text. A classic example is <FONT>, which allows you to specify the font used to display a block of text.

  6. #6
    Join Date
    Apr 2008
    Posts
    193

    Re: What are the physical and logical format in XML?

    In summary, an element has four characteristics. The first concerns the syntax, that is as it is written, which has parameters, that value can be taken and so on. By definition in an XML element consists of everything that is included between the start tag and end tag, including markers, or by an empty mark. The second concerns the semantics or what it means, what it represents, and therefore such relationships has with other markers. For example, where it is proper to place that particular item in a document and where it can not be present. The third relates to the representation, or how it is rendered graphically on screen or on paper. The fourth relates to the behavior. This last feature makes sense only for the dynamic elements, those that can interact with the user or external events that may also arrive from the network. For example, a button can be used to open another window with a list of available options, or a chart on shares listed on the Stock Exchange could be automatically updated every five minutes.

  7. #7
    Join Date
    Mar 2008
    Posts
    232

    Re: What are the physical and logical format in XML?

    But who owns these properties? Take an extreme case, like that of a pure scorer which is the title of the page, where the language does not provide more than a mark without additional guidance, and let us ask ourselves some questions. Can a title be present within a paragraph? There may be two titles on the same page? How and where to go see the corresponding text? The title must also appear in the drag bar of the browser window or not? In the code there is nothing that helps the browser to make these decisions. The fact is that, as we have repeatedly pointed out, most of HTML markup has syntax, semantics, representation and default behavior. Or at least there is a default for each of these characteristics and for each individual item. The browser should know how to interpret the marker, as shown, how to handle it, although in reality what happens is that every browser is a bit 'of its head, and in fact the same page is often rendered differently by different browsers.

  8. #8
    Join Date
    Mar 2008
    Posts
    192

    Re: What are the physical and logical format in XML?

    But who owns these properties? Take an extreme case, like that of a pure scorer which is the title of the page, where the language does not provide more than a mark without additional guidance, and let us ask ourselves some questions. Can a title be present within a paragraph? There may be two titles on the same page? How and where to go see the corresponding text?
    To avoid this, it became more and more use of markers non-pure and programming languages such as JavaScript pages directly to specify the characteristics relating to the representation and behavior of various elements. This admixture of the various features of an item within the file made it essentially unreadable and very difficult to maintain HTML source. The invention of the style parameters did not solve the problem. As described in the box structure and presentation, a style sheet is a file that you specify in advance how it represented an element characterized by a certain marker. For example, we can decide once and for all the font and text color to use for the title, forcing the browser to use our definition instead of the default. Although both programs have JavaScript style sheets can be stored in a separate file, many have gotten into the habit of including these instructions directly into your pages, making it unmanageable code. But even where it has maintained a modicum of discipline, the situation is not so cheerful. The fact is that the style sheet used to define the default HTML representation only markers, or more of subclass to create multiple versions of the same element. For example, we can define a paragraph and a paragraph P.piccolo P.grande, but we can not define new elements called <ACCORDO> or <Note>. We are forced to simulate using existing markers, which is not always possible. A classic example is the mathematical formulas that are difficult to be realized with the Html classic, heavily using CSS (Cascading Style Sheets).

Similar Threads

  1. Need information about physical and logical address.
    By JErastus in forum Networking & Security
    Replies: 5
    Last Post: 22-07-2011, 10:10 PM
  2. What is a CPU thread / logical core is?
    By Laila in forum Motherboard Processor & RAM
    Replies: 4
    Last Post: 28-01-2011, 02:00 AM
  3. Use of Bitwise Logical Operators : C
    By Gavyn in forum Software Development
    Replies: 4
    Last Post: 06-02-2010, 04:25 PM
  4. Replies: 4
    Last Post: 02-04-2009, 08:49 AM
  5. Installed Physical Memory/Total Physical Memory
    By SurnameS in forum Vista Setup and Install
    Replies: 1
    Last Post: 06-06-2008, 02:52 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,710,847,964.61435 seconds with 17 queries