Showing posts with label XML. Show all posts
Showing posts with label XML. Show all posts

22 January 2008

Using XML with WSDL

Service Oriented Architecture SOA - Using XML with WSDL

WSDL uses XML to define messages. XML has a tagged message format. This is shown in the above figure. The tag has the value of Burnsville. And is the ending tag indicating the end of the value of city. Both the service provider and service consumer use these tags. In fact, the service provider could send the data shown at the bottom of this figure in any order. The service consumer uses the tags and not the order of the data to get the data values. More on the use of XML tags and a comparison of XML to using fixed record formats can be found in chapter 3 of Web Services and Service-Oriented Architectures: The Savvy Manager's Guide.

Source: http://www.service-architecture.com/web-services/articles/web_services_explained.html

10 October 2007

Beginning XML - Part IV(Basic Schema Of A DTD)

Beginning XML - Part IV(Basic Schema Of A DTD) by Amrit Hallan

In the following two articles, I'm going to wrap up my pondering on XML. We'll explore the basic schema of a DTD, and the future of XML.

Let's recall that some basic features of XML are:

· XML can keep data separated from your HTML · XML can be used to store data inside your HTML documents · XML can be used as a format to exchange information · XML can be used to store data in files or in databases

The power and beauty of XML is that it maintains the separation of the user interface from structured data, allowing the seamless integration of data from diverse sources. Customer information, purchase orders, research results, bill payments, medical records, catalog data and other information can be converted to XML on the middle tier, allowing data to be exchanged online as easily as HTML pages display data today. Data encoded in XML can then be delivered over the Web to the desktop. No retrofitting is necessary for legacy information stored in mainframe databases or documents, and because HTTP is used to deliver XML over the wire, no changes are required for this function.

Once the data is on the client desktop, it can be manipulated, edited, and presented in multiple views, without return trips to the server. Servers now become more scalable, due to lower computational and bandwidth loads. Also, since data is exchanged in the XML format, it can be easily merged from different sources - ok, this is the aspects that personally interests me. The portability of data. Database programmer all over the world face unlimited problems while tackling with data of multifarious formats. If formats cease to matter, anybody, anywhere, on whichever machine, can view and manipulate the data.

Beginning XML - Part III (Building Blocks)

Beginning XML - Part III (Building Blocks) by Amrit Hallan

XML documents (and HTML documents) are made up by the following building blocks:

· Elements · Tags · Attributes · Entities · PCDATA · CDATA

This is a brief explanation of each of the building blocks:

Elements

Elements are the main building blocks of both XML and HTML documents.

Examples of HTML elements are "body" and "table". Examples of XML elements could be "my-schedule" and "date". Elements can contain text, other elements, or be empty. Examples of empty HTML elements are "hr", "br" and "img".

Tags

Tags are used to markup elements.

A starting tag like mark up the beginning of an element, and an ending tag like mark up the end of an element.

Examples:

A body element: body text in between. A message element: some message in between

Attributes

Attributes provide extra information about elements.

Attributes are placed inside the start tag of an element. Attributes come in name/value pairs. The following "img" element has an additional information about a source file:



The name of the element is "img". The name of the attribute is "src". The value of the attribute is "computer.gif". Since the element itself is empty it is closed by a " /".

PCDATA

PCDATA means parsed character data.

Think of character data as the text found between the start tag and the end tag of an XML element.

PCDATA is text that will be parsed by a parser. Tags inside the text will be treated as markup and entities will be expanded.

CDATA

CDATA also means character data.

CDATA is text that will NOT be parsed by a parser. Tags inside the text will NOT be treated as markup and entities will not be expanded.

Entities

Entities as variables used to define common text. Entity references are references to entities.

Most of you will known the HTML entity reference: " " that is used to insert an extra space in an HTML document. Entities are expanded when a document is parsed by an XML parser.

The following entities are predefined in XML:

Entity References Character

<> means "greater then - > " & means "ampersand - & " " means "quotes - " " &apos means "apostrophe - ' "

Since, right now we do not plan to go very deep into XML coding, we'll leave the data definition here, and move the future implication of XML.

Extensible Markup Language (XML), which complements HTML, promises to increase the benefits that can be derived from the wealth of information found today on IP networks around the world. This is because XML provides a uniform method for describing and exchanging structured data. The ability to describe structured data in an open text-based format and deliver this data using standard HTTP protocol is significant for two reasons. XML will facilitate more precise declarations of content and more meaningful search results across multiple platforms. And once the data is located it will enable a new generation of viewing and manipulating the data.

