XML

Microformats in Sementic Web

This item was filled under [ XML ]

What are Microformats? Microformats are a way of adding simple markup to human-readable data items such as events, contact details or locations, on web pages, so that the information in them can be extracted by software and indexed, searched for, saved, cross-referenced or combined. More technically, they are items of semantic markup, using just standard [...]

Continue reading...

Tagged with: [ ]

Dynamic XML document construction with the PHP DOM

This item was filled under [ PHP, XML ]

When working with XML-based applications, developers often find themselves facing the requirement to generate XML-encoded data structures on the fly. Examples of this include an XML order template based on user input in a Web form, or an XML representation of a server request or client response based on run-time parameters. Although this task might [...]

Continue reading...

Tagged with: [ , ]

Running XPath queries in PHP

This item was filled under [ PHP, XML ]

XPath is a language that allows you to address parts of an XML document, making XSLT transformations practically necessary. It also makes it an invaluable tool for managing XML data in applications such as Web applications. Microsoft provides XPath functionality through the selectSingleNode() and selectNodes() methods on DOM nodes and documents. However, PHP uses functions [...]

Continue reading...

Tagged with: [ , ]

Free PHP Scripts, Source Code and Tutorial Website List

This item was filled under [ PHP ]

Following are the websites list who provide free php scripts. You can find lots of information about PHP as well as free code samples, code galleries, and free scripts for download at these and other sites. There may be some premium php scripts which may come for a price but overall the list is good [...]

Continue reading...

Tagged with: [ , , , ]

Parsing XML using PHP : Good example

This item was filled under [ PHP, XML ]

The following example illustrates how to use an external entity reference handler to include and parse other documents, as well as how PIs can be processed, and a way of determining "trust" for PIs containing code. Consider the following XML’s < ?xml version=’1.0′?> < !DOCTYPE chapter SYSTEM "/just/a/test.dtd" [ <!ENTITY plainEntity "FOO entity"> < !ENTITY [...]

Continue reading...

Tagged with: [ , , , ]
12