Archive

Posts Tagged ‘computers’

Validation XML Files With XML Schema

February 20th, 2010 George Alexander No comments

XML schema definition languages are derived from the recommendations of the World Wide Web Consortium (W3C). They use XML 1.0 syntax and their role is to explicit describe the structure of XML documents and constrain the data which they may contain. They offer a distinct improvement on the more limited schema features offered by the Document Type Definition (DTD) recommendation which formed part of the original XML specification released in 1998. The most widely used schema language is the one defined by the W3C in 2001: W3C XML Schema. However, there are alternatives, such as RELAX NG and Schematron.

Schema documents are the more sophisticated successors to DTDs and overcome some key limitations associated with them. Firstly, DTDs do not support data types. Secondly, DTDs do not support namespaces. Thirdly, DTDs do not allow developers to accurately define the number of permitted occurrences of elements within their parent element.

XML schema documents describe the structure of an XML instance document by defining what each element must or may contain. An element is limited by its type. For example, an element of complex type can contain child elements and attributes, whereas a simple-type element can only contain text. The diagram below gives a first look at the types of XML Schema elements.

Three main purposes are fulfilled by schema documents. Firstly, they can be used to validate XML documents. Secondly, they can be used as a dictionary or grammar for the creation of a given class of XML document. And, thirdly, they can be used to provide documentation for XML documents.

Each XML schema is itself an XML document and contains definitions of all elements and attributes permitted in a given class of XML documents. The schema also specifies the structure or hierarchy to which elements must adhere and the type of content each particular element may contain. Elements may be of the simple or complex type. Complex type elements may contain child elements as well as attributes. Simple type element may only contain data. XML documents using a particular schema are referred to as instances of the schema. An XML instance that correctly adheres to its associated schema is said to be valid.

Validation is usually the principal role of schema documents. Validation offers many benefits. It ensures the consistency of data within a document. It ensures that data has the right structure and internal hierarchy. It ensures that data within the document structure is of the correct type. It allows us to receive data from multiple sources.

Most XML documents are created by programs and scripts designed to extract information held in databases and transform it into XML. However, it is also possible for human beings to create XML documents. Schemas can be used during this process to assist in the document creation process. XML schemas also provide a mechanism for documenting XML documents and form an important part of the specification of XML vocabularies.

The The writer of this article is a training consultant with Macresource Computer Training, an independent computer training company offering XML Classes in London and throughout the UK.

XML And The Benefits Of Platform Independence

February 8th, 2010 Peter H. Spencer No comments

Extensible Mark-up Language (XML) has very quickly established itself as a viable technology with a huge range of real-world applications. One of the main reasons for its importance and wide acceptance is the fact that it offers a working solution to one of the key problems faced by software developers and computer users alike: the exchange of incompatible data. Each software environment creates its own unique type of binary file which only it can understand. When data is exported in XML format, it becomes a known quantity, independent of the environment in which it was originated.

Adobe’s PDF format is another example of a platform-independent data format which has gained wide acceptance. When a document is saved as a PDF file, its format is set in stone, it can viewed and printed with its layout and formatting intact, without the need for the software which created the original file. However, whereas the PDF format concerns itself primarily with the presenting information, XML is used to describe and encapsulate the information itself.

Though XML itself is still fairly new, the idea behind it is not. Back in the 1970s, Standard Generalized Markup Language (SGML) was developed in an attempt to create an application-independent method of describing data. SGML is a text-based language which uses the concept of adding mark-up to data which describes the data itself. An SGML document contains both data and a set of rules defining the structure of the data. SGML is a pretty complex language and, unlike XML, has never become mainstream. In the early 1990s, SGML was used to develop HTML and in the late 1990s, SGML was also used as the basis for the development of XML. So, basically, XML is a restricted form of SGML.

XML has already proved itself to be an excellent medium for storing, describing and transporting data, particularly over the web. It offers developers flexibility, clarity and simplicity. An XML document resembles an HTML document and consists of the same human-readable tags. However, the tags used to markup an HTML document are predetermined: only a fixed set of tags can legitimately be used. XML allows you to create your own markup language and define the tags which are legitimate for your data. It does this via the mechanism of a schema document, which can itself be an XML document. The schema document defines the vocabulary and grammar which may be used within the XML document containing your data.