Consider an industry where interchange of data is vital, such as banking. Banks use proprietary systems to track transactions internally, but if they use a common XML format over the Web, then they'd be able to describe transaction information to another institution or an application (like Quicken or MS Money). Of course, they'd also be able to present the data in a pretty Web page. FYI: This markup does exist. It's called OFEX, the Open Financial Exchange format.

Under certain circumstances, if IE 4 on the PC comes across a tag with the proper contents, a function is started that gives a user the opportunity to update installed software. If you're using Windows 98, it's possible that you've seen this process in action without knowing it was an XML application.

Beginning XML - Part II (XML Style Language)

Beginning XML - Part II (XML Style Language) by Amrit Hallan

In order to work with XML, it becomes necessary to know a little about the XML Style Language.

XSL provides for two forms of output flow objects. The first set is the set of displayable objects defined for HTML, which allows XML data to be mapped into HTML-aware browsers. The second set is based on the DSSSL-O specifications (Document Style Semantics and Specification Language - Online), and allows XML data to be mapped to DSSSL-based text formatters, such as JADE. Both sets of flow objects are described using XML markup.

XSL defines a set of rules which define a set of actions that are to be associated with various patterns of target elements. The selection of target elements can be qualified in a number of ways. For example, XSL allows different rules to be applied to the same element type dependent on what its ancestors, siblings or contents are. In addition, processing rules can be specified for application when particular attribute values have been associated with an element, or when the element has specific contents. This means that specific rules can be applied to elements with unique identifiers or identified content types (classes).

XSL allows for the definition of sharable sets of style rules. A style rule applies a set of processing characteristics to a target element without creating a new flow object. Where the same style is to be applied to a number of elements, a uniquely named style can be defined for future reference. This provides XSL with the facilities for creating cascading sets of style sheet specifications similar in effect to those defined in the more limited Cascading Style Sheet specification used to process HTML documents.

XSL style sheets can use the ECMAScript programming language to evaluate the contents of elements or attributes prior to or during the creation of flow objects. ECMAScript is a variant of JavaScript and Jscript that has been formally defined by the European Computer Manufacturers Association. It allows tools containing a Java Virtual Machine to process data contained within an XML document. The language has been designed to support only a limited set of processing side-effects to ensure that evaluation cannot inhibit the progressive rendering of large documents.

Now coming back to XML, it was originally developed to allow structured documents of the type typically encoded in SGML to be delivered over the Internet as an integrated part of the World Wide Web of documents. Typically these documents require the specification of element types over and above those permitted in HTML (e.g. specific elements for parts number and other forms of article identification, prices and other forms of calculable measurements, and special classes of displayable text such as health warnings and controlled task lists). XML allows users to define their own sets of document elements and describe how each of these elements should be displayed on a screen in conformance with the supplier's house style.

One area where XML is anticipated to be particularly important is in the area of electronic commerce.

Traditional mechanisms for electronic data interchange (EDI) are based on the interchange of messages between the computer systems of two or more businesses. Each message has to be decoded before its contents can be processed or presented to users. Web-based commerce has, by contrast, been based on the concept of completing an HTML form and then posting the results back to the server for processing, without any details of the transaction being retained by the party completing the form.

XML-coded files are, by their nature, ideal for storing in databases. Because XML files are both object-orientated and hierarchical in nature they can be adapted to virtually any type of database, though care sometimes needs to be taken to ensure that enough structural data is retained in the database to reconstruct the original file.

Data stored using non-XML notations will need appropriate application software to process it, but the XML-coded file will correctly identify where each piece of such data belongs in the completed document and where it has been stored prior to use.

By storing data in the clearly defined format provided by XML you can ensure that your data will be transferable to a wide range of hardware and software environments. New techniques in programming and processing data will not affect the logical structure of your document's message. If more detail needs to be added to the file all you need to do is to update the model and then add new markup tags where required in the document instance. If a completely new style is required then the existing document model can be linked to the new one to provide automatic updating of document structures.

Beginning XML - Part 1 (An Introduction)

Beginning XML - Part 1 (An Introduction) by Amrit Hallan

Coming straight to the point, XML stands for EXtensible Markup Language. As the name suggests, it is a language that can be molded according to the need of the hour. Personally, I don't think calling it a language is justified, but I fanatically follow the ordinance of the techie Gurus, and if they say it is a language, then it is a language.

As is the case with the famous HTML, XML too is a markup language, but its main power, unlike HTML, lies in the ability to describe data without harassing the over-worked server. Since most of the work is done on the client's machine (the person who is running the browser), there is less strain on the server.

It uses DTDs (Document Type Definitions) to properly define and organize data. But the presence of DTDs is not mandatory, and their absence does not hinder the performance of the web page.

