XML

View: [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 ]

Articles
Tips
  Tutorials
  

Articles:
  • Introducing XML canonical form by Uche Ogbuji   - [Clicks: 16]
    XML is careful to separate details of a file or other data source, bit-by-bit, from the abstract model of an XML document. This can be an inconvenience when comparing two XML documents for equality -- either directly (for instance, as part of a test suite) or by comparing digital signatures for security purposes -- to determine whether an XML document has been tampered with in some way. The W3C addresses this problem with the XML Canonicalization spec (c14n), which defines a standard form for an XML document that is guaranteed to provide proper bit-wise comparisons and thus consistent digital signatures. In this article, Uche Ogbuji introduces XML Canonicalization.
    http://www-106.ibm.com/developerworks/xml/library/x-c14n/ - Dec, 2004
  • Working XML: Take advantage of lessons learned by refactoring XM by Benoit Marchal   - [Clicks: 22]
    In this article, Benoit continues to work on a new version of XM, the simple content management solution that's based on XML and integrated with Eclipse. Benoit discusses issues faced while refactoring code and shows you how to create an incremental builder in Eclipse.
    [Includes source code]
    http://www-106.ibm.com/developerworks/library/x-wxxm28/ - Nov, 2004
  • Introduction to XML Events by Micah Dubinko   - [Clicks: 9]
    A number of markup technologies involve attaching behaviors to specific parts of a document. XML Events is a W3C Recommendation that allows declarative attachment of a behavior -- which can be a predefined bundle of actions defined in XML or a more general call to a scripting language -- to a specific element. This article gives an overview of how XML Events came about, what it's useful for, and how it works.
    http://www-106.ibm.com/developerworks/xml/library/x-events/ - Nov, 2004
  • Principles of XML design: Considering container elements by Uche Ogbuji   - [Clicks: 9]
    A critical issue in designing XML formats is figuring out how to arrange elements and represent relationships between them. Element design works best when it naturally corresponds to how people think about the concepts that each element represents. This article discusses best practices for organizing information into XML elements, focusing on the use of container elements.
    http://www-106.ibm.com/developerworks/xml/library/x-contain.html - Sep, 2004
  • Working XML: UML, XMI, and code generation, Part 4 by Benoit Marchal   - [Clicks: 12]
    In this final article in his series on UML and XML, Benoît wraps up the technique. He discusses the need to simplify the model by burying some of the logic in the XSLT stylesheet. He also points out several common pitfalls..
    http://www-106.ibm.com/developerworks/library/x-wxxm26/ - Aug, 2004
  • Improve performance in your XML applications, Part 1 by Elena Litani, Michael Glavassevich   - [Clicks: 10]
    Write your application to get the best possible performance, plus learn which SAX or DOM operations and features affect application performance. In this first of a three-part article, authors Elena Litani and Michael Glavassevich describe best practices for writing XML apps and documents, and for developing applications with the standard SAX and DOM APIs.
    http://www-106.ibm.com/developerworks/xml/library/x-perfap1.html - Jul, 2004
  • Thinking XML: Harold's Effective XML by Uche Ogbuji   - [Clicks: 4]
    Noted XML expert Elliotte Rusty Harold's book Effective XML offers best practices for users of XML technologies. Much of the discussion in the book touches on issues of XML design that have also preoccupied Uche Ogbuji, and in this article he discusses the book as the thread for further observations on XML design and best practices.
    http://www-106.ibm.com/developerworks/xml/library/x-think25.html - Jul, 2004
  • Working XML: UML, XMI, and code generation, Part 3 by Benoit Marchal   - [Clicks: 16]
    In the third article on UML modeling and XML, Benoit further refines the conversion stylesheet with the introduction of stereotypes and tags. These are extension mechanisms for UML that are used to store implementation information in the model.
    http://www-106.ibm.com/developerworks/library/x-wxxm25/ - Jun, 2004
  • XML Matters: Practical XML data design and manipulation for voting systems by David Mertz   - [Clicks: 11]
    In this installment, David discusses his practical experiences developing interrelated XML data formats for the EVM2003 Free Software project to develop voting machines that produce voter-verifiable paper ballots. Some design principles of format subsetting emerge. In addition, David looks at how an application-specific meaning for XML document equivalence can be programmed, and why canonicalization is insufficient.
    http://www-106.ibm.com/developerworks/xml/library/x-matters36.html - Jun, 2004
  • Improve XML transport performance, Part 2 by Dennis M. Sosnoski   - [Clicks: 10]
    The text basis of XML documents provides many benefits -- but not in terms of transport performance. Alternative representations of XML documents can be much smaller or faster to process than text. Part 1 of this two-part article covered the basics of alternative representations for XML documents. Here in Part 2, Dennis Sosnoski presents actual size and processing overhead comparisons for text, gzip, and XBIS representations of a range of XML documents. He concludes with a look at the growing movement toward standardization of non-text representations for XML.
    http://www-106.ibm.com/developerworks/xml/library/x-trans2/ - Jun, 2004
  • SMS-Powered Applications by Dejan Bosanac   - [Clicks: 10]
    SMS (short message service) is ubiquitous in the small device space, and offers a means of sending and receiving messages from even the simplest mobile phone. Dejan Bosanac looks at how Java can be made to work with SMS.
    [Includes sample code]
    http://www.onjava.com/pub/a/onjava/2004/06/09/sms.html - Jun, 2004
  • Improve XML transport performance, Part 1 by Dennis M. Sosnoski   - [Clicks: 7]
    XML is a text markup format designed for clarity and ease of use, without concern for conciseness. Because of these design choices, text XML can be costly in terms of both document size and processing overhead. Part 1 of this two-part article shows you some of the issues involved in alternative non-text representations of XML, and covers a few of the approaches being developed for this purpose; Part 2 will add some actual performance measurements so you can get a feel for the level of improvements possible.
    http://www-106.ibm.com/developerworks/xml/library/x-trans1.html - Jun, 2004
  • XML 1.1 and Namespaces 1.1 revealed by Arnaud Le Hors   - [Clicks: 9]
    In this article, software engineer Arnaud Le Hors explains what XML 1.1 and Namespaces 1.1 are about, what changes they bring, and how they affect other specs and users.
    http://www-106.ibm.com/developerworks/xml/library/x-xmlns11.html - May, 2004
  • Use RDDL with your XML and Web services namespaces by Uche Ogbuji   - [Clicks: 7]
    The spaghetti of namespaces in, say, a WSDL file can lead to a lot of confusion. Resource Directory Description Language (RDDL) packages information on a namespace. If you use URLs for namespaces, use RDDL as described in this article to provide useful guides to users of your XML documents or Web services.
    http://www-106.ibm.com/developerworks/xml/library/x-rddlns.html - May, 2004
  • Working XML: UML, XMI, and code generation, Part 2 by Benoit Marchal   - [Clicks: 12]
    In the second part of this series on UML and XML, Benoit introduces the UML metamodel. He proceeds to XMI, the XML-based specification for the exchange of models. He then shows how to map from the metamodel to XML schema. As an illustration, he includes two stylesheets that provide simple round-trip engineering between UML and XML.
    http://www-106.ibm.com/developerworks/library/x-wxxm24/ - May, 2004
  • XML Matters: GUIs and XML configuration data by David Mertz   - [Clicks: 7]
    Over time, XML has permeated many niches. One area where XML is used increasingly is in the configuration of graphical user interfaces, especially in elements that are persistent but should not be fixed at compile-time. In this installment, David looks at the use of XML in Mac OS X's Aqua GUI, and in the K Desktop Environment (KDE) which is either standard or available in most modern Linux distributions.
    http://www-106.ibm.com/developerworks/xml/library/x-matters34.html - Apr, 2004
  • Use XML namespaces with care by Uche Ogbuji   - [Clicks: 5]
    XML namespaces are an imperfect solution to a difficult problem. From basic information architecture to difficulties with APIs, namespaces can open up rather painful gotchas if used carelessly. In this article, Uche Ogbuji covers some of the more important design principles which, if followed, can minimize problems with namespaces.
    http://www-106.ibm.com/developerworks/xml/library/x-namcar.html - Apr, 2004
  • Working XML: UML, XMI, and code generation, Part 1 by Benoit Marchal   - [Clicks: 34]
    In this first article in a new series on UML and XML schema development, Benoit discusses the motivations for modeling XML schema through the use of UML. He also introduces XML Metadata Interchange (XMI) and sketches out a strategy for deriving XML schemas automatically from UML models.
    http://www-106.ibm.com/developerworks/xml/library/x-wxxm23/ - Mar, 2004
  • XML Security: Ensure portable trust with SAML by Manish Verma   - [Clicks: 10]
    The Security Assertion Markup Language, or SAML, addresses the long-felt need to provide a mechanism that transfers information about entities between various cooperating domains without the need for those domains to lose the ownership of that information. The information exchanged could be assertions related to a subject or authentication information. This is also known as single sign-on.
    [Includes source code]
    http://www-106.ibm.com/developerworks/xml/library/x-seclay4/ - Mar, 2004
  • When to use elements versus attributes by Uche Ogbuji   - [Clicks: 11]
    The oldest question asked by adopters of XML is when to use elements and when to use attributes in XML design. As with most design issues, this question rarely has absolute answers, but developers have also experienced a lack of very clear guidelines to help them make this decision. In this article, Uche Ogbuji offers a set of guiding principles for what to put in elements and what to put in attributes.
    http://www-106.ibm.com/developerworks/xml/library/x-eleatt.html - Mar, 2004
  • A survey of XML standards: Part 4 by Uche Ogbuji   - [Clicks: 3]
    The world of XML is vast and growing, with a huge variety of standards and technologies that interact in complex ways. It can be difficult for beginners to navigate the most important aspects of XML, and for users to keep track of new entries and changes in the space. XML is a basic syntax upon which you develop local and global vocabularies. Uche Ogbuji has presented the most important standards relating to XML in three in-depth articles. In this fourth article, he provides a detailed cross-reference of all the covered standards.
    http://www-106.ibm.com/developerworks/xml/library/x-stand4/ - Mar, 2004
  • XML Watch: WBXML and basic SyncML server requirements by Edd Dumbill   - [Clicks: 33]
    In the second installment of his quest to make his data available wherever and whenever he wants by using SyncML, Edd Dumbill encounters Wireless Binary XML (WBXML) and examines the minimum functionality required for a SyncML server.
    [Includes source code]
    http://www-106.ibm.com/developerworks/xml/library/x-syncml2.html - Mar, 2004
  • Getting Reacquainted with dbXML 2.0 by Tom Bradford   - [Clicks: 7]
    The second version of dbXML is much improved over its predecessor, offering transactions, security features, new APIs and query mechanisms. Tom Bradford gives us an update.
    http://www.xml.com/pub/a/2004/02/25/dbxml.html - Feb, 2004
  • Thinking XML: A glimpse into XML in the financial services industry by Uche Ogbuji   - [Clicks: 2]
    A recent conference on XML in the financial services industry was an occasion for sober reflection on XML in the real world. Is XML finding its way into practical solutions? What best practices are guiding the adoption of XML? In this column, Uche Ogbuji ponders XML through the prism of the financial services industry, and presents some of the more important XML standards relevant to that industry.
    http://www-106.ibm.com/developerworks/xml/library/x-think22.html - Feb, 2004
  • A survey of XML standards, Part 3 by Uche Ogbuji   - [Clicks: 6]
    The world of XML is vast and growing, with a huge variety of standards and technologies that interact in complex ways. It can be difficult for beginners to navigate the most important aspects of XML, and for users to keep track of new entries and changes in the space. XML is a basic syntax upon which you develop local and global vocabularies. The key to its success is that several very important data formats are defined as XML vocabularies. In this article, Uche Ogbuji presents the most important of these.
    http://www-106.ibm.com/developerworks/xml/library/x-stand3.html - Feb, 2004
  • Create rich client apps with the DOM by Mike Padilla   - [Clicks: 8]
    Move your Web applications beyond the handicap of the ubiquitous thin client architecture. Today's browsers finally support advanced client-side interactions across all objects in an HTML document. Thanks to the Document Object Model (DOM), UI designers can now create interfaces that let users manipulate data in real time while still offering the conveniences of a Web application. Author Mike Padilla shows you how to implement code that exposes robust client-side functionality that is both clean and extensible.
    http://www-106.ibm.com/developerworks/web/library/wa-richcli.html - Feb, 2004
  • A survey of XML standards: Part 2 by Uche Ogbuji   - [Clicks: 6]
    The world of XML is vast and growing, with a huge variety of standards and technologies that interact in complex ways. It can be difficult for beginners to navigate the most important aspects of XML, and for users to keep track of new entries and changes in the space. Uche Ogbuji continues this series on XML standards by focusing on XML processing technologies.
    http://www-106.ibm.com/developerworks/xml/library/x-stand2.html - Feb, 2004
  • XML Security: The XML Key Management Specification by Manish Verma   - [Clicks: 9]
    The XML Key Management Specification (XKMS) outlines an easy mechanism for accessing and integrating with Public Key Infrastructure (PKI). In this article, Manish Verma explains the objective behind XKMS and then offers a step-by-step guide to using the XKMS service to register and retrieve information related to a public and/or private key.
    [Includes source code]
    http://www-106.ibm.com/developerworks/xml/library/x-seclay3/ - Jan, 2004
  • A survey of XML standards: Part 1 by Uche Ogbuji   - [Clicks: 9]
    The world of XML is vast and growing, with a huge variety of standards and technologies that interact in complex ways. It can be difficult for beginners to navigate the most important aspects of XML, and for users to keep track of new entries and changes in the space. In this series of articles, Uche Ogbuji provides a guide to XML standards, including a wide range of recommended resources for further information.
    http://www-106.ibm.com/developerworks/library/x-stand1.html - Jan, 2004

