|
| |
| | XPath - Wikipedia, the free encyclopedia |
 | | XPath syntax is designed to mimic URI (Uniform Resource Identifier) syntax or file name syntax. |  | | Originally motivated by a desire to provide a common syntax and behavior model between XPointer and XSL, XPath has rapidly been adopted by developers as a small query language. |  | | XPath expressions which might be used in an XSL context are: |
|
http://en.wikipedia.org/wiki/XPath
(724 words)
|
|
| |
| | XPath - a Whatis.com definition |
 | | XPath is a language that is used by and specified as part of both the Extensible Stylesheet Language Transformations (XSLT) and by XPointer (SML Pointer Language). |  | | XPath is a language that describes a way to locate and process items in Extensible Markup Language (XML) documents by using an addressing syntax based on a path through the document's logical structure or hierarchy. |  | | XPath also allows the programmer to deal with the document at a higher level of abstraction. |
|
http://searchwebservices.techtarget.com/sDefinition/0,,sid26_gci345168,00.html
(370 words)
|
|
| |
| | XML Path Language (XPath) 2.0 |
 | | XPath has a natural subset that can be used for matching (testing whether or not a node matches a pattern); this use of XPath is described in [XSLT 2.0]. |  | | XPath is designed to be embedded in a host language such as [XSLT 2.0] or [XQuery]. |  | | In order for XPath to be well defined, the input XDM instance, the static context, and the dynamic context must be mutually consistent. |
|
http://www.w3.org/TR/xpath20
(10795 words)
|
|
| |
| | Java Pro - XPath 2.0: The Donald Sutherland of XML |
 | | XPath is also an integral part of the XML Query Language, although in that case it is somewhat secondary to the native FOR-LET-WHERE-RETURN (FLWR, pronounced "flower") form preferred in most of the XML Query use cases. |  | | When you make a query in XPath 1.0, what you are doing is creating a set of pointers to the nodes in an existing XML tree, rather than creating new nodes themselves. |  | | A big part of the reason for its underdog status is that XPath never appears by itself; instead, it always supports some other language. |
|
http://www.ftponline.com/javapro/2003_08/online/xpath_kcagle_08_25_03
(878 words)
|
|
| |
| | JXPath - JXPath User's Guide |
 | | When an XPath is evaluated, the engine performs a series of searches and computations in so called evaluation contexts. |  | | Exceptions thrown by accessor methods are treated differently depending on the evaluated xpath and the particular method used to do the evaluation. |  | | The interpretation of the XPath syntax in the context of Java object graphs is quite intuitive: the |
|
http://jakarta.apache.org/commons/jxpath/users-guide.html
(3884 words)
|
|
| |
| | XML.com: Implementing XPath for Wireless Devices |
 | | The parts of an XPath query are evaluated sequentially. |  | | XPath Tester and try XPath queries on XML files. |  | | This example shows that XPath syntax allows us to combine multiple XPath queries into a single complex query. |
|
http://www.xml.com/pub/a/2002/06/05/wirelessxpath1.html
(1822 words)
|
|
| |
| | javax.xml.xpath (Java 2 Platform SE 5.0) |
 | | XPath also provides rules for converting a node in an XML document object model (DOM) tree to a boolean, double, or string value. |  | | XPath is a W3C-defined language and an official W3C recommendation; the W3C hosts the XML Path Language (XPath) Version 1.0 specification. |  | | While XPath location paths resemble Unix-style file system paths, an important distinction is that XPath expressions return all nodes that match the expression. |
|
http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/xpath/package-summary.html
(621 words)
|
|
| |
| | XPath Basics |
 | | The easiest analogy for understanding the syntax of basic XPath is to think about your file system and the paths that you use to specify the location of files or folders within the file system. |  | | In the case of querying XML using XPath expressions in.NET, you do this by adding prefix and namespace URI pairs to an XmlNamespaceManager instance, then associating that namespace manager with the expression you are evaluating. |  | | They are vital to querying XML documents in.NET today, and are used by a number of related XML technologies that you may need now and in the future. |