The most interesting thing I have found in XML is, the tags are not pre-defined - you can create your own tags and use them as and when required. XML specifies neither semantics nor a tag set. In fact XML is really a meta-language for describing markup languages. In other words, XML provides a facility to define tags and the structural relationships between them. Since there's no predefined tag set, there can't be any preconceived semantics. All of the semantics of an XML document will either be defined by the applications that process them or by style-sheets.

XML allows users to:

· bring multiple files together to form compound documents · identify where illustrations are to be incorporated into text files, and the format used to encode each illustration · provide processing control information to supporting programs, such as document validators and browsers · add editorial comments to a file.

It is important to note, however, that XML is not:

· a predefined set of tags, of the type defined for HTML, that can be used to markup documents · a standardized template for producing particular types of documents.

XML was not designed to be a standardized way of coding text: in fact it is impossible to devise a single coding scheme that would suit all languages and all applications. Instead XML is formal language that can be used to pass information about the component parts of a document to another computer system. XML is flexible enough to be able to describe any logical text structure, whether it be a form, memo, letter, report, book, encyclopedia, dictionary or database.

The primary goal of XML is to enable SGML-coded data to be served, received, and processed on the Web in the way that is as easy as that currently made possible by use of the fixed SGML tag set provided by HTML. Ok, SGML means Standard Generalized Markup Language. SGML was designed in the 1980's as a tool to enable technical documentation and other forms of publishable data to be interchanged between authors, publishers and those responsible for the production of printed copies of data sets. By providing a formal definition of the component parts of a publishable information set, SGML made it possible to verify the correct transmission and receipt of interchanged data sets. It was soon found that these techniques are applicable in areas other than those directly related to publications. For example, SGML is often used as a neutral data format when moving data between databases as part of multinational projects.

XML has been designed for ease of implementation and for interoperability with both SGML and HTML. Unlike early versions of SGML and HTML, XML has been based from the very start on the ISO 10646 Universal Multi-Octet Coded Character Set (UCS, which includes the codes that make up the Unicode character set) so that it can be used in all major trading nations.

XML (eXtensible Markup Language): An Overview

XML (eXtensible Markup Language): An Overview by Phillip Kimpo Jr.

As web developers know all too well, basic HTML (HyperText Markup Language) doesn't provide any structure to Web pages, and the formatting is mixed with the content. To allow Web pages to be structured for automated processing (e.g. electronic commerce), the World Wide Web Consortium (W3C) developed an enhancement to HTML. The result were two new languages; one was XSL (eXtensible Style Language), and the other was XML (eXtensible Markup Language), a system for defining, validating, and sharing document formats on the Web.

XML is best known to many bloggers and Netizens as RSS (Rich Site Summary/Really Simple Syndication), which is actually a lightweight XML format used to share headlines and blog feeds.

History

The W3C, an organization devoted to developing the Web and standardizing protocols, formed an XML Working Group chaired by Jon Bosak of Sun Microsystems in 1996. Several key industry players who were also included in the working group were Adobe, Hewlett-Packard, Microsoft, Netscape, and Fuji Xerox.

The group published a working draft for XML in November of the same year. Two years later, the W3C announced the release of the XML 1.0 specification.

The year 1999 found the release of two W3C Recommendations on XML. The first was entitled Namespaces on XML, and the other was Associating Stylesheets with XML documents. In January of 2001, the Internet Engineering Task Force (IETF) released a Proposed Standard on XML Media Types.

Profile

XML is an open, human-readable text format derived from the Standard Generalized Markup Language (SGML). Originally meant for large-scale electronic publishing, XML is now being used in the exchange of various types of data on the Web and elsewhere. It is also becoming a language of choice for communication between application programs.

The XML Working Group's design goals (taken from the W3C website) for XML were:

XML shall be straightforwardly usable over the Internet. XML shall support a wide variety of applications. XML shall be compatible with SGML. It shall be easy to write programs that process XML documents. The number of optional features in XML is to be kept to the absolute minimum, ideally zero. XML documents should be human-legible and reasonably clear. The XML design should be prepared quickly. The design of XML shall be formal and concise. XML documents shall be easy to create. Terseness in XML markup is of minimal importance.

The markup language describes XML documents, which are a class of data objects. Moreover, XML also describes the behavior of software modules called XML processors. These are used to read XML documents and provide access to their content and structure.

Syntax

Those familiar enough with HTML will find XML syntax a lot similar. However, don't assume that coding in XML is painlessly easy -- XML is stricter than HTML, and sloppy HTML coders will do well to remember that. Several reminders when coding in XML:

All elements must have a closing tag. All elements must be properly nested. All tags are case sensitive. All attribute values must be enclosed in quotation marks.

What is XML Schema?

What is XML Schema? by Jim Pretin

