Skip to main content

Skip over site navigation to main content

developerWorks  >   XML  >   Technical library  >  

Technical library view  RSS for XML

developerWorks
 Related links:    Redbooks  |  Forums  |  Standards

Filter your search and/or enter a keyword. If you don't filter your search or enter a keyword, the search results will default to all results.

 
 
 
  1 - 75 of 75 results    Hide Summaries
Title   Type   Date  

Table that contains the results that meet the search criteria.

Build a Support Knowledge Base using DB2 pureXML and PHP
Creating applications that use a hybrid of relational data and XML data is easy thanks to the pureXML feature of IBM DB2 database servers. In this tutorial, you use PHP to create a Web application that connects to an IBM DB2 Express-C database and stores some of its data in traditional relational database columns, and some of it in native XML columns. You also learn how to use SQL/XML queries to retrieve, insert, update, and delete data from this database. Beyond the hands-on, project-based training, the tutorial equips you with the skills and conceptual knowledge you need to develop your own hybrid applications.
Tutorial 19 Nov 2009  
 
Index of XML standards
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. This index provides a detailed cross-reference of many XML standards, including links to additional coverage for each.
19 Nov 2009  
 
Leveraging pureXML in a Flex microblogging application, Part 1: Enabling Web services with DB2 pureXML
The pureXML capabilities of IBM DB2 allow you to store XML natively in a database without modification, while Adobe Flex applications can read XML directly and populate Flex user interfaces. In this three-part article series, you will create a microblogging application that takes advantage of pureXML, Web services, and Adobe Flex; and even allows you to publish your microblogging updates on Twitter.
Articles 03 Nov 2009  
 
Building XQuery-powered applications with PHP and Zorba
Zorba is an open-source, robust, and standards-compliant XQuery processor. The Zorba extension in PHP provides an API to Zorba functions from within PHP, and thereby allows developers to add sophisticated XQuery processing to their PHP/XML applications. Examine the Zorba PHP API in detail, and how to use it for a variety of purposes.
Articles 03 Nov 2009  
 
Monitor home energy with AMEE
Electricity is invisible. To understand how people use it, you need to make it visible. This tutorial will show you how easy it is to build a Web-based energy monitoring system yourself, using a Current Cost real-time energy monitor and AMEE, a neutral Web-based API for energy data, combined with some XML, Ruby, Rails, and Ajax.
Tutorial 29 Sep 2009  
 
Tip: Data scoring: Convert data with XQuery
The process of converting data is one of migrating information from an unsuitable source or format to a suitable one -- often not an exact science. Data scoring is a way to measure the accuracy of your conversion. Discover a simple scoring technique in XQuery that you can apply to the result of a small text-to-XML conversion.
Articles 29 Sep 2009  
 
IBM InfoSphere DataStage and DB2 pureXML, Part 1: Integrate XML operational data into a data warehouse
Learn how to integrate business-critical XML data into your data warehouse using IBM InfoSphere DataStage 8.1 and DB2 9.5 pureXML. This two-part article series provides step-by-step instructions for using pureXML as both a source and target data source for InfoSphere DataStage jobs.
Articles 20 Aug 2009  
 
Exploit XML indexes for XML query performance in DB2 9
DB2(R) 9 provides pureXML storage and offers XQuery and SQL/XML as query languages. XML indexes are essential for high query performance, but their usage for query evaluation depends on how query predicates are formulated. This article presents a set of guidelines for writing XML queries and creating XML indexes in a consistent manner so that indexes speed up your queries as expected. Also learn what to look for in XML query execution plans to detect performance issues, and find out how to fix them. A downloadable "cheat sheet" summarizes the most important guidelines. This article has been updated for DB2 9.5 and 9.7. [2009 Jul 30: This article has been updated for DB2 9.5 and 9.7, including additional SQL/XML sample queries.--Ed.]
Articles 29 Jul 2009  
 
