(Leonard Anghel) Suppose you want to block a namespace declaration from appearing in your XSLT transformation results; for example, suppose you have the namespace declaration of a function/element extension. You’d have to use the exclude-result-prefixes attribute in the stylesheet element. The value
Tag: JSON / JAVA / XML
Planning a Semantic Web site
(Rob Crowther) The Semantic Web brings with it the opportunities for users to get smarter search results, and for site owners to get more targeted traffic as users find what they really want. But these benefits don’t just magically appear. This article leads you through the aspects of both informati
SQL Server 2008 XML: XML DML Enhancements
(Stephen Forte) Yesterday we discussed the changes to XQuery by allowing LET statements. Today the last XML enhancement is an “enhancement” to XML DML.
Ajax overhaul, Part 1: Retrofit existing sites with Ajax and jQuery
(Brian J. Dillard) This first article in a series on overhauling existing sites with Asynchronous JavaScript + XML (Ajax) shows you how to eliminate pop-up windows and navigational dead-ends with simple modal windows.
The Performance Woe of Binary XML
(Jimmy Zhang) Since its inception, XML has been criticized for the overhead it introduces into the enterprise infrastructure. Business data encoded in XML takes 5 to 10 times more bandwidth to transmit in the network and proportionally more disk space to store. While most agree that verbosity is inh
Working with Attributes and CDATA Sections with the DOM XML Extension
(Alejandro Gervasio) Undeniably, one of the most remarkable strengths of PHP is its robust set of extensions. They provide developers with the right tools to build a huge variety of web applications with minor hassles. And this characteristic is particularly evident when it comes to working with XML
Cooking XML with OOP
(Hasin Hayder) XML (Extensible Markup Language) is a very important format for storing multi‑purpose data. It is also known as universal data format, as you can represent anything and visualize the data properly with the help of a renderer. One of the biggest advantages of XML is that it can b
Displaying XML in a Swing JTree
(Rob Lybarger) It seems obvious enough: You have an XML document or fragment. XML is hierarchical. A Swing JTree displays hierarchical data. How do you make a JTree display your XML fragment?
SQL Server 2008 XML: XQuery Enhancements
(Stephen Forte) Continuing our discussion of XML in SQL Server 2008, SQL Server 2005 alowed us to use XQuery to query XML data in an XML data type. You can use the FLWOR statements of for, where, order by, and retun, but not LET. SQL Server 2008 now has support for LET, which is used to assign valu
Code Generation: Why XQuery is Better than XSLT
(Dmitri Nesteruk) As of recently, all my new development efforts are using XQuery instead of XSLT as the language of choice. The following blog entry outlines the reasons why I decided to go with XQuery, and what I gained from it.