It used to take me 10 minutes to design a web site. When I began designing web sites back in 1996, the process was very simple. I would ask the person who had requested the web site to put all of their content into a Microsoft Word file and email it to me. I would copy and paste that content into FrontPage or a text editor, insert some HTML tags to create the layout, add some graphics for style and I was finished.

Wireless technology put the kibosh on my plan to make a decent living working 30 minutes per day for the rest of my life. Beginning in 1998 or 1999, every wireless electronic gadget under the sun now came equipped with full access to the internet and email. Web browsers and email client software were installed on laptops, palm tops, cell phones, and computer screens in automobiles, to name a few.

The platforms and web browsers being used on wireless products are different from an ordinary desktop PC. These new systems are not fully compatible with many elements of the HTML programming language. As a result, websites created exclusively with HTML are often invisible or inaccessible to the wireless user.

The programming community responded by creating cross-platform compatible languages and specifications for creating web sites so that all sites could be viewed equally, or at least close to equally, on all web browsers. A language called XML was created to define data without telling the browser how to display it. HTML forced the browser to display data a certain way. XML defined data without telling the browser how to display it because XML was a simple text file. Thus, data created with XML could be viewed on any machine, computer, or browser. Then, specifications such as XHTML and XSL were developed in order to turn XML files into web pages that had style and structure, and more importantly, could be viewed and interpreted across all platforms, wireless or not.

Now that you understand how and why web design has changed, you are ready to learn about the main topic of this article, XML Schema. XML Schema is a specification that enables a programmer to describe the structure of an XML document. Programmers used to rely on Document Type Definition (DTD) to structure their XML documents, but XML Schema is now seen as the permanent replacement for DTD.

XML Schema was initially introduced by Microsoft, and was later endorsed and adopted by the World Wide Web Consortium (W3). XML Schemas ensure that data can be communicated in a format that is universal. For example, different countries use different formats to display the date. Some countries put the month first, others put the day first, and some put the year first. The XML Schema for date requires that all dates be in YYYY-MM-DD format. Thus, everyone viewing XML data knows what the data is because they know it is written in XML Schema.

XML Schema has a lot of built-in data types for defining data. To define data, XML Schema uses attributes. XML Schema attributes are somewhat similar to HTML attributes in that they are included within a tag, and the attribute further defines the tag. With HTML, an image tag would have a source attribute to provide the name of the file that contains the image to be displayed. Another example of an HTML attribute would be an alignment attribute within a paragraph tag that stipulates whether the paragraph should be aligned to the left or right. Examples of XML Schema attributes for describing data are string, decimal, boolean, integer, date, and time.

One of the most important features of XML Schema is that it is replete with many different built-in restrictions that can be imposed on all data so that data is consistently displayed a certain way or presented in a certain format. Using XML Schema restrictions, a programmer can impose limits on upper or lower bounds for ranges of numbers, the length of numbers or the length of lists of items, and XML Schemas can even be used to define how white space is handled (tabs, line feeds, etc.).

XML Schema and XML programming are not easy to learn. You might want to start by searching for some basic online tutorials, but if web design is your full-time profession, you should instead enroll in some courses offline at a local college or computer programming institute. If you do not make use of versatile languages such as XML, XSL, and XHTML, your website might be invisible to those who surf the web on wireless devices, and you might be putting your career as a web designer in jeopardy.

What is XML DOM?

What is XML DOM? by Jim Pretin

I find myself longing for the old days, when I could design a web site in 5 minutes on a Sunday and then go play golf for the rest of the afternoon, and still collect a full week of salary for services rendered. That was back in 1996, when the internet was still new. Websites were created exclusively with HTML. The client would email me the content for their website, which I would upload to FrontPage, then insert some tags and a template for formatting and layout, add some graphics, and that was it.

Nowadays, I find myself working up to 10 hours per day designing web sites. I have to use so many different programming languages and specifications when creating a site that it makes me dizzy. I can barely type this article because my brain literally hurts from all the different programming languages I have swirling around in my head.

You might be wondering why my job has become so complicated in recent years. Well, it started with the wireless revolution, which made cyberspace a darn mess. Now, every wireless gadget is equipped with access to the internet and email. Cell phones, palm tops, laptops, even computer screens in automobiles have web browsers. These gadgets have platforms and web browsers that are very different from what is installed on an ordinary desktop PC. These new web browsers are not compatible with many elements of the HTML programming language. As a result, websites created purely with HTML are often invisible or inaccessible to the wireless internet user.