|
http://www.aspnetpro.com/NewsletterArticle/2004/03/asp200403nb_l/asp200403nb_l.asp
(1955 words)
|
|
| |
| | Locate and format XML data with XPath functions |
 | | XPath allows you to quickly locate and extract information from an XML hierarchy, and it offers extended functionality via its built-in functions, which provide an easy way to work with numeric and textual data. |  | | The string and number XPath functions are two examples of this functionality. |  | | XPath provides numerous functions that make it easy to work with functions. |
|
http://builder.com.com/5100-6387-1057652.html
(394 words)
|
|
| |
| | DOM Level 3 XPath |
 | | interface is a wrapper for the four things an XPath expression might evaluate to (double, string, boolean, or node-set). |  | | That this expression returns a single value is indicated by foreknowledge of the input format, not by anything intrinsic to the XPath expression. |  | | You can use XPath to simplify this task. |
|
http://cafeconleche.org/books/xmljava/chapters/ch16s06.html
(1449 words)
|
|
| |
| | XML in a Nutshell: A Desktop Quick Reference: Chapter 9: XPath |
 | | XSLT uses XPath expressions to match and select particular elements in the input document for copying into the output document or further processing. |  | | XPath expressions can also represent numbers, strings, or Booleans, so XSLT stylesheets carry out simple arithmetic for numbering and cross-referencing figures, tables, and equations. |  | | However, XPath also offers an unabbreviated syntax for location paths that is more verbose, but perhaps less cryptic and definitely more flexible. |
|
http://www.oreilly.com/catalog/xmlnut/chapter/ch09.html
(5016 words)
|
|
| |
| | TopXML : Learn XSL & XPath Tutorial |
 | | The syntax for patterns is a subset of the syntax for [XPath] expressions. |  | | A node matches a pattern if the node is a member of the result of evaluating the pattern as an expression with respect to some possible context; the possible contexts are those whose context node is the node being matched or one of its ancestors. |  | | Predicates are true XPath expressions, and XPath is much more of a true language than patterns; for example, XPath expressions can return not only lists of nodes, but also Boolean, string, and numeric values. |
|
http://www.topxml.com/xsl
(2316 words)
|
|
| |
| | XML.com: What's New in XPath 2.0 |
 | | A better way of describing XPath 2.0 is as an expression language for processing sequences, with built-in support for querying XML documents. |  | | An understanding of them is a prerequisite to a deeper understanding and appreciation of the ways in which XPath 2.0 can be used. |  | | In fact, both working drafts and language grammars were automatically generated from a common source (using XML and XSLT, of course). |
|
http://www.xml.com/pub/a/2002/03/20/xpath2.html
(1014 words)
|
|
| |
| | 15 Seconds : Creating an In-Memory Database Using XML and XPath -- Part 1 |
 | | XPath is a subset of the XSLT standard and provides a few features that make it really powerful, such as hierarchical pattern matching with advanced Boolean logic. |  | | XPath is a relatively simple concept to anyone who has written SQL queries "where" conditions and is a surprisingly powerful alternative. |  | | The alternate way to query your XML data is by using an XPath query along with the.selectNodes method of the MSXML DOM. |
|
http://www.15seconds.com/issue/010409.htm
(4296 words)
|
|
| |
| | Mozilla XPath Documentation |
 | | In many situations, the return value of an XPath expression is not a node set but a simpler type: a number, a string or a boolean value. |  | | The XPath interface allows nodesets to be returned in a variety of different ways. |  | | object and are defined in the relevaant section of the XPath Spec. |
|
http://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html
(931 words)
|
|
| |
| | XML - encyclopedia article about XML. |
 | | XPath is a path expression language for selecting data within an XML file. |  | | This allows stylesheets in (for example) XSL and XSLT to dynamically "cherry-pick" pieces of a document in any sequence needed in order to compose the required output. |  | | The native file format of OpenOffice.org and AbiWord is XML. |
|
http://encyclopedia.thefreedictionary.com/XML
(6046 words)
|
|
| |
| | Visual XPath |
 | | Visual XPath is a graphical way of generating XPath query results. |  | | It can also be used to generate XPath queries dynamically by select XML nodes shown in the form of Tree. |  | | You can also generate queries for individual attributes. |
|
http://weblogs.asp.net/nleghari/articles/27951.aspx
(597 words)
|
|
| |
| | X Factor Studio |
 | | Different XPath implementations handle this in different ways. |  | | It allows you to write a short string query that defines a path to the nodes you want to select. |  | | XPath4AS2 is an ActionScript 2 library to add XPath functionality to Flash. |