15 best practices for pureXML performance in DB2
DB2 9 introduces pureXML support, which means that XML data is stored and queried in its inherent hierarchical format. To query XML data, DB2 offers two languages, SQL/XML and XQuery. Additionally, DB2 9 has sophisticated XML indexing capabilities and support for XML Schema validation. While most existing performance guidelines for DB2 also apply to XML data, this article provides additional XML-specific performance tips. This article has been updated for DB2 9.5. [2009 May 26: Corrected code in Listings 12 and 13.--Ed.]
Articles 26 May 2009  
 
Using DB2 XQuery to extract data mining results stored as PMML
Data mining is the process of finding rules and patterns in structured data. DB2(R) data mining uses Intelligent Miner, which is part of InfoSphere(R) Warehouse. Intelligent Miner(R) stores those results in Predictive Model Markup Language (PMML) format, which is based on XML. Since the launch of DB2 9, information stored in XML can be processed efficiently using XQuery. Find out how easily you can use DB2 XQuery to create your own access methods based on your data mining results.
Articles 21 May 2009  
 
Enhance business insight and scalability of XML data with new DB2 9.7 pureXML features
New database design, administration, and development features for pureXML are available in IBM DB2(R) for Linux(R), UNIX(R), and Windows(R), Version 9.7 (announced April 22, 2009). Find out more about how these technologies can help companies integrate XML data more effectively into business intelligence environments and how companies can cope with growing XML data volumes. This article summarizes the new pureXML capabilities, explains how they can be used, and discusses sample application scenarios.
Articles 23 Apr 2009  
 
Make dashboards with XQuery
Many digital dashboards that cropped up in the 1980s were horrible (if not unsubtle) analogs to a car's dashboard. Very few presented business data in a compelling manner. Today, Web-based dashboards try to achieve the same thing. Discover what makes a good dashboard, and learn to identify and leverage key performance indicators (KPIs) for more effective digital dashboards. Finally, build a Web dashboard using the eXist XML database and XQuery.
Articles 31 Mar 2009  
 
Use XQuery for the presentation layer
Many Web applications use the Model-View-Controller (MVC) pattern to separate the three concerns. Using XQuery for presentation enables view-side developers to create robust presentation effects without tying the view to any particular underlying application server or programming language. This article explains in detail the advantages of using XQuery over other view technologies, how XQuery is implemented in the presentation layer, and a realistic example of such an implementation.
Articles 10 Mar 2009  
 
Work with GPX XML in DB2 9.5 using JDBC
Many XML capabilities were introduced in IBM DB2 9 and 9.5 through the pureXML feature. In this article, see how you can exercise administrative functions, such as XML metadata management, and application development functions, such as XML manipulation and storage, through JDBC.
Articles 15 Jan 2009  
 
Create business reports for XML data with Cognos 8 BI and DB2 pureXML
Learn how creating relational views of hierarchical XML data as well as writing SQL-based queries over XML data can enable you to extract important information from XML documents and messages, integrate this information with existing relational data, and create reports for business analysts and executives.
Articles 26 Nov 2008  
 
Efficient case-insensitive search with DB2 pureXML
The values of XML elements and attributes are, by definition, case sensitive. For example, if you search <city> elements for the value "Paris," you will not find "PARIS" or "paris." This can be solved with XQuery functions such as fn:upper-case(), but the performance will not always be optimal since the use of such functions precludes the use of XML indexes. This article explains how to create a case-insensitive database using DB2 pureXML and what behavior to expect for XML queries and XML indexes.
Articles 13 Nov 2008  
 
Advanced XQuery: Creating custom functions
XQuery functions enable you to define common expressions once and reuse them frequently. The end result is tighter, more robust code that is easier to maintain. Using XQuery API for Java (XQJ), this tutorial demonstrates an implementation of XQuery functions within a Java environment.
Tutorials 11 Nov 2008  
 
XQuery update
XQuery, the query language for XML, can be used to modify XML. In this article, learn about the various ways to modify XML, including XML stored in memory or in a DB2 pureXML database. Explore the different ways to modify XML in four different use cases: health care, business, financial derivatives, and information technology. while utilizing DB2 pureXML. Finally, examine guidelines for when to use XQuery to perform either sub-document updates or full document replacement and versioning of the stored XML.
Articles 09 Oct 2008  
 