New languages and specifications such as XHTML, XSL, and XML were created to conform to these new web browsers. XML was probably the most important innovation of them all. XML enabled web designers to define data without telling the browser how to display the data, unlike HTML, which both defines the data and tells the browser how to display it. XML data can be viewed on any platform or browser because it is a simple text file with no predefined tags, allowing the programmer to define data any number of ways. XHTML and XSL were created to convert XML files into actual web pages that had style and structure and could be viewed across all platforms and browsers.

Now that you understand how and why programming was changed, you are ready for a brief introduction to the main topic of this article, XML DOM. DOM stands for Document Object Model. XML DOM is both platform and language independent, and sets forth several document objects for XML, as well as the means for accessing and changing XML documents.

You should think of XML DOM as something that turns an XML document into a tree. Certain elements, or tags, become the branches, and other elements within those elements and their corresponding attributes are like the twigs attached to each individual branch. The elements can all be modified through this DOM tree.

The Microsoft XML Parser is used if the programmer wants to modify the tree by inserting and deleting some of the branches and twigs, and then convert the branches and twigs back to XML. The Microsoft XML Parser is compatible with all languages, including ASP, Javascript, Visual Basic, and others. Multiple browsers support the XML Parser, such as Internet Explorer and Mozilla, to name a few. The XML Parser is also used to check the syntax of the XML as needed.

If you want to load your XML document into XML DOM to create your tree and to start using the XML Parser, there are two ways you can do it. If you want to load an entire XML file into XML DOM, use the load( ) method. If you merely want to load a text string containing XML code into XML DOM, use the loadXML( ) method. To learn how to properly use these methods and how to create the XML DOM object with different programming languages, you should search for some simple online tutorials to help you get started.

Learning to use XML and all of the elements of XML programming are absolutely essential to the modern web designer. If you have no experience with XML, then instead of learning from online tutorials, it would be best if you enroll in some offline courses at a local college or computer science institute. If you do not make use of versatile specifications such as XML, XHTML, and XSL, then the websites you create will not be viewed properly across all platforms.

New version RTF TO XML Converter is now available

New version RTF TO XML Converter is now available. by Novosoft

On October, 2006 Novosoft Product Department has announced a new release of RTF TO XML Converter. The RTF TO XML Converter is a powerful and easy-to-use program that allows to convert RTF documents into Word, PDF, HTML, XSL FO. RTF to XML converter provides you with flexibility and speed. You will appreciate how easy you can convert RTF documents into XML format file with one button click. Features of RTF to HTML Converter: Page formatting support (margins; page size; headers and footers;page (section) breaks of all types; watermarks (document background); footnotes; paragraph pagination) Text formatting support (font: family,size, style and weight; superscript and subscript; font and background color; paragraph: line spacing , alignment and margins; lists of all formats) Tabs support (the rendering is applied for calculating true position of text with tabs; multiple tabs of the "center" or "left" type) Miscellaneous (full implementation of tables; high quality of conversion RTF files; high speed of converting documents; height of table rows and vertical alignment of text in table cells; last page number field; pictures of any graphic format; picture conversion plug-ins; support of non-grouped textboxes; multilingual support; links and hyperlinks; track changes support; free upgrades ) Visit http://www.rtf-to-xml.com to read more about RTF TO XML Converter features and download new release.

XML Transforms The Internet Landscape

XML Transforms The Internet Landscape by Jim Pretin

When the internet was first introduced, all websites were written in HTML. HTML was the only programming language used to describe and display data on the World Wide Web. It was simple and fairly easy to learn. As time progressed, programmers started to realize that they were being stymied by HTML. Web designers wanted to be able to describe data more effectively. This need for a better way to deal with data resulted in the development of a new specification called XML.

What is XML? XML stands for Extensible Markup Language. So, just like HTML, XML is a markup language. A markup language is any language that is used to describe or define information and text. XML is not a substitute for HTML. It is to be used in conjunction with HTML.

HTML focuses on describing how data or text is supposed to be displayed. The XML language does something totally different. XML describes what the data is. So, XML is not something that is apparent on a web page, because it does not actually do anything. As information and data presented on the World Wide Web became more complex, XML was invented to effectively structure, store, and send this information.

What makes XML truly unique is that there are no predefined tags like we have with HTML. All of the tags used in HTML have already been defined, such as the paragraph tag, the header tag, and all the various style tags. XML is not defined. You can make your own tags!

So, the question is, why do we need XML? Why do we need a more versatile specification like XML to describe data? After all, HTML works fine if used properly, so why do we need XML? Well, the answer is simple. XML is a device independent, cross-platform language.

This is extremely important, because people are now using a wide variety of gadgets to connect to the internet, as almost every electronic device on the market now comes equipped with email and internet access. Cell phones, palm tops, computers installed in automobiles, they all have built-in web access. Each of these devices display text and graphics differently, and utilize different platforms and a variety of web browsers.