The fact that, when creating and generating XML documents, you can invent all the rules, means that you never have to force your data into a container which was not designed to hold it. You design tags which reflect the nature of your data; you create a schema document which defines the hierarchical structure of your information; and you specify the type of information each element within your document is permitted to contain. In short, if you end up with an XML documents which is unsuitable for holding your information, you have only yourself to blame!

The writer of this article is part of an organisation that offers web design training courses in London and throughout the UK.

Tips For Having A Great Looking Flash Banner

February 7th, 2010 Albert Wayne No comments

There are various components you have to keep in mind before ordering a flash banner. You need to portray it in the decent style so you need to make sure that the banner is made according to the look of your site and its subject.

You have to make sure that you receive the right sizes. There can be various sizes but you must know what sizes you need, whether you want all or just some particular ones. Your developer can suggest you on that.

If you have website where you market products and even have a commission structure, you have to find out what sizes your partners want to have. Your flash banner design has to be done in all possible sizes so may aid your affiliates to the maximum.

A Flash banner is useful if customers click on it. So it must have a large click through ratio. Your builder should study your web site and its target customers and then make the design so that the click through percentage can be the largest.

A robust call to action is needed to have a great click through ratio to the banner. Thus you should put some exciting points so that the readers click on it in almost all cases.

You can have various animated quotes. A strong call to action is important to make customers click. So you should use messages like Limited Time Discount. You have to put the best words exactly what the customer is looking for.

If you have a site logo, the flash banner design should be made in a manner that it does not result in a totally new icon of your product or service. So your graphic designer must keep in mind all these factors. You should expect him or her to present the best benefits for you.

Thus you may have a great banner created. Just be sure your artist has the experience. Get sure you find out his or her portfolio before paying.

See Flash Banner Design. View Portfolio.

categories: design,web design,internet,webmaster,marketing,advertising,business,finance,computers,software,home,flash,programming

Understanding The For-each Element In XSLT

February 6th, 2010 Keira Albright No comments

Extensible Stylesheet Language (XSL) is an XML technology which is used to transform XML data. XML file can be used to set the ground-rules for a given body of data and to describe the data itself. XSL allows us to take that input XML data and convert it into information which can be displayed in a web browser window or opened with a text editor. It can also be used to create an XML file which is a modified version of an input XML file.

When displaying elements in a browser window, the XSL elements which enable looping through an XML tree and decision-making really come into their own. One of the key methods used in XSL for looping through XML elements is the “For-each” element. This uses the “select” attribute to specify which element is to be targeted in the loop. The “For-each” element has both an opening and a closing tag and any lines of code placed between the opening and closing tags will be repeated each time the element specified in the “select” attribute is encountered in the XML file.

For example, let’s say we have an input XML file containing a list of companies and the addresses of their websites. Let’s also say that the element which we will be targeting in the XSL “For-each” statement is called “company” and that, for each company element, we have a “name”, “telephone” and “website” element. Before beginning our “For-each” loop, we could output the opening tag of an HTML “ul” element (an unordered or bulleted list).

Inside the “For-each” loop, we could output an HTML “li” element and, between its opening and closing tags, output the contents of the “name” and “telephone” elements from the XML file. The data in the “website” element in the input XML could be used to convert the “name” into a clickable link.

As to the appearance of the data in the resulting HTML output, this would be controlled by a linked CSS file. CSS can be used to format the output in any way we desire, so our bulleted list can take on pretty much any appearance we desire.

The The writer of this article is a trainer and developer with Macresource Computer Training, an independent computer training company offering XML, XSLT, XPATH, XQuery and XSL-FO training courses in London and throughout the UK.

What Is So Impressive About A Reverse Telephone Search Service?

January 31st, 2010 Marc Marseille No comments

A reverse telephone lookup directory can easily offer you extra info in a more accurate way when you’re trying to find a way to reach somebody. Land lines and cellular numbers alike are carried on these services, which can make calling someone much simpler and more correct.