XForms and Ruby on Rails at the doctor's office, Part 1: Setting up IBM DB2 9 pureXML
This is the first article in a four-part series about using XForms, DB2 pureXML, and Ruby together to more easily create Web applications. In this series you will develop a hypothetical application for managing patient information at a doctor's office. You will get a taste of the individual strengths of each technology, but you will also see how to integrate them together. In this first part of the series, you will examine how XForms, DB2 pureXML, and Ruby on Rails can all help more rapidly build XML-centric Web applications.
Articles 01 Oct 2008  
 
Advancing with XQuery: Develop application idioms
The XQuery specification is well over a year old now. A surfeit of solid implementations combined with (if developer chatter is anything to go by) marked new interest, seems to indicate that XQuery is finally experiencing higher adoption rates. Possibly this is due to developers starting to figure out how to utilize XQuery within a rich mixture of XML technologies (such as XML databases. XSLT, XML Schema). Learn how to use XQuery beyond its original role as an XML query language and apply it toward the development of middleware and Web applications.
Tutorials 30 Sep 2008  
 
Process instance data using schema information
In this article, you meet a function library implemented in pure XSLT that enables applications to take advantage of XPath 2 schema-related node tests which are only available in schema-aware processors. You will also see how to decouple the validation process from the instance data processing. You can use the XSLT function library with any basic XSLT 2 processor to employ the schema information to process instance data -- and apply the same approach equally to XQuery applications, too.
Articles 19 Aug 2008  
 
Evaluating XPaths from the Java platform
XPath makes selecting elements, attributes, and text in an XML document easy. Learn how to evaluate XPaths from Java programming, and work with the returned nodes.
Articles 08 Jul 2008  
 
Locate specific sections of your XML documents with XPath, Part 2
Part 1 of this tutorial gave you a foundational understanding of XPath. Using slash notation, wildcards, unions, and simple text, you learned how to locate elements and attributes anywhere within an XML document. However, sometimes you need more than just matching based on the name of a node. Predicates give you advanced and refined searching capabilities, allowing you to evaluate the values of attributes and the parent and child nodes of a targeted element. Rather than find a wider node set and refine or filter that set programmatically, you can add predicates to your XPaths to find exactly the nodes you want.
Tutorials 17 Jun 2008  
 
Locate specific sections of your XML documents with XPath, Part 1
XML is a data format concerned primarily with compatibility and flexibility. But as useful as XML is, it's limited without the abilities to find specific portions of a document quickly and to filter and selectively locate data within a document. XPath provides the ability to easily reference specific text, elements, and attributes within a document -- and with a fairly low learning curve. Additionally, XPath is key to many other XML vocabularies and technologies, such as XSL and XQuery. This tutorial will teach you the fundamentals of XPath, including all of its various selectors and semantics, in an example-driven and hands-on manner.
Tutorials 10 Jun 2008  
 
Using XQuery and VoiceXML
XQuery and VoiceXML are a perfect combination. XQuery provides a very simple and direct method to generate XML documents from other XML documents. Because you can pick and choose the different elements that you want from the source XML file, and format the output file in any way you wish, you can easily produce a VoiceXML document that contains the exact information you need. In this tutorial, you see how to employ XQuery with XML documents to build complex and dynamic systems that take input and information from a VoiceXML environment and combine them with existing XML documents to produce interactive applications.
Tutorials 06 May 2008  
 
Use XQuery from a Java environment
The XQuery API makes querying and searching XML documents easy, and Sun's XQuery API for Java brings these capabilities to Java applications.
Articles 29 Apr 2008  
 
How XQuery extends XPath
XPath and XQuery are similar in some ways. XPath is even an integral part of XQuery. Both languages allow you to select bits of data from an XML document or an XML document store. In this article, you'll find descriptions of XPath and XQuery, and learn how XQuery extends XPath.
Articles 01 Apr 2008  
 
Top ten XML articles and tutorials - March 2008
See what XML content your peers found most valuable last month
07 Mar 2008  
 
Top ten XML articles and tutorials - January 2008
See what XML content your peers found most valuable last month
07 Mar 2008  
 