As a result, someone using a cell phone to access a certain web site may not be able to view the data on that website properly because the browser running on that cell phone might not be able to properly display the HTML. The platforms that run on some of these newfangled products and devices are simply not 100% compatible with HTML.

XML solves this problem by making sure that the most important data on your website can be displayed across all of these different platforms. This is what makes XML so valuable. The other important features of XML is that it enables data to be exchanged between incompatible systems, and because XML files are plain text files, basically anyone using any system can view the contents of the text file.

So, if you are a programmer, you need to learn to use XML for describing, storing, and sending data on the web. With so many different means available to connect to the internet, you should learn to use programming languages like XML.

The growing importance of XML and HTML sitemaps

The growing importance of XML and HTML sitemaps by Munish Dev Rathee

Web page creation is no child's play. A huge amount of time is spent in planning the look and feel of a website, before the actually development begins. From a user's perspective, apart from the website itself, the only tangible evidence that vouches for this planning is the visible operational elements. In other words, front-end elements that are related to the functionality of the website. A sitemap is one such element.

The name is self-explanatory. But the simplicity that the word site map suggests is deceptive. Sitemaps are complex, regardless of how simple the structure of the webpage may be. Sitemaps can be created either in XML or HTML. These two types of sitemap are created for two different purposes - XML: reaches out to the search engine spiders, and HTML sitemaps are meant for users. While there are people who feel that it is better to just stick to either an HTML or a XML sitemap, most people believe that it is most advantageous to have both. Broadly speaking, sitemaps bring with them a sense that the site is organized, and it becomes easy for you to have a bird's eye view of your site. Additionally, users also appreciate a preview of everything that site has to offer, rather than spend time discovering things click after click.

The HTML sitemap must represent the site in a very tangible way. It must be there present as a link on the homepage of your website. The design elements used, must reflect the overall tenor of the website. Unlike something like a road map which has the primary objective of giving clear and accurate direction, a sitemap has the additional responsibility of becoming a mirror to the rest of the site. The color coding, font styles, use of graphics etc are indicative of how you would expect the website to look. Users will make such a connection between the look of the sitemap, and the expected look of the site. If the sitemap is elaborate and colorful, and the webpage is bland, a user will feel cheated.

Sitemaps have a dual purpose - they make navigation on the site easier, they help you communicate with search engines. In order to achieve both these ends, you need to have both these sitemaps for your website. XML sitemaps enhance the visibility vis-à-vis search engines, and are considered to be one of the best ways of optimizing a site. Creating XML sitemap is a particularly fast way of submitting a site to search engines, in cases where a new website is involved, or if, for instance, a website has recently added lots of new pages. Sitemaps are of great importance in sites that use a lot of Flash or in menus created in JavaScript that do not have HTML links. And many websites are nowadays relying heavily on the use of Flash. In fact, XML sitemaps are submitted as a file to search engines. An XML sitemap is not really required, if you have already indexed all your pages with Google. In case there are a few pages that are not indexed, you must still create a sitemap for the whole site, and give priority (using the priority tag) to those pages that have not been indexed. An XML sitemap, in that sense, is your way of telling the search engine which part of your page to index.

Having a sitemap also means not relying entirely on external links that will drive search engines to your website. This should in any case be avoided, but a sitemap would be a way to bypass a confusing or faulty internal link structure which may mislead search engines to orphan pages.

Generating a sitemap is not a very complicated process. There are enough free online tools available that will carry this task out for you. Alternatively, you have the option of downloading Google sitemap generator, and carrying out the given instructions. Needless to say the second option is the harder one, but then it also provides you with a greater control over the final output. Once you are done generating the sitemap, using either of these methods you need to upload it to your website and notify Google about the same.

The growing importance of search engine optimization means that it will soon become almost mandatory for websites to have sitemaps. As of now, Yahoo and MSN do not support sitemaps and ask webmasters to submit a stripped-down version of the sitemap i.e, a text file that has a list of all the url's on the website. Although, given how prominent such sitemaps are becoming, there are good chances that this will change sooner than later. Sitemaps will in fact soon become a rather straightforward and convenient way of submitting one's website to the search engines.

How to convert XML to a different data format?

How to convert XML to a different data format? by RustemSoft

Let's consider a common situation in today's software development world: a web service or another process provides an XML document with hundreds of elements and attributes. You as a developer are facing a task of creating an Excel spreadsheet or MS Access mdb database from that XML.

So you have an XML document that you need to convert into a more readable and editable file format. There are several solutions around Internet that could help you somehow to solve the task. However let's try to make your task a little bit complex.

