Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: XPath


In the News (Wed 19 Nov 08)

  
  XPath - Wikipedia, the free encyclopedia
XPath (XML Path Language) is an expression language for addressing portions of an XML document, or for computing values (strings, numbers, or boolean values) based on the content of an XML document.
The XPath language is based on a tree representation of the XML document, and provides the ability to navigate around the tree, selecting nodes by a variety of criteria.
The most notable change is that XPath 2.0 has a much richer type system; XPath 2.0 supports atomic types, defined as built-in types in XML Schema, and may also import user-defined types from a schema.
en.wikipedia.org /wiki/XPath   (1185 words)

  
 XML - Understanding XPath Tutorials
XPath is a technology that enables you to address parts of an XML document, such as a specific element or set of elements.
XPath's departure from XML syntax also makes it both flexible and compact, which are important benefits when you consider that XPath is typically used in constrained situations such as attribute values.
XPath is based upon the notion of an XML document consisting of a hierarchical tree of nodes.
www.brainbell.com /tutorials/XML/Understanding_XPath.htm   (888 words)

  
 Java Pro - XPath 2.0: The Donald Sutherland of XML
XPath is of course inextricably intertwined with XSLT, to such an extent that XSLT by itself would be impossible without it.
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.
XPath has to break its own data model, use an addressing structure that is foreign to what was originally designed, and consequently the XPath within XSLT differs from the XPath used anywhere else.
www.ftponline.com /javapro/2003_08/online/xpath_kcagle_08_25_03   (878 words)

  
 XPath Analysis Phase 3
Xpath is a standard from W3C (a "recommendation" in W3C parlance as opposed to "working drafts") that can be used to navigate/address parts of an XML document and is meant to be used with XSLT and XPointer standards from W3C which are the languages for document-transformation and Multi-directional links respectively.
Xpath is used in conjunction with XSLT and XPointer standards.
Since Xpath is an emerging standard (started in April 1999 and version 1.0 was published only this month), not many tools were found to support this yet.
www.ccs.neu.edu /home/vibhasp/Xpath_Phase3.htm   (984 words)

  
 XPath   (Site not responding. Last check: 2007-11-01)
XPath isn't really a pointing-to tool; its an extraction tool for working with a portion of a document.
All XPath expressions are meant primarily to locate content in context.
Relative XPath expressions are relative to the current location in the document.
www.dearth.info /~steve/XPath_Basics/pages/3.html   (745 words)

  
 XML Path Language (XPath) 2.0
XPath 2.0 is a superset of [XPath 1.0], with the added capability to support a richer set of data types, and to take advantage of the type information that becomes available when documents are validated using XML Schema.
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 defined in terms of the data model and the expression context.
www.w3.org /TR/xpath20   (10822 words)

  
 XML.com: What's New in XPath 2.0