The future of XML
Elliotte Rusty Harold prognosticates what he thinks is in store for XML.
Articles 05 Feb 2008  
 
Aggregate RSS and Atom information using XQuery
XQuery makes it much easier to merge and filter information from XML documents when you embed the filtering instructions right into the document that you use to generate the output format. You can use that functionality to aggregate information from RSS and Atom feeds into the format you need. In this article, look at the structure of the RSS and Atom formats and how XQuery can simplify the display of that information.
Articles 05 Feb 2008  
 
Top ten XML articles and tutorials - December 2007
Explore the XML content that your fellow readers recently focused on.
07 Jan 2008  
 
XML 2007
Join Elliotte Rusty Harold for a look back at the most significant XML news from 2007.
Articles 31 Dec 2007  
 
Top ten XML articles and tutorials - November 2007
Explore the XML content that your fellow readers recently focused on.
11 Dec 2007  
 
Top ten XML articles and tutorials - October 2007
Explore the XML content that your fellow readers recently focused on.
08 Nov 2007  
 
Update XML in DB2 9.5
Modify, insert, or delete individual elements and attributes within an XML document with XQuery Update Facility, a standardized extension to XQuery. This makes updating XML data easier and provides higher performance.
Articles 11 Oct 2007  
 
Top ten XML articles and tutorials - August 2007
Explore the XML content that your fellow readers recently focused on.
13 Sep 2007  
 
XMLTABLE by example, Part 1: Retrieving XML data in relational format
Are you curious about how you can maximize the XMLTABLE function in SQL/XML? Do you want to learn how to retrieve XML data in a relational format? This article describes the XMLTABLE function in detail and presents a series of examples showing how to use this function in DB2 9 for Linux, Unix, Windows and DB2 9 for zOS.
Articles 30 Aug 2007  
 
pureXML in DB2 9: Which way to query your XML data?
DB2 9 introduces pureXML support, which means that XML data is stored and queried in its inherent hierarchical format. To query XML data, DB2 offers two languages, SQL/XML and XQuery. You can use XQuery and SQL separately, but you can also use XQuery embedded in SQL and vice versa. This gives you a lot of flexibility and options for querying your XML data. Each of these options is useful under certain circumstances. In this article we describe these options, their respective advantages and disadvantages, and guidelines for choosing the right one for your needs.
Articles 28 Aug 2007  
 
Program with XML for DB2, Part 3: Program with XML in the client
Learn how to extend the XML model in order to create rich clients using XML data transferred from your application server. Discover how to use Dynamic HTML (DHTML) to present the XML, XPath to navigate the XML and the Document Object Model (DOM) to modify and serialize the XML back to the application server.
Articles 16 Aug 2007  
 
Preserving XML queries during schema evolution
XML schemas are constantly evolving to address changes to business requirements, message exchange standards, and persistence and compliance requirements. How do you write applications or queries on data whose schemas are evolving? How do you expect applications or queries to behave when schemas change? This article explores these schema evolution issues and provides several guidelines for application developers to deal with changing schemas.
Articles 05 Jun 2007  
 
Top ten XML articles and tutorials - April 2007
Explore the XML content that your fellow readers recently focused on.
04 May 2007  
 
Simplify XML reads and writes
XPath can dramatically simplify and speed applications with even modest XML involvement. If XPath isn't already in your toolkit, now's the time to add it. Concrete examples coded in brief Python make the appeal of query idioms apparent.
Articles 03 Apr 2007  
 
Process XML using XQuery
For years developers have used SQL to retrieve data from structured sources such as relational databases. But what about unstructured and semi-structured sources, such as XML data? To be viable as a data source, XML needed a means to conveniently retrieve the data. XQuery provides this means, allowing developers to write a statement that both extracts data and (if necessary) structures the results as XML. This tutorial shows you how to use XQuery to retrieve information from an XML document stored in an XQuery-enabled database. It also explains the ways in which XPath changes with version 2.0, and what those changes mean for data management.
Tutorials 27 Mar 2007  
 