You are looking to create an Excel file by selecting only some of the Columns from an XML. The columns are not is the correct sequence for the Excel so they need to be mapped.
You have an XML that contains columns A, B, C, D, E, F, etc.
You only need data from columns B, D, and F.
But in the output Excel file the sequence has to be F, B, and D.

To accomplish the task we will use XMLFox Advance that is a useful XML and XSD schema editor. By using XMLFox Advance you can output data to several other data format files. The Editor allows you export XML tables or whole XML to the following data files: TXT; convert into CSV (Comma Separated Value) file, convert into HTML page, create MS Access database, and create Excel file.

Begins with version 3.0 XMLFox Advance has been refined with a helpful "Better Grid View" interface feature. The special button is located in drop-down toolbar on Grid view pane. Also by clicking right mouse button you can access the Grid pane content menu where you may found the option called "Better Grid View". There is a look of the MyXML.xml file in the "Better Grid View" interface shown below:



The "Better Grid View" interface usage makes the XML converting much adaptable. You are able to remove fields and/or shuffle the order of fields to set up XML conversion. So we have to hide all columns in MyXML.xml except B, D, and F. Then we need to shuffle the columns' sequences to F, B, and D.

By clicking Export to button XML conversion interface will pop-up.
XMLFox Advance translates XML data to Excel spreadsheet format where it can be edited, printed, and saved as required in MS Excel interface. Because XMLFox Advance was designed to be a smart one click solution it does not require XML, DTD, XSD Schema expertise or other XML specific knowledge.
In XMLFox Advance you can output data to several other data format files. The Editor allows you export XML tables or whole XML to the following data files: TXT; convert into CSV (Comma Separated Value) file, convert into HTML page, create MS Access database, and create Excel file.





Finally as a result of the XML conversion you will get the following Excel output:

It is pretty easy and fast enough. The exclusion of fields and the reordering of fields make your XML file transformation much flexible. Also other "XML to" transformations such as filtering can be performed through "Better Grid View" interface that allows for intricate mapping and transformation without the need for user written code.
Please learn in details How to convert XML by using XMLFox Advance

What Is RSS, XML and Atom?

What Is RSS, XML and Atom? by Tamy Karens

You are browsing a blog site one day, and then you saw this orange button that says ¡°RSS¡±. You then checked a news site, and then saw an orange button that says ¡°XML¡±. Then you saw some more sites that have RSS links. Now, you wonder, what are these things all about?

These things never had to be a mystery. What follows are basic information regarding RSS, XML and Atom.

What is an XML?

- General Definition

XML stands for Extensive Markup Language. It is the standard markup language used to define various types of data. It is created to enable data sharing among various systems patched by the Internet. The language format is formalized, to allow modification and validation of files regardless of prior knowledge of the document form.

- XML Features

Before the birth of the XML files sharing files among different programs and platforms was difficult because of the use of binary system in encoding.

In an XML file, characters (the fundamental unit) are sequenced in an allowed serial pattern.

Word processors also made XML maintenance and authoring easier, since it will be dealing with characters, not bits.

- Uses of XML

1. XML is used to represent a lot of data, especially lists, records and trees- the basic forms of data structures.

2. It can also be used to communicate human languages that are written because of the Unicode support.

3. The XML format is also employed in data processing and storage.

- Pros and Cons

The XML format is a universally accepted format. It also does not depend on a specific platform for it to execute. It also employs a hierarchical code structure that is compatible with most of the document formats. How can you find high paying keywords for your Blog? Free $97 Secret Adsense Book at http://www.honestreview.info/adsense/index.html

However, XML is limited by bandwidth. In the case of PDA and cellular phone technology that uses XML, files are compressed.

Now, what then is RSS?

- General Definition

RSS, which stands for Really Simple Syndication, is a set of web feed formats that use XML to deliver information.

- What are the uses of RSS feeds?

RSS feeds are used to give updates to users regarding site contents without having to actually check the site. This can be done by delivering the full content of the update, or by sending a link, or by defining the metadata that composes the file. What are the percentage of people earning on Adsense Blogs? And how much do they earn? Get your special $97 report on Adsense Tips and Tricks!

A lot of sites like web logs, pod casts and news sites use RSS feeds.

- What are the benefits of RSS feeds?

The information that can be seen in RSS feeds is simpler than the source web site. That is why it is easier for users to view the important items.

XML & SGML Standardisation Framework

XML & SGML Standardisation Framework by Keith McGregor

Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML. Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.

Some of the major advantages of using XML as a technology for web design are:

* System Independent
* Vendor Independent Standards
* Lossless Exchange of Complex data between Systems that use different formats
* For Programmers, XML Parsers are available
* Simple API's for XML
* Document Object Parser (DOM) parser.
* Capturing data in rich markup has benefits like XML format is readable
* Flexibility to define tags to fit application.

