Thursday, February 20, 2020

XML-Based Project Assignment Example | Topics and Well Written Essays - 3000 words

XML-Based Project - Assignment Example Thereafter, using the transformation language XSLT, the information from within the XML document was to be extracted and presented differently depicting different scenarios. Oxygen XML Editor was used for the project. 3. Discussion A total of 7 webpages were taken from the Internet for the project. This section presents the reasons that motivated the various decisions that were taken during each stage of the project. 4. The Material Chosen The site is an informational site that lists down the companies falling in different application areas and where jobs can be hunted. The material chosen for the project were taken from the same site so there is a hierarchy in between the different web pages. Furthermore, the content on each page also follows a hierarchal structure that can be translated into relations. This would facilitate the markup language. The selected webpages covered the most commonly used elements of informational sites (i.e. headings, text, links, paragraphs, lists, etc.). This presented an opportunity of learning to encode the different elements into XML. Besides possessing a hierarchal structure of the selected pages, a repeating structure is also present in each page. This facilitates the marking up process. 5. The Document Analysis The first task was to analyze the documents and identify the manner and relation in which the data was presented in them. It was found that one page pre sented a list of companies categorized into their respective application areas. While the remaining 6 pages presented detail of 6 of these companies. So the relationship between the 7 documents was identified as shown in Figure 1. Figure 1 Tree Structure of Pages Within each of these pages, a pattern was found in the way the information was presented. Within the home page, there were categories, and list of companies in each category. Figure 2 Structure of Home Page In the remaining 6 pages, information regarding a company was presented under the related headings which exhibited a pattern. Some headings were common in all the 6 companies. Figure 3 Common Structure of About Pages Thus, the information from all the 7 pages was united and a tree structure was formed that represented the way portions of information were related to one another by the relationship of root, parent, child and siblings. Figure 4 Unified Tree Structure Once the document tree was identified, the document was m arked up accordingly into an XML file (guide.xml) where the leaves of the tree were presented as child elements with no children. Figure shows the tree structure of the XML formed. Figure 5 XML Tree Structure Once the skeleton XML was formed, the data was filled in. 6. Encoding Scheme The next task was to validate the XML against an encoding scheme. This is important as it defines the rulings for the structure of XML that all inputs must adhere to. Any entry made that is not in accordance to the scheme set, makes the XML invalid and it will not remain well-formed. Two options were present to validate the defined XML document against; XML DTD or XML Schema. Although both are standardized (so developers can understand them equally easily) and both the options deliver the same functionality yet there is a difference in their definition. DTD has the lowest definition of data as CDATA

Tuesday, February 4, 2020

Streptococcus pneumoniae Research Paper Example | Topics and Well Written Essays - 1250 words

Streptococcus pneumoniae - Research Paper Example The species name is Streptococcus pneumoniae. Luis Paster discovered the organism in 1800’s. At that time he named it Micrococcus Pasteur. In 1886 and 1920, the name of the organism changed to Pseumococcus and Diplococcus pneumoniae respectively. Finally, in 1974 the micro-organism name became the Streptococcus pneumoniae (Toder, 2012). The micro-organism is Gram-positive, non-spore forming, non-motile and lancet-shaped. Predominantly, the micro-organisms occur in pairs. However, they can form short and straight chains. The micro-organism has a capsule that serves as a protective layer to antibiotics. In addition, the capsule stains positive during Gram staining process. The diameter of individual cells measures 0.5 and 1.25 micrometers. The cell wall of Streptococcus pneumoniae comprises of peptidoglycan and teichoic acid. The peptidoglycan component of the cell wall responds positively to Gram staining technique. This technique identifies and distinguishes different species in the genera streptococci. Steptococcus pneumoniae lacks the catalase activity. In addition, they are facultative anaerobes and metabolizes through lactic acid fermentation (Toder, 2012). There are more than 90 highly antigenic capsular serotypes differentiated in the types of presenting antigen in the capsule. Antibodies to specific types of serotypes are protective. The features responsible for pathogenic nature of organism are innumerable. These include presence of pro-inflammatory cell wall components (C-polysaccharides and F-antigen), IgA2 protease, pneumolysin, adhesins, and enzymes that damages tissue. Pneumolysin is a cytotoxin that stimulates immune response and adhesin bind to cell surface carbohydrates. Some of examples of adhesin include choline binding protein A, and the pneumococcal surface protein A [PspA]. The micro-organism incorporates the genetic material of other micro-organism through a process of transformation. The presence of F-antigen helps in acquiring of genetic material from different sources. Therefore, it means that the organism can change from one serotype to the other. This is quite significant to the development of resistance to antibi otics in the organism. It increases the virulence of the organism. The increasing severity of micro-organism is attributed to its ability to assume different shapes. When the organism acquires genetic material with genes of resistance to antibiotics, it replicates to resist the host defense mechanism. The virulence in these micro-organisms is associated with the capsular material. The capsule resists the hosts’ phagocytosis mechanism thereby surviving and multiplying in the host tissues. The virulence factors of the micro-organism include surface protein A. autolysin, and immunoglobulin A (Toder, 2012). Streptococci pneumoniae are found in the host’s upper airways, nose, or throat. They are part of normal flora in human beings. However, the organism becomes infectious depending on the immunity status of the host. In the immune comprised host, they cause some of the deadly diseases that include pneumonia, meningitis, sinusitis, acute otitis media, peritonitis, and bacte remia. These are diseases of upper and lower respiratory tract. When in the host tissues, pneumococcal undergoes genetic changes that convert the colonies from opaque to transparent ones. However, the rate is very low in number; it is 1 in 105 micro-organisms. The transparent colony is best adapted for proliferation in the nasopharynx. The opaque colonies thrive very well in the host’s blood. The opaque colonies increase their virulence during systemic infections. These differences in