DB2 9 Application Developer Certification Exam 733 prep, Part 3: XML data manipulation
Learn how DB2 parses XML, handles whitespace, and serializes XML, and see how document encoding and client data type affect parsing and serialization. Learn, also, how DB2 validates XML against an XML schema as well as how to use SQL/XML functions to "shred" XML to relational data, assemble relational into XML, and publish XML as relational data types to hold XML data.
Tutorials 16 Mar 2007  
 
Ten predictions for XML in 2007
2006 was a quiet year for XML. Will 2007 be more exciting? Elliotte Rusty Harold predicts it will be.
Articles 13 Feb 2007  
 
XML in 2006
Join Elliotte Rusty Harold for a look back at the most significant XML news from 2006.
Articles 16 Jan 2007  
 
Hello World: Learn the basic features and concepts of DB2 for Linux, UNIX, and Windows
Get an overview of DB2 for Linux, UNIX, and Windows in this basic tutorial, which includes demos and hello world exercises. You'll need to download the free trial version of DB2 for Linux, UNIX, and Windows. This tutorial introduces you to some basic features and concepts in DB2 for Linux, UNIX, and Windows and shows you how to implement a database in DB2 environment. It includes exercises that provide step-by-step instructions on how to create a database, how to create DB2 objects such as tables, indexes, views and constraints, how to get data in and out of the database, and how to query the data in the database.
Tutorials 12 Dec 2006  
 
Planning to upgrade XSLT 1.0 to 2.0, Part 2: Five strategies for changing from XSLT 1.0 to 2.0
XSLT 2.0 has features that allow a gradual upgrade of 1.0 stylesheets. However, some situations call for an overhaul, so you can review and improve the whole architecture. Should you overhaul or try the gradual approach? This article presents some relevant design issues to help you decide. You also get some guidance on the organizational characteristics that indicate success or difficulty for each upgrade strategy.
Articles 14 Nov 2006  
 
XML and Related Technologies certification prep, Part 3: XML processing
Parsing and validation represent the core of XML. Knowing how to use these capabilities well is vital to the successful introduction of XML to your project. This tutorial on XML processing teaches you how to parse and validate XML files as well as use XQuery. It is the third tutorial in a series of five tutorials that you can use to help prepare for the IBM certification Test 142, XML and Related Technologies.
Tutorials 26 Sep 2006  
 
SQL and XQuery tutorial for IBM DB2, Part 7: Introduction to XML and XQuery
This tutorial introduces pureXML and XQuery, starting from a basic overview of the characteristics and advantages of the XML data type, and then compares it with standard relational tables. Users are then asked to write XQueries to retrieve XML elements, filter data based on XML values, transform XML output, and use various clauses to select data more precisely. The tutorial ends with a section on mixing XQuery and SQL. This tutorial is Part 7 of the SQL & XQuery tutorial for IBM DB2 series. (Note: You must have DB2 9 installed to do the hands-on exercises in this tutorial.)
Tutorials 31 Aug 2006  
 
SQL and XQuery tutorial for IBM DB2: SQL and XQuery tutorial series for IBM DB2
This tutorial series introduces readers to the Aroma database to apply Structured Query Language (SQL) and XML Query (XQuery) knowledge to solve typical business questions. Also included are detailed instructions for installing DB2 and the Aroma database.
Articles 31 Aug 2006  
 
SQL & XQuery tutorial for IBM DB2, Part 5: Data comparison
This tutorial describes queries that compare data in an IBM DB2 database. This is accomplished by using either CASE expressions or subqueries. This tutorial is Part 5 of the SQL and XQuery tutorial for IBM DB2 series.
Tutorials 24 Aug 2006  
 
SQL and XQuery tutorial for IBM DB2, Part 4: Data analysis
This tutorial describes how to write queries that require basic data analysis. Many of the queries contain sequential calculations, or calculations that operate on an ordered set of rows--queries frequently encountered during business analysis. On-Line Analytical Processing (OLAP) functions provide the ability to return ranking, row numbering and existing column function information as a scalar value in a query result. This tutorial is Part 4 of the SQL and XQuery tutorial for IBM DB2 series.
Tutorials 17 Aug 2006  
 