XML uses distributed client/server methodology. Client is generally the user interface which connects through remote procedure calls to the server via a computational engine or database.

XML is hugely useful in following areas:
* Collaborative Commerce based on XML
* Film archives
* XML-based content management system improves production time
* XML in electronic supply chain management and content distribution
* XML keeps job seekers informed
* Logistics on the move with XML

* XML-based prescription drug database helps pharmacists advise their customers
* The future-proof research database
* XML revolutionizes materials management
* XML links logistics companies to form global powerhouse
* Simplifying the exchange of complex patient records
* Mobile XML puts the enterprise in your pocket
* XML reduces the risk in transporting hazardous goods, etc.

XML provides a standardised framework for Information technology (IT) standards. Usually IT puts some constraints in the way that humans or computer agents interact, in order to allow collaboration on a common basis. There is additional standard in XML called as Meta-Standard. Meta-standards specify how other standards can be defined. In principle, one can imagine a whole hierarchy of meta-standards and standards that have their application at different levels of specificity.

Thus, XML has become widely used to integrate enterprises, supply chains, and web applications because it is:

* Standardized - Many products from many vendors are available that implement something close to the World Wide Web Consortium Recommendation on XML.
* Simple - the technology is easy to learn and implement, with many tutorials and "how to" books available.
* Self-describing - straightforward data exchange applications can be written without reference to detailed format descriptions or schemas.

So, XML is redefining today's database infrastructure by serving as the "glue" that binds diverse enterprise systems to each other and to the internet. If you want to find out how you can use XML on your website, why not contact Strawberrysoup web design who specialise in using the latest technology to integrate systems and the Internet.

XML DOM SGML

XML DOM SGML by Adam Sturo

XML means Extensible Markup Language. We can say that XML isn't a language but it is system for defining other languages. XML plays there role beautiful on the Internet. XML also have a life outside of the Internet, just like for people who produce documents intended to appear across multiple media and also helpful for some large-scale document publishers who have been using SGML (Standard Generalized Markup Language).

XML one of intelligence feature for the Web is how it interacts with the DOM (Document Object Model), which is an interface which defines the method for accessing data in a document. DOM, programmers can script dynamic content in a predefine way. We can say that it uses to cause a specific part of content in a browser document tree to act as in a certain way. XML will also help to resolve the problem to specifying where to display some result, and Web builders will be able to specify the structure of the document. There are some XML-based languages is already in use--Microsoft's Channel Definition Format (CDF) and more are on the way, including the Resource Definition Format (RDF) and the Open Software Description (OSD).

XML also become a standardized method for the exchange of data as well as documents. So XML become a way for databases from different vendors to exchange of data across the Internet. XML will also be used in a different ways. Firstly it is used for data interchange between users and machines, just like Web server to a user's browser.

The other thing is used for data exchange between applications, or from machine to machine. There are mostly two types of XML documents: well-formed and valid. A well-formed XML document follows the general rules of XML syntax, which are we can say that are either of HTML or SGML. And another type is Valid XML documents are documents that prepare for a specific Document Type Definition (DTD).

Confirming the validity of XML documents is largely the work for XML-capable browsers need only check for well-formed in order to read XML documents.

26 July 2007

SOA and Web Service Protocols

Service Oriented Architecture SOA and Web Service Protocols

SOA Service Oriented Architecture may be built on Web services standards (e.g., using SOAP) that have gained broad industry acceptance. These standards (also referred to as web service specifications) also provide greater interoperability and some protection from lock-in to proprietary vendor software. One can, however, implement Service Oriented ArchitectureSOA using any service-based technology, such as Jini.

Service-oriented architecture SOA is often defined as services exposed using the Web Services Protocol Stack[citation needed] . The base level of web services standards relevant to Service Oriented Architecture SOA includes the following:

XML - a markup language for describing data in message payloads in a document format
HTTP (or HTTPS) - request/response protocol between clients and servers used to transfer or convey information
SOAP - a protocol for exchanging XML-based messages over a computer network, normally using HTTP
XACML - a markup language for expressing access control rules and policies.
Web Services Description Language (WSDL) - XML-based service description that describes the public interface, protocol bindings and message formats required to interact with a web service
Universal Description, Discovery, and Integration (UDDI) - An XML-based registry to publish service descriptions (WSDL) and allow their discovery

Note, however, that a system does not necessarily need to use any or all of these standards to be "service-oriented." For example, some service oriented systems have been implemented using Corba, Jini and REST.

Copyright 2007-2010 © SOA Service Oriented Architecture. All Rights Reserved