[Top]

Tips:
  • Tip: Use XML to send SMS messages by Nicholas Chase   - [Clicks: 8]
    Many developers tend to think of Web services as a way to easily move information from one place to another, but it's also important to understand how integral a Web service can be to the overall application. This tip gives some examples of using XML for Short Message Service (SMS) messages. If you're familiar with SMS, you'll find out how adding this tool to your toolbox can help you; if you're not an SMS developer, you'll see a real-life example of how Web services are integrated into an application.
    http://www-106.ibm.com/developerworks/library/x-tipsms1.html - Jun, 2004
  • Tip: Use data dictionary links for XML and Web services schemata by Uche Ogbuji   - [Clicks: 10]
    When designing XML and Web services schemata you will often (and ideally) reuse data elements defined in pre-existing standards. When you do, it is extremely useful to include links to such standards, providing precise data dictionary references. In so doing, you make processing and maintenance easier to automate. This tip illustrates this practice.
    http://www-106.ibm.com/developerworks/xml/library/x-tipdict.html - May, 2004
  • Tip: Always use an XML declaration by Uche Ogbuji   - [Clicks: 4]
    The XML declaration is optional in XML files, and defaults determine most of the information in the file. However, problems are common when these defaults do not match reality -- for example, the document could use an encoding other than one of the defaults. It's always safer to make the XML declaration. In this tip, Uche Ogbuji covers what should be included in the XML declaration on all files.
    http://www-106.ibm.com/developerworks/xml/library/x-tipdecl.html - Apr, 2004