XPath 2.0 is a strict syntactic subset of XQuery 1.0.
XPath 2.0, on the other hand, introduces support for the XML Schema primitive types, which immediately gives the user access to 19 simple types, including dates, years, months, URIs, etc. In addition, a number of functions and operators are provided for processing and constructing these different data types.
For that reason, the XPath 2.0 Working Draft and colloquial usage in general often speak of an expression as returning a "decimal" or a "string", when in fact what is meant is "a sequence of one decimal value" or a "sequence of one string".
www.xml.com /pub/a/2002/03/20/xpath2.html   (1033 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.
XPath started in life in 1999 as a supplement to the XSLT and XPointer languages, but has more recently become popular as a stand-alone language, as a single XPath expression can be used to replace many lines of DOM API code.
java.sun.com /j2se/1.5.0/docs/api/javax/xml/xpath/package-summary.html   (621 words)

  
 Xpath
Xpath is a specialized sub-language which is used in XSL to identify the XML data structures to be manipulated.
Perhaps the most important concept in Xpath is that of the context node.
Within that expression, all Xpath references are relative to that context node.
www.washington.edu /computing/training/540b/zz-xpath.html   (602 words)

  
 Book Review: Definitive XSLT and XPath
This book is designed to provide coverage of transformation and the transformation standards, XSLT and XPath, from the basic and conceptual to the advanced and practical.
In this chapter the reader is introduced to the components of the XPath data model including file abstractions and nodes such as element nodes, attribute nodes, text nodes, namespace nodes and the root node.
XPath expressions and patterns are also introduced and examples of node-set and pattern expressions are provided.
www.idealliance.org /xmlfiles/issue36/book.asp   (617 words)

  
 XML in a Nutshell: A Desktop Quick Reference: Chapter 9: XPath
XPath is a non-XML language used to identify particular parts of XML documents.
For instance, XPath cannot identify the first CDATA section in a document or tell whether a particular attribute value was included directly in the source element start tag or merely defaulted from the declaration of the attribute in the DTD.
Otherwise, XPath is not as strongly typed as languages such as Java or C. You can often use these types as a function argument, regardless of which type the function expects, and the processor will convert it the best it can.
www.oreilly.com /catalog/xmlnut/chapter/ch09.html   (5016 words)

  
 XPath Tutorial
XPath is a language for finding information in an XML document.
XPath is used to navigate through elements and attributes in an XML document.
XPath is a major element in the W3C's XSLT standard - and XQuery and XPointer are both built on XPath expressions.
www.w3schools.com /xpath/default.asp   (517 words)

  
 XPath - MDC
XPath stands for XML Path Language, it uses a non-XML syntax that provides a flexible way of addressing (pointing to) different parts of an XML document.
XPath is mainly used in XSLT, but can also be used as a much more powerful way of navigating through the DOM of any XML based language documents, such as HTML and XUL, instead of relying on the getElementById method, the childNodes properties, etc.
XPath uses a path notation (as in URLs) for navigating through the hierarchical structure of an XML document.
developer.mozilla.org /en/docs/XPath   (231 words)

  
 Chapter 33. Data, XML, and XPath
The complete list of Xpath expressions supported in LZX is listed in a table in a later section.
XPath notation is similar to the notation used to identify files in modern operating systems.
XPath is commonly used with XSLT, a language for transforming one XML document into another XML document, and also by some web browsers.
www.laszlosystems.com /lps-3.2/docs/guide/data-structures.html   (1067 words)

  
 [XPath Injection] Threat Classification - Web Application Security Consortium
XPath 1.0 is a language used to refer to parts of an XML document.
If an application uses run-time XPath query construction, embedding unsafe user input into the query, it may be possible for the attacker to inject data into the query such that the newly formed query will be parsed in a way differing from the programmer's intention.
Consider a web application that uses XPath to query an XML document and retrieve the account number of a user whose name and password are received from the client.
www.webappsec.org /projects/threat/classes/xpath_injection.shtml   (434 words)

  
 DOM:XPath Generator - MozillaWiki
Verbosio would be able to translate a XPath for a document it's editing into a XPath for a XUL tree (a la DOM Inspector) representing the document's structure.
For example, for an XPath expression starting at a DIV node whose content is "foo", the beginning of the XPath expression should be DIV[contains(.,"foo")] or some other XPath construct which identifies the node by the content it contains.
Our XPath and XPathGenerator can be reasonably expected to support this in the future, so now's the best time to come up with a function syntax for doing this.
wiki.mozilla.org /DOM:XPath_Generator   (1113 words)

  
 The XML Files: Addressing Infosets with XPath -- MSDN Magazine, July 2000
XPath uses these implied relationships along with other filtering constructs to assist in identifying portions of the document (for example, find all child car elements whose make='BMW').
The following is an example of a simple XPath expression that identifies all of the model elements that are children of car elements that are children of the root cars element.
For example, XPath is used quite extensively in XSLT 1.0, which supports the notion of named parameters and variables.
msdn.microsoft.com /msdnmag/issues/0700/xml   (3570 words)

  
 Chapter 16. XPath
XPath is a fourth generation declarative language for locating nodes in XML documents.
XPath searches often succeed even when the document format is not quite what you expected.
Many XPath expressions are resistant even to much more significant alterations such as changing the names or namespaces of ancestor elements, reordering the children of an element, or even adding or subtracting entire levels from the tree hierarchy.
www.ibiblio.org /xml/books/xmljava/chapters/ch16.html   (622 words)

  
 Introduction to Sequential XPath
The simplest definition/explanation for SXPath is that it is the subset of XPath which allows for queries which allow for a determination within a streaming document whether a given node is a match for the query and allows for the expulsion of needless buffering of the past and current nodes.
By creating a streaming XML parser which utilizes Sequential XPath, one is able to reap the inherent benefits of a streaming parser with the querying power of XPath.
By defining this proper subset of XPath, we enable developers and users to utilize XML in a wide array of applications thought to be too performance sensitive for traditional XML processing.
www.idealliance.org /papers/xml2001/papers/html/05-01-01.html   (1348 words)

  
 oreilly.com -- Online Catalog: XPath and XPointer
XPath and XPointer are two closely related languages that play a key role in XML processing by allowing developers to find these needles and manipulate embedded information.
XPath describes a route for finding specific items by defining a path through the hierarchy of an XML document, abstracting only the information that's relevant for identifying the data.
For instance, the reader is told several papges in that he or she might have deduced that XPath supports 4 types.
www.oreilly.com /catalog/xpathpointer   (792 words)

  
 XML Path Language (XPath)
XPath is a language for addressing parts of an XML document, designed to be used by both XSLT and XPointer.
XPath is the result of an effort to provide a common syntax and semantics for functionality shared between XSL Transformations [XSLT] and XPointer [XPointer].
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.
www.w3.org /TR/xpath   (8473 words)

  
 Combine the power of XPath and JSP tag libraries - Java World
The XPath tag library combined with JSP further aids efficiency by engendering a clear separation between the role of a page author and a programmer.
XPath, a W3C recommendation since November 1999, provides an easy notation for specifying and selecting parts of an XML document.
Having seen how XPath expressions can be used on an XML document, let us now discuss the architecture of a Web application using the XPath custom tag library, illustrated in Figure 1.
www.javaworld.com /javaworld/jw-01-2001/jw-0126-xpath.html   (820 words)

  
 Simon Willison: Using XPath to mine XHTML
XPath is a beautifully elegant way of adressing "nodes" within an XML document.
XPath is a far better example of a powerful, easy to use tool that can be brought to bare on XHTML content.
The above code is slightly more complicated than the first example, as using XPath with a document that uses XML namespaces requires some extra work to register the namespace with the XPath parser.
simon.incutio.com /archive/2003/10/21/xpathRocks   (1021 words)

  
 JXPath - JXPath User's Guide
XPath is the official expression language of XSLT.
In this case XPath is used to access a property of a nested bean.
A property identified by the XPath does not have to be a "leaf" property.
jakarta.apache.org /commons/jxpath/users-guide.html   (3884 words)

  
 mnot: xpath2rss
The first reason to use XPATH is to learn it; XPath is an excellent tool for working with XML.
Secondly, XPath is smarter than regex because XPath is aware of XML's (and therefore HTML's) syntax; this makes it a more natural fit for scraping HTML and XML, and should make it more reliable.
WRITING XPATH EXPRESSIONS ------------------------- When authoring the XPATH expressions for a channel, these tips should be useful: - HTML elements and attributes are normalized to uppercase; therefore, your expressions should always use uppercase for them.
www.mnot.net /xpath2rss   (783 words)

  
 XPath (Java 2 Platform SE 5.0)
If a request is made to evaluate the expression in the absence of a context item, an empty document node will be used for the context.
Evaluate an XPath expression in the context of the specified
See Evaluation of XPath Expressions for context item evaluation, variable, function and QName resolution and return type conversion.
java.sun.com /j2se/1.5.0/docs/api/javax/xml/xpath/XPath.html   (589 words)

  
 <oXygen/> XML editor - XPath support
Editing complex XPath expressions in the XPath toolbar can be sometimes difficult due to the size limitation.
The results of an XPath query are shown as a list in the results panel.
The XPath expressions are evaluated from the current element so relative expressions can be evaluated in different contexts.
www.oxygenxml.com /xpath.html   (268 words)

  
 ONJava.com -- Parsing an XML Document with XPath
An attribute in an XPath expression is specified with an
For further reference on XPath expressions, see the XPath specification for examples on creating an XPath expression.
XPath APIs discussed in this tutorial do not have the provision to set values for XML document nodes with XPath.
www.onjava.com /pub/a/onjava/2005/01/12/xpath.html   (1222 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.