XPath 2.0 programmer's reference by Michael Kay

By Michael Kay

Книга XPath 2.0: Programmer's Reference XPath 2.0: Programmer's ReferenceКниги Языки программирования Автор: Michael Kay Год издания: 2004 Формат: pdf Издат.:Wrox Страниц: 555 Размер: 54.9 ISBN: 0764569104 Язык: Английский eighty five (голосов: 1) Оценка:XPath 2.0 Programmer's Reference is the single authoritative reference on XPath, a sub-language inside XSLT that determines which a part of an XML record the XSLT transforms. Written for pro programmers who use XML on a daily basis yet locate the W3C XPath requisites difficult to slog via, this booklet explains in daily language what each build within the language does and the way to exploit it. It additionally bargains historical past fabric at the layout pondering in the back of the language, mild feedback of the language specification while acceptable, and a various variety of fascinating examples in numerous software parts.

Show description

Read Online or Download XPath 2.0 programmer's reference PDF

Best reference books

Polypropylene - An A-Z Reference

This multiauthor booklet reports the current kingdom of information on the producing, processing and purposes of neat, transformed, stuffed and strengthened polypropylenes. a global team of major specialists surveys all vital medical and technical features of polypropylene (PP) in a concise demeanour.

Endothelial Mechanisms of Vasomotor Control: With special Reference to the Coronary Circulation

Lately, we have now witnessed a swift growth of our wisdom in regards to the position of the endothelium within the keep an eye on of vascular tone (and organ perfusion) in overall healthiness and illness. body structure, pharmacology, and molecular biology have exposed a wealth of knowledge on constitution and serve as of this heretofore mostly ignored "organ".

Industrial chemical thesaurus

Comprises exchange identify chemical compounds associated with chemical substances with touch info for brands that produce those chemical substances lower than their exchange identify or widely used names. summary: comprises alternate identify chemical substances associated with chemical substances with touch details for brands that produce those chemical compounds below their alternate identify or typical names

Time-Series Prediction and Applications. A Machine Intelligence Approach

This publication provides computer studying and type-2 fuzzy units for the prediction of time-series with a specific specialise in company forecasting functions. It additionally proposes new uncertainty administration thoughts in an fiscal time-series utilizing type-2 fuzzy units for prediction of the time-series at a given time aspect from its previous price in fluctuating enterprise environments.

Extra info for XPath 2.0 programmer's reference

Sample text

Both aspects of the XPath context are described in Chapter 4 of this book. A Language for Processing Sequences The striking feature of the XML data model is that the information is hierarchic. The relationship from an element to its children is intrinsically a one-to-many relationship. Moreover, the relationship is inherently ordered. Sometimes you don’t care about the order, but it’s part of the nature of XML that the order of elements is deemed to be significant. This means that when you write an expression such as «author» (which is short for «child::author», and selects all the elements that are children of the context node) then, in principle, the result is a sequence of elements.

Another example of a weakly typed language is JavaScript. The conventional wisdom for database query languages is that they should be strongly typed. A strongly typed language has lots of rules about how you can use values, depending on their type. Many programming languages, such as Java, for example, are also strongly typed. Although weak typing appears to be more user-friendly, it has many disadvantages. One of the main disadvantages is that the processor isn’t able to do so much work at compile time, instead it has to make most of the decisions at runtime.

But the type system of XPath is something that is highly distinctive, so it deserves a place as one of the key characteristics that gives the language its flavor. I’ll be exploring the type system in depth in Chapter 3. Here, I’ll just give a few highlights, as a taste of things to come. ❑ We need to distinguish the types of the values that XPath can manipulate from the types that can appear as annotations on nodes. ❑ Atomic types can appear in both roles: You can declare an XPath variable of type integer, and you can also validate the content of an element or attribute as an integer, following which the element or attribute will be annotated with this type.

Download PDF sample

Rated 4.32 of 5 – based on 40 votes