[Top]

Tutorials:
  • Use Cascading Stylesheets to display XML by Uche Ogbuji   - [Clicks: 14]
    Cascading Stylesheets (CSS) are well known as the most standards-compliant means of manipulating the look of HTML Web pages. They also happen to be the most practical way of displaying XML in browsers. Browsers have included support for CSS applied to XML much longer than XSLT, and the CSS implementations are generally more complete and reliable. This tutorial shows how to use CSS to present XML in Web browsers.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/x-dw-x-xmlcss-i.html - Nov, 2004
  • XML programming in Java technology, Part 3 by Doug Tidwell   - [Clicks: 17]
    This advanced tutorial covers more sophisticated topics for manipulating XML documents with Java technology. Author Doug Tidwell shows you how to do tasks such as generate XML data structures, manipulate those structures, and interface XML parsers with non-XML data sources. As you'd expect, all of the examples are based on open standards.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/x-dw-xjava3-i.html - Jul, 2004
  • XML programming in Java technology, Part 2 by Doug Tidwell   - [Clicks: 17]
    In an earlier tutorial, Doug Tidwell looked at the basics of XML parsing in the Java language. He covered the major APIs (DOM, SAX, and JDOM), and went through a number of examples that demonstrated the basic tasks common to most XML applications. In this tutorial, he looks at more difficult things that weren't covered in Part 1, such as working with namespaces, validating XML documents, building XML structures without a typical XML document, converting between one API and another, and manipulating tree structures. He also shows you some of the more esoteric features of DOM, SAX, JDOM, and JAXP.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/x-dw-xjava2-i.html - Jul, 2004
  • XML programming in Java technology, Part 1 by Doug Tidwell   - [Clicks: 34]
    This updated tutorial covers the basics of manipulating XML documents using Java technology. Doug Tidwell looks at the common APIs for XML and discusses how to parse, create, manipulate, and transform XML documents.
    [Formats: HTML, PDF, Zip]
    http://www-106.ibm.com/developerworks/edu/x-dw-xml-i.html - Jan, 2004

[Top]