Writing down a phone number on a slip of scrap paper is one of the quickest ways to misplace it. Of course, when you forget to go into your cell phone to save the phone number, it only takes a small amount time before your telephone’s memory simply deletes it. A lost telephone number can mean a personal or small business loss that can’t be recovered.

The user responsive service is there to help you discover the people you desire in your life. Maybe you have a long lost buddy or a family member that has grown separated that you’d like to reconnect with. For companies, the use of the database can help conserve a deal at the very last minute or help you reach suppliers who didn’t distribute.

One of the utmost rewards to subscribing to a reverse telephone investigation database is the capacity to have access to cellular phone numbers. The conventional white and yellow pages only list land lines, and more and more people are chucking the land line and employing their mobile telephone as their only means of contact. Locating them may hinge on finding their cellular mobile phone number.

You can receive additional information. Exactly how much supplementary details much vary with the database, but physical addresses and even the names of people lawfully residing at the residence can easily be obtained.

What does every part of this affect you? Surprisingly little. A reverse telephone investigation subscription directory gives you oodles of right of entry for a single, minute annual fee. The final result of finding the person you want can often become beyond price, whether it’s for personal or small business reasons.

What are you waiting for, the lone thing needed to achieve a reverse lookup is a number. perform a land line number search or a cell phone lookup in minutes.

Computer Programming Explained For Beginners

January 20th, 2010 Larry Stevens No comments

The majority of large companies these days use computers and software, heck, even most of the small businesses and organizations use them. Let us face it, computer software can help track sales, edit writing, automatically calculate payroll along with many other things.

To accomplish these types of software, especially one that is specifically designed for a particular business, will require a program. The ones that design these programs and fix them when they have errors, are known as computer programmers.

Making a computer program in most cases is not an easy task for a company. If requires a programmer, or even a team of programmers, along with marketing specialists or sociologists. Together they will deem what features are needed, and what will have to be in the program to make there marker more successful.

When the features of the program have been made final, then it is ready for the programmer, or programmers to make it work. What they will be doing is writing the script, or coding the program to carry out specific actions by way of a computer language.

When it comes to computer languages, there are many that a computer programmer can choose from depending on their knowledge of the language. Some of the more popular languages used by programmers are css, html, and php. Often programmers will use a variety of languages in one program as each one has there unique way of working.

As soon as the program has been written out, it has to be tested. This can be done, at the first level, by the computer programmer: the programmer will test the program on different operating systems, with different microprocessor speeds, and then, eventually, with beta users.

Back in the day a program would not be releases until it was deemed error free. These days, it is almost impossible to write an error free program as computer technology has got way more advanced. That is why there is almost always a beta version released to make pinpointing the errors easier and more effective.

When the beta testing brings back submitted errors, the programmer can then go back and troubleshoot these errors, also known as debugging. These errors mostly come from the coding, and should be able to be corrected by the programmer. It is basically just one big trial and error process when it comes to computer programming.

If you seek more tutorials for computer programming, then the author has written an exceptional book that will surely benefit you. Computer Programming For Beginners

Overview of XML Technologies

January 2nd, 2010 Andrew Whiteman No comments

Core XML

XML seems to be popping up everywhere nowadays; but what exactly is it? Extensible Markup Language (XML) is a specification by the Worldwide Web Consortium (W3C) for creating markup languages such as XHTML. The XML specification is being used in an increasingly wide range of applications for exchanging data between different environments, platforms and media. One of the main reasons for its rapidly growing popularity is its flexibility. It allows developers to define their own hierarchy of tags which reflect the structure of their data. In addition to the core XML specification, a number of other technologies have been developed for working with XML projects.

XML Schema

Closely linked with XML documents, we have XML schema. XML schema documents and schema languages are used to validate and document XML markup languages. They allow developers to explicitly lay down the syntactical and structural ground rules for particular classes of XML documents. A number of schema languages have been developed but perhaps the two most important are those defined by the W3C: Document Type Definition (DTD) which was built into the original XML specification and the more XML schema language developed a few years later.