|
http://www.xfactorstudio.com/Actionscript/AS2/XPath
(563 words)
|
|
| |
| | FXPath - Functional XPath - v0.3 |
 | | The approach is to define a small set of augmentations to [XPath 1.0] and a way of specifying FXPath functions inside an XSLT stylesheet. |  | | It is an error if the namespace URI of the expanded name of the function is null - extension functions must not be in a null namespace. |  | | The purpose of this specification is to define a language, FXPath - Functional XPath, suitable for implementing extension functions in [XSLT 1.0]. |
|
http://www.pantor.com/fxpath
(3282 words)
|
|
| |
| | Introduction to XPath |
 | | XPath is a language for finding information in an XML document. |  | | There are functions for string values, numeric values, date and time comparison, node and QName manipulation, sequence manipulation, Boolean values, and more. |  | | These path expressions look very much like the expressions you see when you work with a traditional computer file system. |
|
http://www.w3schools.com/xpath/xpath_intro.asp
(408 words)
|
|
| |
| | XML for Data: What's new in XPath 2.0? |
 | | Indeed, the entire data model in XPath 2.0 is now strongly typed: Rather than having simple string, number, and boolean types, values now use the primitives defined as part of the XML Schema specification. |  | | In version 2.0 of these specifications, the W3C attempts to make XSLT and XPath much more flexible and robust in order to handle the new way these technologies are being used. |  | | is available anywhere XPath is implemented -- so it is available as part of XQuery 1.0, as well as specialized XPath processors. |
|
http://www-106.ibm.com/developerworks/xml/library/x-xdxpath2.html
(1331 words)
|
|
| |
| | JDOM v1.0: Class XPath |
 | | Creates a new XPath wrapper object, compiling the specified XPath expression. |  | | Returns the string value of the first node selected by applying the wrapped XPath expression to the given context. |
|
http://www.jdom.org/docs/apidocs/org/jdom/xpath/XPath.html
(888 words)
|
|
| |
| | Cover Pages: Extensible Stylesheet Language (XSL) |
 | | XPath is the result of an effort to provide a common syntax and semantics for functionality shared between XSL Transformations and XPointer. |  | | XPath defines a way to compute a string-value for each type of node. |  | | In addition to its use for addressing, XPath is also designed so that it has a natural subset that can be used for matching (testing whether or not a node matches a pattern); this use of XPath is described in XSLT. |
|
http://xml.coverpages.org/xsl.html
(15527 words)
|
|
| |
| | Developersdex.com - A journey with XSL/XPath |
 | | XSLT is a declarative language, where we declare that what output should be produced when a specified pattern in our stylesheet is met. |  | | XPath: Language to define XML parts or patterns |  | | XSL, eXtensible Stylesheet Language is a W3C standard with lots of development and momentum and having a large size of community also got abundant number of Books, mailing lists, training and websites. |
|
http://www.developersdex.com/gurus/articles/536.asp
(267 words)
|
|
| |
| | ONJava.com: Parsing an XML Document with XPath |
 | | object may be directly evaluated to evaluate the value of an XPath expression in an XML document without first compiling an XPath expression. |  | | Used to add a namespace to match an XPath expression with namespace prefixes. |  | | The modified document is output to a XML document with the |
|
http://www.onjava.com/pub/a/onjava/2005/01/12/xpath.html
(1115 words)
|
|
| |
| | Using XPath and XSLT to Generate Programs |
 | | Chapter 11: Using XPath and XSLT to Generate Programs |  | | XSLT, which uses XPath, is used in this chapter to create a Play domain program generator. |  | | This shows how Java program generators can be created solely from XML tools without using the Java language. |
|
http://www.craigc.com/pg/chap11.html
(131 words)
|
|
| |
| | PHP: xpath_eval - Manual |
 | | This being my first experience with xpath, I thought "object xpath context" was refering to a single parameter produced by a previous call to xpath_new_context(). |  | | This code will determine the namespace of the root element and set a prefix for XPath queries. |  | | can be specified for doing relative XPath queries. |