SQL and XQuery tutorial for IBM DB2, Part 3: SQL joins and unions
This tutorial describes two ways to combine data from different tables in an IBM DB2 database: by joining the tables with inner or outer joins and by using the UNION, EXCEPT, and INTERSECT operators, which take the intermediate result set from one query expression and combine it with the result set from another query expression. This tutorial is Part 3 of the SQL & XQuery tutorial for IBM DB2 series.
Tutorials 10 Aug 2006  
 
SQL and XQuery tutorial for IBM DB2, Part 2: Basic queries
Through a series of simple examples, this tutorial illustrates how to retrieve data from an IBM DB2 database with standard SQL SELECT statements. This tutorial describes how to retrieve rows from a relational database table, retrieve specific columns, retrieve specific rows, reform logical operations on retrieved data, and use wildcard characters in search conditions. This tutorial is Part 2 of the SQL & XQuery tutorial for IBM DB2 series.
Tutorials 03 Aug 2006  
 
SQL and XQuery tutorial for IBM DB2, Part 1: Introduction to Aroma and SQL
This tutorial introduces readers to the Aroma database to apply Structured Query Language (SQL) and XML Query (XQuery) knowledge to solve typical business questions. Also included are detailed instructions for installing DB2 and the Aroma database. This tutorial is Part 1 of the SQL & XQuery Tutorial for IBM DB2 series.
Tutorials 03 Aug 2006  
 
Power your mashups with XQuery
Today Web developers and architects can develop dynamic Web applications that offer a better user experience. The changing paradigm of Web application frameworks presents numerous challenges. Learn how XQuery can be effective in facing these challenges, as you create a sample mashup application.
Articles 25 Jul 2006  
 
Document-level security using DB2 9 pureXML and LBAC
DB2 9 pureXML provides native XML storage and retrieval. In addition, DB2 9 provides a new security protection mechanism called Label Based Access Control (LBAC). Combining these two features can produce a Native XML data store that can protect XML documents at the document level by labeling each document row with an LBAC security label, and assigning users their appropriate access level.
Tutorials 13 Jul 2006  
 
XML full-text search in DB2
With the support of natively storing XML documents, IBM DB2 9 takes an evolutionary step towards a hybrid database system. XQuery, a new primary language in DB2, allows for optimally working with XML. However, XML also often contains large portions of text that are not easily searchable with XQuery. To efficiently search these unstructured parts of the documents, DB2 provides a full-text search solution. This article focuses on the basics of DB2 text search, including text index creation and administration. This article also explores specific features of DB2 full-text search, such as searching for keywords or phrases in the XML document structure with fuzzy search, proximity search, and stemming.
Articles 29 Jun 2006  
 
DB2 XML evaluation guide
The DB2 XML Evaluation Guide is a step-by-step tutorial to introduce the reader to the DB2 Viper data server on Windows platforms using the XML storage and searching (SQL/XML, XQuery) capabilities available to support next-generation applications.
Tutorials 01 Jun 2006  
 
Working XML: Get started with XPath 2.0
XPath 2.0 is the foundation of two essential recommendations currently in the final stages of development at W3C: XSLT 2.0 and XQuery. It is a major rewrite designed to significantly increase the power and efficiency of the language. In this article, Benoit Marchal shows how the new data model enables you to easily write more sophisticated requests.
Articles 30 May 2006  
 
Working XML: Comparing XSLT 2.0 and XQuery
The W3C is putting the final touches on major updates of XSLT and XPath. In the process, they have created a new language, XQuery, which might compete with XSLT in some projects. Learn the specifics of each language and decide which one will save you more time in your projects.
Articles 04 Apr 2006  
 
FastSOA: Accelerate SOA with XML, XQuery, and native XML database technology
Many SOA implementations rely on message formats defined with XML. The resulting message schemas can become complex, incompatible, and difficult to maintain, and can cause serious scalability and performance problems. In this article, Frank Cohen describes a new strategy and techniques for accelerating SOA performance through the use of XML, XQuery, and native XML database technology in the SOA mid-tier.
Articles 07 Feb 2006  
 