XSL, XSLT AND XSL-FO

Extensible Stylesheet language (XSL) comprises two parts: XSL Transformations (XSLT) and XSL Formatting Objects (XSL-FO). XSLT stylesheets are essentially XML documents which transform a given class of XML document (referred to as the source tree) into a different class of XML document (referred to as the output tree). XSLT documents can be compared to CSS documents but are much more powerful. XSL-FO documents are written in XML and control the formatting layout in an output document in a very detailed manner. It allows the definition of layout masters from which are derived page sequences for generating the final document pages. Flow objects are then used to bind data to the various regions of pages.

XPath, XLink, XPointer and XQuery

XPath, XML Linking Language (XLink), and XML Pointer Language (XPointer) are all provide solutions for linking and addressing when working with XML documents. XPath is a declarative language which uses expressions that resemble the directory paths used to describe locations in computer file systems. XPath expressions are used in XSLT documents to address specific nodes within the hierarchy of the XML source document.

XLink is essentially a method of creating hyperlinks within XML documents. It overcomes some of the limitations of the hyperlinks used in XHTML, such as the fact that each hyperlink has only one source and one destination. XPointer allows you to create links which point to very specific points within the hierarchy of an XML document by including XPath expressions in its syntax. XQuery is designed to query XML data in much the same way that SQL is used to query databases. It uses XPath expressions to extract elements and attributes within the structure of an XML document.

The author is a training consultant with Macresource Computer Training, an independent computer training company offering XML training courses in London and throughout the UK.

Using The ASP.NET GridView Control

November 18th, 2009 Joshua Davies No comments

Displaying information on a web page which comes from a database is a fairly standard requirement on most websites and, in some development environments, it can take a fair amount of programming to achieve. In ASP.NET, however, it is remarkably easy, thanks to the use of built-in data-bound controls. There are two types of data-bound controls: those which are designed to display multiple records and those which will display one record only. The GridView control, the workhorse of databinding in ASP.NET, falls into the first category. It automatically generates an HTML table and fills it with information from a given data source with each record in the database rendered as a row in the table.

When using Visual Web Developer the easiest way to create a GridView control is simply to explore the appropriate data source using the database explorer, then drag the appropriate table or view onto the page. This action creates both a DataSource object and a GridView object, both of which can be customised either in Design or Source view. If the listing you wish to display on the page is to be tabular, you may not need to change the default GridView. However, it is more usual that you will want to customize the way in which data is displayed.

The first step in customization is often to turn off the automatic display of all the fields in the database as columns in the HTML table. This is done by setting the GridView’s AutoGenerateColumns attribute to False. Secondly, we can display data in a number of different ways. By default information is displayed in a BoundField, meaning that the data is displayed as text. By default, the heading displayed at the top of each column is simply the name of each field in the database. However, you can modify this by changing the HeaderText property of each BoundField element. Another useful property is DataFormatString which allow you to use a format string to control the display of data.

Where appropriate, you can also display data in a choice of other HTML formats: CheckboxField, RadioButtonField, HyperlinkField, ButtonField and ImageField. The final type of field is CommandField which enables you to display links enabling the user to edit, delete or select rows of data.

The GridView control also offers the TemplateField which allows you to place any HTML content you like in a given column and use databinding statements to embed information from the database as required. Template fields can even contain ASP.NET server controls.

The author is a trainer and developer with Macresource Computer Training, an independent computer training company offering ASP.NET training courses in London and throughout the UK.

categories: asp.net,web development,microsoft,computers,software

Internet Marketing Is So Much Fun

November 3rd, 2009 Simon M Skinner No comments

Search Engine Optimization. Doesn’t sound like a lot of fun, does it? Even when you call it SEO, it still just sounds so… technical. Thankfully, SEO doesn’t have to be some sort of dreadful thing.