|
http://us2.php.net/manual/en/function.xpath-eval.php
(763 words)
|
|
| |
| | XML::XPath - a set of modules for parsing and evaluating XPath statements |
 | | All of the classes and parts herein are named to be synonimous with the names in the specification, so consult that if you don't understand why I'm doing something in the code. |  | | The parser option allows you to pass in an already prepared XML::Parser object, to save you having to create more than one in your application (if, for example, you're doing more than just XPath). |  | | It's also a good idea because you'll use less memory this way. |
|
http://xml.sergeant.org/xpath
(881 words)
|
|
| |
| | GotDotNet User Sample: Visual XPath |
 | | Used to test XPath queries and Performance times. |  | | Also the queries can be automatically generated by selecting XML nodes in the TreeView. |  | | It runs XPath queries and displays the result. |
|
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=981370a5-6870-4d77-bf5f-6eb4fbb42233
(98 words)
|
|
| |
| | Academia Sinica Computing Centre's Schematron Home Page |
 | | The JAXEN XPath engine for Java may be optimized for better Schematron performance. |  | | Jing is a high-quality validation library from the famous James Clark, who was the technical lead on XML, editor of the Xpath and ISO DSSL specifications, co-inventor of the RELAX NG schema language, and developer of some of the most popular Open Source softtware libraries: sgmls, nsgmls (SP), xt, xp, jade. |  | | ISO Schematron is the result of enhancing Schematron, the leading assertion language, with improvements gleaned from other, subsequent similar languages and from multiple developers on all the most important modern platforms, and from almost five years of use. |
|
http://www.ascc.net/xml/resource/schematron/schematron.html
(2056 words)
|
|
| |
| | [No title] |
 | | Easily evaluate any XPath 1.0 or XPath 2.0 expression against any XML document; save the XPath query results or expressions; back-map from the results to the original XML input document. |  | | Stylus Studio® 2006 provides a collection of powerful XPath tools and utilities including an XPath Analyzer, XPath Parser and an XPath Generator to simplify creating and debugging of complex XPath expressions. |  | | This XPath tutorial covers getting started with XPath including background material on how XPath processors work, testing basic XPath queries, specifying the XPath nodes, handling of strings and text in XPath, XPath functions and operations, and more! |
|
http://www.stylusstudio.com/xpath.html
(410 words)
|
|
| |
| | Training schedule and course syllabi - Crane Softwrights Ltd. |
 | | The objectives of the course are to understand the role and utility of the Recommendation, to overview basic constructs of the Recommendation, to design and develop XSL-FO scripts using XSLT and XPath (both of which are assumed to already be known by the attendee), and to efficiently navigate the available documentation and resources. |  | | Approaches to using XSLT and XPath for each of the display, formatting and arbitrary semantics are reviewed. |  | | The course overviews the processing model and the basic principles behind the languages as described in the W3C Recommendations. |
|
http://www.cranesoftwrights.com/schedule.htm
(2969 words)
|
|
| |
| | XPath Inside Orchestrations in BizTalk 2004 |
 | | XPath queries can also be executed against untyped messages. |  | | I have found that the XPath queries can only be done against a Message and the results can be set to a Message, XML Document or other orchestration variables. |  | | Working with XPath inside Orchestrations is a powerful and simple feature of BizTalk 2004. |
|
http://geekswithblogs.net/sthomas/archive/2004/10/25/13269.aspx
(363 words)
|
|
| |
| | dom4j - dom4j: the flexible XML framework for Java |
 | | For developers there is an email list at dom4j-dev where you can make requests for new features or changes to the API, discuss alternate implementation strategies, submit patches or just talk about any relevant topic of the day. |  | | dom4j is an easy to use, open source library for working with XML, XPath and XSLT on the Java platform using the Java Collections Framework and with full support for DOM, SAX and JAXP. |  | | Finally you could try reading the XPath spec. |
|
http://www.dom4j.org
(645 words)
|
|
| |
| | XML.com: Top Ten Tips to Using XPath and XPointer |
 | | While the results of these three approaches are identical for this document, in other documents they might be quite different. |  | | From mindful use of predicates, to processor efficiency, to exploring both the standards themselves and extensions to them, this article offers ten tips -- techniques and gotchas -- to bear in mind as you use XPath and XPointer in your own work. |  | | The one to look out for is the MSXML processor, freely provided by Microsoft both for use as a stand-alone product and embedded in Internet Explorer (MSIE). |
|
http://www.xml.com/pub/a/2002/08/14/xpath_tips.html
(750 words)
|
|
| |
| | X Factor Studio |
 | | Thanks to all the MTASC users that have given their input and fixes. |  | | If you are developing is ActionScript 2, it is strongly recomended you use this version. |  | | I've been so busy with paid work that I had not been able to make the changes, but I have been listening. |
|
http://www.xfactorstudio.com
(178 words)
|
|
| |
| | xml.apache.org |
 | | Utilities for manipulating Java classes that conform to the JavaBeans naming conventions using the XPath syntax. |  | | Xalan uses the Bean Scripting Framework (BSF) to implement Java and script extensions, features EXSLT extensions, nodeset extension, multiple document output extensions and SQL extension. |  | | The XPath Processor is useable as a stand-alone unit. |
|
http://xml.apache.org
(1272 words)
|
|
| |
| | ipedia.com: XML query language Article |
 | | XML Query is a query language that makes it possible to extract information from an XML document. |  | | There are two distinct syntaxes for XML Query: |  | | XML Query uses XPath syntax to address specific parts of an XML document. |
|
http://www.ipedia.com/xml_query_language.html
(178 words)
|
|
| |
| | Cooktop: The free XML editor for Windows |
 | | Note to MSXML3 programmers: The console uses XPATH which differs from the older version of Microsoft's "pattern" syntax. |  | | If you're programming against MSXML3 and want to use XPATH instead of MS patterns in methods like |  | | To the right of the XPATH enter "values:" to see the values returned by the XPATH or "nodes:" to see the nodes |
|
http://www.xmlcooktop.com
(363 words)
|
|
| |
| | The SAXON XSLT and XQuery Processor |
 | | The commercial schema-aware implementation of XSLT 2.0, XPath 2.0, XQuery 1.0, and XML Schema 1.0 from Saxonica Limited. |  | | The latest open-source implementation of XSLT 2.0 and XPath 2.0, and XQuery 1.0. |  | | This provides the "basic" conformance level of these languages: in effect, this provides all the features of the languages except schema-aware processing. |
|
http://saxon.sourceforge.net
(933 words)
|
|
| |
| | JXPath - JXPath Home |
 | | package defines a simple interpreter of an expression language called XPath. |  | | Primary applications of JXPath are in scripting: JSP and similar template/script based technologies. |  | | This XPath expression is equvalent to the following Java code: |
|
http://jakarta.apache.org/commons/jxpath
(178 words)
|
|
| |
| | TopXML : XSLT reference |
 | | This document contains the implementation tables, internal links to navigate through the references, a full linked table of contents. |  | | A string value, containing an XPath expression that returns nodes. |  | | Can be a string, a node, a node-set, anything |
|
http://www.vbxml.com/xsl/XSLTRef.asp
(311 words)
|
|
| |
| | XML tutorial: Location paths |
 | | Note: in the XPath data model, the XML document tree has a special root node above the root element. |
|
http://www.brics.dk/~amoeller/XML/linking/locationpaths.html
(142 words)
|
|
| |
| | jaxen: universal java xpath engine - jaxen |
 | | Since the reference implementation of Java API for XML Messaging is based on dom4j and Jaxen, that means you can use Jaxen to query SOAP messages on the Java platform too! |  | | Check out these Performance Benchmarks comparing dom4j and Jaxen against Xerces and Xalan. |  | | Alex Chaffee wrote XPath Explorer to help visualize results of XPath expressions. |
|
http://jaxen.org
(107 words)
|
|
| |
| | PostgreSQL and XML |
 | | Usage of the two functions shown here - xpath_string and xpath_bool - should be self-explanatory. |  | | They each take two arguments: a column identifier and an XPath statement. |
|
http://www.throwingbeans.org/tech/postgresql_and_xml.html
(245 words)
|
|
| |
| | Xpath-ng Info Page |
 | | The W3C is working on XPath 2.0, and there has been discussion of community work that provides alternative and/or complementary advancements of XPath. |  | | This mailing list is aimed at facilitating all such work. |  | | Xpath-ng -- A mailing list to discuss community advancements of XPath and related standards |
|
http://lists.fourthought.com/mailman/listinfo/xpath-ng
(305 words)
|
|
|