An introduction to XQuery
Howard Katz introduces the W3C's XQuery specification.
Articles 06 Jan 2006  
 
Debunking XQuery myths and misunderstandings
XQuery shows much promise for software architects and developers because it greatly reduces the amount of code you need to write to build services that work with XML. You might think XQuery does everything and is well understood, but misconceptions and misunderstandings still exist in the software development community about XQuery. In this article, Frank Cohen details and clarifies many of the myths and misunderstandings that surround XQuery.
Articles 07 Jul 2005  
 
Java theory and practice: Make database queries without the database
When you have a hammer, everything looks like a nail (as the old saying goes). But what if you don't have a hammer? Well, sometimes, you can borrow a hammer. Then, hammer in hand, you can bang the virtual nails with the borrowed hammer, return it, and no one is the wiser. In this month's Java theory and practice, Brian Goetz demonstrates how data manipulation hammers such as SQL or XQuery can be applied to ad-hoc data.
Articles 31 May 2005  
 
Use XQuery to transform an XML vocabulary into RDF
This tutorial shows you how to use XQuery to transform a specific XML vocabulary into RDF using RDF/XML as an intermediary medium. The query that you'll develop exhibits a number of basic XQuery syntactic features. The syntactic mechanisms discussed are useful both in this particular exercise and in transforming between XML vocabularies in general. A discussion of available tools covers several common XQuery processors, as well as an online RDF validation service that's used to check the correctness of the final RDF. RDF and RDF/XML are explained in sufficient detail (albeit briefly) that novice readers should be able to understand the context of what's going on.
Tutorials 27 Sep 2004  
 
Programming With XMLBeans
Get an in-depth look at the features and functionality of XMLBeans. This article introduces the technology with a simple example, takes you through the step-by-step process of compilation and binding, and discusses advanced features like XML cursors, tokens, and XQuery expressions. It also discusses how XMLBeans is more powerful than other XML-Java technology data binding techniques.
Articles 17 Sep 2004  
 
A survey of XML standards: Part 4
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.
Articles 02 Mar 2004  
 
A survey of XML standards: Part 2
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.
Articles 03 Feb 2004  
 
XQuery from the Experts: Influences on the design of XQuery
IBM's own XQuery pioneer Don Chamberlin discusses the emergence of the XQuery language -- specifically, the need for a query language for XML data, and the basic principles behind it.
Articles 03 Sep 2003  
 
JavaCC, parse trees, and the XQuery grammar, Part 1
After a brief discussion of grammars, parsers, and BNF, this article introduces JavaCC, a popular parser generator tool. You'll develop sample code that uses JavaCC to build a custom parser, starting from a BNF description of the grammar. Part 2 goes on to show how to use an auxilliary tool, JJTree, to build a parse tree representation of the same parse and how to walk that tree at runtime to recover its state information. The article concludes by developing sample code to build and walk a parse tree that you'll generate for a small portion of the XQuery grammar.
Articles 01 Dec 2002  
 
JavaCC, parse trees, and the XQuery grammar, Part 2
Part 1 of this article took an introductory look at grammars, parsers, and BNF. It then introduced JavaCC, a popular parser generator. Part 2 shows you how to modify the sample code in Part 1 so that you can use an additional tool, JJTree, to build a parse tree representation of the same parse. You'll explore the advantages of this approach and look at how to write Java code to walk the parse tree at runtime in order to recover its state information, and evaluate the expression being parsed. The article concludes by showing you how to develop a generalizable routine for walking and evaluating a parse tree that you'll generate from a small portion of the XQuery grammar.
Articles 01 Dec 2002  
 
XML for Data: An early look at XQuery
This column looks at the current state of the XML Query (a.k.a. XQuery) working draft. Kevin Williams shows how to use the FLWR ("flower") clauses, introduces the distinct-values function (which lends itself to pivoting data relationships), and offers his assessment of how XQuery will affect data document manipulation. Code samples in XQuery and XML demonstrate the use of for, let, where, and return (FLWR) clauses.
Articles 01 Feb 2002  
 
  1 - 75 of 75 results    Hide Summaries
Not finding what you're looking for? Suggest Content