If you take the time to learn a little about search engine optimization and are willing to practice, you just may find that SEO has become one of your favorite things to do! First of all, let me explain what search engine optimization is. In essence, SEO is using keywords (the search terms people use when conducting a search on Google, Yahoo or other search engines) in your website, your articles, anything else which will be published on the web. Why is this done? Because using these terms makes a website or article easier to find using a search engine. Since most people don’t look to deeply into their search results ? a page or two, usually, you’ll want your website to be as closer to the top of that list as possible. SEO is a big part of getting there. Let’s say for instance that you have a website which sells flowerpots. You’ll want to make sure that your website is optimized for the same words that people search for when trying to find flowerpots online.

SEO doesn’t have to be terribly complicated and you can have fun doing it. The secret is to look at optimizing your text as something fun rather than a chore. Once you practice a little and gain some skill at it, you’ll find that it’s something you enjoy doing. So what can you do to make SEO fun? Make a game of it. Here’s how ? start by just writing down everything you’d like to say on your website. Don’t worry too much about your keywords yet, just write! After you get your first draft down, go through it and identify all of the keywords and key phrases you’ve already included. Next, go back and try to work in other keywords which you didn’t include the first time. One trick is to try replacing pronouns like “it” that refer to a keyword. Make sure that your text still makes sense though!

Of course while you are having fun with SEO, don’t go too crazy with it. Remember that too much SEO can be as bad as none at all. While it may look okay to you, it will make the text overdone. Usually you’ll find that it is recommended to have about 1-2% keyword density within your articles. Basically this means that for every 100 words that you write, you should have 1-2 keywords in that 100 words. So, if you write an article that is 400 words long, then you should have anywhere from 4-8 keywords in the entire article. When you are trying to hit the right amount of keywords, make it into a game and see how close you can get to the right amount the very first time that you try.

SEO isn’t completely effortless, but with some practice you’ll find that you know something a lot of other people don’t ? that SEO isn’t as hard as many think and can actually be fun to do. Just remember to keep your keywords balanced and you’ll be able to get a better ranking for your website while writing content that people will actually want to read.

sportsbook-watch has top poker reviews and recommendations of the best sportsbook, poker and casino websites. They list and review only the best gambling websites.

Using Website Marketing Tools

November 2nd, 2009 Simon M Skinner No comments

You probably already know how important search engine optimization (SEO) is for your website and online business. However, you may not realize that tools for SEO are extremely important as well. In fact, you can’t properly do SEO if you don’t have the right tools. Why? Well, let’s take a look at what these tools can do that you can’t do without them.

Only Tools Can Help You Monitor Your Rankings First of all, you’ll find that only good SEO tools can help you to monitor your rankings. It’s difficult to go around constantly trying to check out your rank for certain keywords. However, the right tools will actually do this for you. You can look at top search queries for your site and find out which keywords are performing the best and which ones really are not ranking well.

Tools Will Help You Get the Best Keywords Another reason to use tools for your SEO is to make sure that your site is using the best possible keywords. You’ll want to incorporate keywords which are being frequently searched for your website. Having some solid keyword research tools is essential to choosing the keywords to optimize for in order to get the maximum benefit for your site.

You’ll Be Able to Check Your Website with the Right Tools With the right SEO tools, you’ll also be able to check your website. It’s important that you keep your website in great shape if you are going to bring in visitors and keep them coming back. With excellent SEO tools, you can find out if there are broken links, about the keywords that bring you the most traffic, and if there are any errors in your site map. This would take forever if you did this on your own.

Track the Sites that are Linked to Your Website SEO tools will also let you track the sites which your site is linked to. Knowing how the sites which are linked to yours is good to know, as is knowing the number of these sites. The best SEO tools will be able to provide not only this information but can also tell you about the sites which are linked to the websites of your competition.

Without the right SEO tools on your side, you will not be able to make the most of your search engine optimization efforts. Having tools which can help you accomplish many of the necessary SEO tasks can help your site to get the most traffic possible.

Simon M Skinner has worked in the SEO and internet marketing industry since 2002. He has successfully optimized websites from a wide range of industries. He owns webpositionexpert which markets SEO software. If you are looking for industry leading website marketing and information then be sure to try webpositionexpert.

categories: seo,marketing,web,internet,website,development,business,software,computers,search engines,search engine optimization,articles,rss,links