XSLT 2.0 and XPath 2.0: programmer's reference
Gespeichert in:
Beteilige Person: | |
---|---|
Format: | Buch |
Sprache: | Englisch |
Veröffentlicht: |
Indianapolis, Ind.
Wiley
2008
|
Ausgabe: | 4. ed. |
Schriftenreihe: | Wrox Programmer to programmer
|
Schlagwörter: | |
Links: | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016680311&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
Umfang: | XLIX, 1316 S. Ill. 23 cm |
ISBN: | 9780470192740 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV035011062 | ||
003 | DE-604 | ||
005 | 20120704 | ||
007 | t| | ||
008 | 080819s2008 xx a||| |||| 00||| eng d | ||
020 | |a 9780470192740 |9 978-0-470-19274-0 | ||
035 | |a (OCoLC)845193788 | ||
035 | |a (DE-599)BSZ28094893X | ||
040 | |a DE-604 |b ger | ||
041 | 0 | |a eng | |
049 | |a DE-91G |a DE-20 |a DE-188 |a DE-M347 |a DE-573 | ||
050 | 0 | |a QA76.73.X58 | |
082 | 0 | |a 006.7/6 |2 22 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a DAT 370f |2 stub | ||
100 | 1 | |a Kay, Michael |e Verfasser |4 aut | |
245 | 1 | 0 | |a XSLT 2.0 and XPath 2.0 |b programmer's reference |c Michael Kay |
250 | |a 4. ed. | ||
264 | 1 | |a Indianapolis, Ind. |b Wiley |c 2008 | |
300 | |a XLIX, 1316 S. |b Ill. |c 23 cm | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
490 | 0 | |a Wrox Programmer to programmer | |
650 | 4 | |a XPath (Computer program language) | |
650 | 4 | |a XSLT (Computer program language) | |
650 | 0 | 7 | |a XSLT 2.0 |0 (DE-588)4785218-5 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a XPath 2.0 |0 (DE-588)4785496-0 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a XSLT 2.0 |0 (DE-588)4785218-5 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a XPath 2.0 |0 (DE-588)4785496-0 |D s |
689 | 1 | |5 DE-604 | |
856 | 4 | 2 | |m HBZ Datenaustausch |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016680311&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-016680311 |
Datensatz im Suchindex
DE-BY-TUM_call_number | 0104 DAT 370f 2001 A 20382(4) 0303 DAT 370f 2008 L 749(4) |
---|---|
DE-BY-TUM_katkey | 1641242 |
DE-BY-TUM_location | 01 03 |
DE-BY-TUM_media_number | 040010096683 040071199572 040071199583 040071199561 040071199607 040071199594 |
_version_ | 1821933290738679808 |
adam_text | Contents
Introduction.................................................xxix
List of Examples..............................................xxxix
Part I: Foundations
Chapter 1: XSLT in Context_____________________________________________3
What Is XSLT?................................................. 3
Why Version 2.0?............................................................ 5
A Scenario: Transforming Music................................................ 5
How Does XSLT Transform XML?.................................... 7
XSLT and SQL: An Analogy..................................................... 8
XSLT Processors............................................................. 9
A Simple XSLT Stylesheet ..................................................... 10
An XSLT 2.0 Stylesheet....................................................... 19
The Place of XSLT in the XML Family................................. 21
XSLT and XSL Formatting Objects............................................... 22
XSLT and XPath.............................................................. 22
XSLT and XML Namespaces ................................................... 23
XSLT and CSS............................................................... 24
XSLT and XML Schemas....................................................... 24
XSLT and XQuery............................................................. 26
The History of XSL.............................................. 26
Prehistory.................................................................. 26
The First XSL Proposal........................................................ 28
Saxon ..................................................................... 30
Beyond XSLT 1.0 ............................................................ 30
Convergence with XQuery...................................................... 31
The Development of XSLT 2.0 and XPath 2.0...................................... 32
XSLT 2.0 as a Language.......................................... 33
Use of XML Syntax........................................................... 33
No Side Effects.............................................................. 34
Rule-Based................................................................. 35
Types Based on XML Schema.................................................. 38
A Two-Language System: XSLT and XPath......................................... 39
Summary..................................................... 40
Contents_________________________________________________
Chapter 2: The XSLT Processing Model__________________________________41
XSLT: A System Overview......................................... 41
A Simplified Overview......................................................... 41
Trees, Not Documents........................................................ 42
Different Output Formats...................................................... 43
Multiple Inputs and Outputs.................................................... 44
TheXDM Tree Model ............................................ 45
XML as a Tree............................................................... 45
Completing the UML Class Diagram............................................. 56
Document Order............................................................. 57
Names and Namespaces...................................................... 58
IDs and IDREFs.............................................................. 61
Characters in the Data Model .................................................. 62
What Does the Tree Leave Out?................................................. 64
From Textual XML to a Data Model .............................................. 65
Controlling Serialization....................................................... 67
The Transformation Process....................................... 67
Invoking a Transformation..................................................... 67
Template Rules.............................................................. 68
Push Processing............................................................. 74
Controlling Which Nodes to Process............................................. 76
Modes..................................................................... 78
Built-in Template Rules ....................................................... 78
Conflict Resolution Policy...................................................... 79
Error Handling................................................. 80
Variables and Expressions ........................................ 80
Variables................................................................... 81
Parameters................................................................. 82
Expressions ................................................................ 82
Context.................................................................... 84
Temporary Documents........................................................ 85
Summary..................................................... 88
Chapter 3: Stylesheet Structure________________________________________89
Changes in XSLT 2.0 ............................................ 90
The Modular Structure of a Stylesheet................................ 90
The xsl:stylesheet Element..................................... 98
The ?xml-stylesheet? Processing Instruction......................... 99
Embedded Stylesheets........................................... 102
xii
________________________________________________Contents
Declarations.................................................. 104
XSLT-Defined Declarations..................................................... 105
Implementor-Defined Declarations.............................................. 106
User-Defined Top-Level Elements ............................................... 107
Instructions................................................... 108
XSLT Instructions............................................................ 108
Extension Instructions........................................................ Ill
Literal Result Elements....................................................... 112
Attribute Value Templates..................................................... 122
Simplified Stylesheets........................................... 125
Writing Portable Stylesheets....................................... 127
Conditional Compilation....................................................... 127
Version Compatibility......................................................... 128
Extensibility................................................................. 134
Whitespace................................................... 141
The Effect of Stripping Whitespace Nodes ........................................ 146
Whitespace Nodes in the Stylesheet............................................. 146
Solving Whitespace Problems.................................................. 147
Summary..................................................... 148
Chapter 4: Stylesheets and Schemas_____________________________________151
XML Schema: An Overview........................................ 151
Simple Type Definitions....................................................... 152
Elements with Attributes and Simple Content...................................... 154
Elements with Mixed Content .................................................. 155
Elements with Element-Only Content............................................. 156
Defining a Type Hierarchy...................................................... 157
Substitution Groups.......................................................... 158
Declaring Types in XSLT.......................................... 161
Validating the Source Document.................................... 165
Validatingthe Result Document.................................... 170
Validating a Temporary Document................................... 174
Validating Individual Elements...................................... 176
Validating Individual Attributes..................................... 179
The default-validation Attribute..................................... 180
Importing Schemas............................................. 180
Usingxsirtype................................................. 181
Nillability .................................................... 182
Summary.,................................................... 183
xiii
Contents
Chapter 5: Types
What Is a Type System?.......................................... 185
Changes in 2.0................................................. 186
Sequences ................................................... 187
Atomic Values................................................. 189
Atomic Types.................................................. 191
The Major Atomic Types....................................................... 193
The Minor Atomic Types....................................................... 206
Derived Numeric Types........................................................ 210
Derived String Types.......................................................... 213
Untyped Atomic Values........................................................ 215
xs:NMTOKENS, xs:IDREFS, and xs:ENTITIES...................................... 217
Schema Types and XPath Types.................................... 217
The Type Matching Rules......................................... 219
Static and Dynamic Type Checking.................................. 221
Summary..................................................... 224
Part II: XSLT and XPath Reference
Chapter 6: XSLT Elements____________________________________________227
xsl:analyze-string............................................... 230
xskapply-imports............................................... 237
xskapply-templates............................................. 240
xsl:attribute .................................................. 254
xsl:attribute-set................................................ 266
xskcall-template............................................... 271
xshcharacter-map.............................................. 280
xshchoose ................................................... 282
xskcomment.................................................. 285
xslxopy..................................................... 287
xsl:copy-of ................................................... 292
xsl:decimal-format.............................................. 298
xshdocument ................................................. 303
xshelement................................................... 306
xslrfallback................................................... 316
xsl:for-each................................................... 322
xsl:for-each-group.............................................. 326
xskfunction................................................... 344
xsl:if........................................................ 353
xiv
________________________________________________Contents
xskimport....................................................357
xsl:import-schema..............................................368
xshinclude ................................................... 372
xshkey...................................................... 376
xskmatching-substring........................................... 386
xskmessage..................................................386
xsknamespace................................................ 390
xsl:namespace-alias.............................................394
xsl-.next-match ................................................399
xsknon-matching-substring........................................402
xsl:number................................................... 403
xshotherwise..................................................420
xshoutput....................................................420
xsl:output-character.............................................424
xskparam....................................................425
xsl:perform-sort................................................ 437
xshpreserve-space..............................................439
xsl-.processing-instruction ........................................442
xsl:result-document.............................................445
xshsequence..................................................452
xsl:sort......................................................455
xsl:strip-space.................................................465
xsl.-stylesheet.................................................465
xshtemplate..................................................483
xsl:text......................................................492
xsktransform..................................................495
xsl:value-of...................................................495
xsl:variable................................................... 500
xsl:when..................................................... 515
xsl.with-param................................................. 517
Summary..................................................... 519
Chapter 7: XPath Fundamentals_______________________________________521
Notation..................................................... 522
Where to Start................................................. 523
Expressions................................................... 524
Examples .................................................................. 527
Lexical Constructs.............................................. 527
Comments ................................................................. 529
Numeric Literals............................................................. 530
XV
Contents_________________________________________________
String Literals............................................................... 532
Names..................................................................... 534
Operators.................................................................. 537
Primary Expressions............................................. 539
Examples .................................................................. 540
Variable References............................................. 540
Usage..................................................................... 540
Examples .................................................................. 541
Parenthesized Expressions........................................ 542
Changes in XPath 2.0......................................................... 543
Context Item Expressions......................................... 543
Changes in XPath 2.0......................................................... 544
Usage..................................................................... 544
Function Calls................................................. 544
Identifying the Function to be Called............................................. 545
Converting the Arguments and the Result......................................... 547
Changes in XPath 2.0......................................................... 549
Side Effects................................................................. 549
Examples .................................................................. 550
Conditional Expressions.......................................... 551
Changes in XPath 2.0......................................................... 552
Examples .................................................................. 553
The XPath Evaluation Context...................................... 553
The Static Context........................................................... 554
The Dynamic Context......................................................... 563
Summary..................................................... 568
Chapter 8: XPath: Operators on Items__________________________________521
Arithmetic Operators............................................ 571
Syntax..................................................................... 571
Type Promotion.............................................................. 572
Changes in XPath 2.0......................................................... 573
Effect...................................................................... 573
Arithmetic Using Numbers..................................................... 574
Examples of Numeric Arithmetic................................................ 576
Arithmetic Using Durations .................................................... 577
Value Comparisons ............................................. 581
Permitted Operand Types...................................................... 582
Type Checking for Value Comparisons ........................................... 586
Examples of Value Comparisons................................................ 587
XVI
________________________________________________Contents
General Comparisons............................................ 588
Changes in XPath 2.0......................................................... 588
Rules for General Comparisons................................................. 589
Existential Comparison ....................................................... 590
Examples of General Comparisons.............................................. 592
Node Comparisons.............................................. 593
The «is»Operator............................................................. 593
The operators ««» and ««».................................................... 594
Changes in XPath 2.0......................................................... 594
Boolean Expressions............................................ 594
Shortcut Semantics.......................................................... 595
Examples .................................................................. 596
Summary..................................................... 596
Chapter 9: XPath: Path Expressions________________________________________5_9_9_
Examples of Path Expressions...................................... 600
Changes in XPath 2.0............................................ 601
Document Order and Duplicates.................................... 602
The Binary «/» Operator........................................... 602
Syntax..................................................................... 602
Effect...................................................................... 603
Examples of the Binary «/» Operator............................................. 604
Associativity of the «/» Operator................................................ 605
Axis Steps.................................................... 606
Syntax of Axis Steps.......................................................... 606
Effect...................................................................... 607
Examples of Axis Steps....................................................... 608
Axes....................................................................... 609
Node Tests................................................................. 613
Name Tests................................................................. 614
Kind Tests.................................................................. 616
Predicates.................................................................. 617
Abbreviated Axis Steps........................................................ 621
Rooted Path Expressions......................................... 625
Syntax..................................................................... 625
Examples of Rooted Paths..................................................... 626
The «// Abbreviation ............................................ 626
Examples Using «//».......................................................... 627
Comparing «//» with «/descendant::» ............................................ 628
CombiningSets of Nodes......................................... 628
Syntax..................................................................... 629
XVII
Contents________________________________________________
Examples .................................................................. 630
Usage..................................................................... 630
Set Intersection and Difference in XPath 1.0...................................... 631
Sets of Atomic Values........................................................ 631
Summary..................................................... 632
Chapter 10: XPath: Sequence Expressions______________________________63_3
The Comma Operator............................................ 634
Examples .................................................................. 635
Numeric Ranges: The «to» Operator.................................. 636
Examples .................................................................. 637
Filter Expressions .............................................. 638
Examples .................................................................. 640
The «for» Expression............................................. 640
Mapping a Sequence......................................................... 641
Examples .................................................................. 642
The Context Item in a «for» Expression........................................... 642
Combining Multiple Sequences................................................. 643
Example ................................................................... 644
Simple Mapping Expressions....................................... 644
The «some» and «every» Expressions................................. 646
Examples .................................................................. 648
Quantification and the «=» Operator............................................. 649
Errors in «some» and «every» Expressions......................................... 649
Summary..................................................... 651
Chapter 11: XPath: Type Expressions__________________________________653
Converting Atomic Values......................................... 654
Converting between Primitive Types ............................................. 656
Converting between Derived Types.............................................. 664
Sequence Type Descriptors........................................ 668
Matching Atomic Values....................................................... 669
Matching Nodes............................................................. 670
Matching Elements and Attributes............................................... 672
The «instance of» Operator........................................ 677
The «treat as» Operator........................................... 678
Summary..................................................... 680
Chapter 12: XSLT Patterns___________________________________________681
Patterns and Expressions......................................... 681
Changes in XSLT 2.0 ............................................ 682
xviii
________________________________________________Contents
The Formal Definition............................................ 683
Applying the Definition in Practice............................................... 684
An Algorithm for Matching Patterns.............................................. 685
Patterns Containing Predicates................................................. 685
An Informal Definition............................................ 685
Conflict Resolution ............................................. 686
Matching Parentless Nodes....................................... 688
The Syntax of Patterns........................................... 689
Pattern .................................................................... 689
PathPattern................................................................. 690
RelativePathPattern.......................................................... 693
PattemStep................................................................. 694
IdKeyPattern................................................................ 704
Summary..................................................... 708
Chapter 13: The Function Library_________________________________________709
A Word about Naming............................................ 710
Functions by Category........................................... 710
Notation..................................................... 712
Code Samples................................................. 714
Function Definitions............................................. 714
abs....................................................................... 714
adjust-date-to-timezone, adjust-dateTime-to-timezone, adjust-time-to-timezone .......... 715
avg........................................................................ 718
base-ur¡.................................................................... 719
boolean.................................................................... 721
ceiling..................................................................... 723
codepoint-equal............................................................. 724
codepoints-to-string.......................................................... 725
collection................................................................... 726
compare................................................................... 727
concat..................................................................... 729
contains ................................................................... 730
count...................................................................... 733
current..................................................................... 734
current-date, current-dateTime, current-time ...................................... 738
current-group................................................................ 739
current-grouping-key.......................................................... 740
current-Time................................................................ 741
data....................................................................... 741
dateTime................................................................... 743
day-from-date, day-from-dateTime................................................ 744
xix
Contents_________________________________________________
days-from-duration........................................................... 745
deep-equal ................................................................. 745
default-collation............................................................. 748
distinct-values___........................................................... 749
doc, doc-available............................................................ 750
document.................................................................. 754
document-uri................................................................ 764
element-available............................................................ 764
empty..................................................................... 770
encode-for-uri............................................................... 771
ends-with................................................................... 773
error....................................................................... 774
escape-html-uri.............................................................. 775
exactly-one................................................................. 777
exists...................................................................... 778
false ...................................................................... 779
floor....................................................................... 779
format-date, format-dateTime, format-time........................................ 781
format-number.............................................................. 788
format-time................................................................. 792
function-available............................................................ 792
generate-id................................................................. 797
hours-from-dateTime, hours-from-time........................................... 800
hours-from-duration.......................................................... 801
id......................................................................... 802
idref....................................................................... 804
implicit-timezone............................................................. 806
index-of.................................................................... 807
in-scope-prefixes............................................................. 808
insert-before................................................................ 810
iri-touri .................................................................... 811
key........................................................................ 812
lang....................................................................... 819
last....................................................................... 820
local-name ................................................................. 824
local-name-from-QName....................................................... 826
lower-case.................................................................. 827
matches................................................................... 828
max, min................................................................... 830
min ....................................................................... 832
minutes-from-dateTime, minutes-from-time....................................... 832
minutes-from-duration........................................................ 832
XX
______________________________________________Contents
minutes-from-time ........................................................... 833
month-from-date, month-from-dateTime.......................................... 833
months-from-duration......................................................... 834
name...................................................................... 835
namespace-uri.............................................................. 837
namespace-uri-for-prefix....................................................... 839
namespace-uri-from-QName................................................... 841
nilled...................................................................... 842
node-name................................................................. 843
normalize-space............................................................. 845
normalize-unicode ........................................................... 847
not........................................................................ 850
number.................................................................... 851
one-or-more................................................................. 853
position.................................................................... 854
prefix-from-QName........................................................... 857
QName .................................................................... 858
regex-group................................................................. 860
remove.................................................................... 861
replace .................................................................... 862
resolve-QName.............................................................. 864
resolve-uri.................................................................. 867
reverse.................................................................... 869
root....................................................................... 870
round...................................................................... 870
round-half-to-even............................................................ 872
seconds-from-dateTime, seconds-from-time....................................... 873
seconds-from-duration........................................................ 874
seconds-from-time........................................................... 875
starts-with.................................................................. 875
static-base-uri............................................................... 876
string...................................................................... 877
string-join .................................................................. 879
string-length................................................................ 880
string-to-codepoints.......................................................... 881
subsequence............................................................... 882
substring................................................................... 883
substring-after .............................................................. 885
substring-before............................................................. 887
sum....................................................................... 889
system-property............................................................. 890
timezone-from-date, timezone-from-dateTime, timezone-from-time..................... 893
XXI
Contents________________________________________________
tokenize.................................................................... 894
trace...................................................................... 896
translate................................................................... 897
true....................................................................... 899
type-available___........................................................... 899
unordered.................................................................. 901
unparsed-entity-public-id, unparsed-entity-uri...................................... 902
unparsed-text, unparsed-text-available........................................... 904
upper-case .................................................................. 910
year-from-date, year-from-dateTime.............................................. 911
years-from-duration........................................................... 911
zero-or-one ................................................................. 912
Summary..................................................... 913
Chapter 14: Regular Expressions_________________________________________915
Branches and Pieces............................................ 916
Quantifiers................................................... 916
Atoms....................................................... 917
Subexpressions................................................ 918
Back-References............................................... 918
Character Groups............................................... 919
Character Ranges.............................................. 919
Character Class Escapes......................................... 920
Character Blocks............................................... 922
Character Categories............................................ 924
Flags....................................................... 925
The «¡» flag.................................................................. 925
The «m» flag................................................................. 926
The «s» flag................................................................. 926
The «x» flag................................................................. 926
Disallowed Constructs........................................... 927
Summary..................................................... 927
Chapter 15: Serialization_____________________________________________923
The XML Output Method.......................................... 929
The HTML Output Method......................................... 936
The XHTML Output Method........................................ 939
The Text Output Method.......................................... 940
xxii
________________________________________________Contents
Using the xsl:output declaration.................................. 940
Character Maps................................................ 941
Usage..................................................................... 942
Choosing Characters to Map................................................... 942
Limitations of Character Maps.................................................. 944
Disable Output Escaping.......................................... 945
Reasons to Disable Output Escaping............................................ 945
Why disable-output-escaping Is Deprecated....................................... 946
Using disable-output-escaping to Wrap HTML in CDATA___.......................... 947
Character Maps as a Substitute for disable-output-escaping......................... 948
Summary..................................................... 949
Part III: Exploitation
Chapter 16: Extensibility_____________________________________________9_53
What Vendor Extensions Are Allowed?................................ 954
Extension Functions............................................. 955
When Are Extension Functions Needed?.......................................... 955
When Are Extension Functions Not Needed?...................................... 956
Calling Extension Functions.................................................... 956
What Language Is Best?....................................................... 957
Client-Side Script............................................................ 957
Binding Extension Functions................................................... 957
XPath Trees and the DOM ..................................................... 963
Calling External Functions within a Loop.......................................... 965
Functions with Uncontrolled Side Effects ......................................... 967
Keeping Extensions Portable....................................... 970
Summary..................................................... 971
Chapter 17: Stylesheet Design Patterns________________________________323
FilMn-the-Blanks Stylesheets...................................... 973
Navigational Stylesheets......................................... 976
Rule-Based Stylesheets.......................................... 980
Computational Stylesheets........................................ 985
Programming without Assignment Statements..................................... 985
So Why Are They Called Variables?.............................................. 989
Avoiding Assignment Statements............................................... 989
Summary..................................................... 1000
xxiii
Contents________________________________________________
Chapter 18: Case Study: XMLS per___________________________________1QOJ.
Formatting the XML Specification...................................1002
Preface......................................................1004
Creatingthe HTML Outline........................................1008
Formatting the Document Header...................................1012
Creating the Table of Contents .....................................1019
Creating Section Headers.........................................1023
Formatting the Text............................................. 1024
Producing Lists................................................1028
Making Cross-References.........................................1029
Setting Out the Production Rules....................................1033
Overlay Stylesheets.............................................1041
diffspec.xsl.................................................................1041
REC-xml.xsl.................................................................1044
Stylesheets for Other Specifications .................................1044
xslt.xsl.....................................................................1045
xsltdiff.xsl..................................................................1046
funcproto.xsl................................................................1046
xsl-query.xsl ................................................................1047
xmlspec.xsl.................................................................1047
Summary.....................................................1047
Chapter 3.9: Case Study: A Family Tree________________________________1Q49
Modeling a Family Tree...........................................1050
The GEDCOM Data Model .....................................................1050
Creating a Schema for GEDCOM 6.0.............................................1053
The GEDCOM 6.0 Schema.....................................................1054
Creating a Data File.............................................1058
Converting GEDCOM Files to XML...............................................1059
Converting from GEDCOM 5.5 to 6.0.............................................1063
Displaying the Family Tree Data.....................................1072
The Stylesheet..............................................................1073
Putting It Together...........................................................1085
Summary..................................................... 1098
Chapter 20: Case Study: Knight s Tour________________________________1Q39
The Problem..................................................1099
The Algorithm.................................................1100
Placing the Knight..............................................1104
Displaying the Final Board.........................................1105
xxiv
________________________________________________Contents
Finding the Route...............................................1106
Finding the Possible Moves....................................................1107
Trying the Possible Moves.....................................................1109
Selecting the Best Move ......................................................1111
Running the Stylesheet...........................................1112
Observations..................................................1112
Summary.....................................................1113
Part IV: Appendices
Appendix A: XPath 2.0 Syntax Summary______________________________1111
Whitespace and Comments........................................1118
Tokens ...................................................... 1118
Syntax Productions.............................................1119
Operator Precedence............................................1122
Appendix B: Error Codes____________________________________________1123
Functions and Operators (FO)......................................1124
XPath Errors (XP)...............................................1126
XSLT Errors (XT) ...............................................1127
Appendix C: Backward Compatibility__________________________________1139
Stage 1: Backward-compatibility Mode...............................1140
Deprecated Facilities.........................................................1140
Error Handling...............................................................1140
Comparing Strings...........................................................1141
Numeric Formats............................................................1141
Other XPath Changes.........................................................1142
Serialization Changes.........................................................1142
Stage 2: Setting version= 2.0 .....................................1142
The First Node Rule ..........................................................1142
Type Checking of Function Arguments............................................1143
Comparison Operators........................................................1143
Arithmetic..................................................................1143
The Empty Sequence.........................................................1143
Error Semantics for «and» and «or» ..............................................1144
Other XSLT Differences .......................................................1144
Stage 3: Adding a Schema ........................................1145
Summary.....................................................1145
XXV
Contents_________________________________________________
Appendix D: Microsoft XSLT Processors_______________________________1142
MSXML......................................................1147
Objects....................................................................1148
IXMLDOMDocument and IXMLDOMDocument2....................................1148
IXMLDOMNode..............................................................1150
IXMLDOMNodeList...........................................................1151
IXMLDOMParseError..........................................................1151
IXMLDOMSelection...........................................................1152
IXSLProcessor...............................................................1152
IXSLTemplate...............................................................1153
Putting it Together ...........................................................1154
Restrictions.................................................................1158
System.Xml...................................................1158
XPathDocument.............................................................1158
XmlNode...................................................................1159
IXPathNavigable.............................................................1159
XPathNavigator..............................................................1159
XslTransform................................................................1159
Summary.....................................................1161
Appendix E: JAXP: The Java API for Transformation_____________________1163
The JAXP Parser API.............................................1164
JAXP Support for SAX.........................................................1164
JAXP Support for DOM........................................................1166
The JAXP Transformation API ......................................1169
Examples of JAXP Transformations..................................1187
Example 1: Transformation Using Files...........................................1187
Example 2: Supplying Parameters and Output Properties............................1188
Example 3: Holding Documents in Memory........................................1188
Example 4: Using the ?xml-stylesheet? Processing Instruction .....................1189
Example 5: A SAX Pipeline.....................................................1190
Summary.....................................................1193
Appendix F: Saxon__________________________________________________1195
Using Saxon from the Command Line.................................1196
Using Saxon from a Java Application .................................1199
Using Saxon via JAXP Interfaces................................................1199
The s9api Interface...........................................................1202
Using Saxon from a.NET Application.................................1203
Saxon Tree Models..............................................1205
XXVI
________________________________________________Contents
Extensibility..................................................1205
Writing Extension Functions in Java.............................................. 1206
Writing Extension Functions under .NET..........................................1206
Collations..................................................................1207
Extensions...................................................1208
Serialization Extensions.......................................................1208
Extension Attributes..........................................................1209
Extension Instructions........................................................1209
Extension Functions..........................................................1209
The evaluate() Extension.........................................1210
Summary.....................................................1214
Appendix G: Altova_________________________________________________1215
Running from within XMLSpy.......................................1215
Conformance..................................................1216
Extensions and Extensibility.......................................1217
The Command Line Interface.......................................1217
Using the API..................................................1218
The COM API................................................................1218
The Java API................................................................1219
The .NET API................................................................1220
Summary.....................................................1220
Appendix H: Glossary______________________________________________1221
Index .....................................................1233
XXVII
|
any_adam_object | 1 |
author | Kay, Michael |
author_facet | Kay, Michael |
author_role | aut |
author_sort | Kay, Michael |
author_variant | m k mk |
building | Verbundindex |
bvnumber | BV035011062 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.X58 |
callnumber-search | QA76.73.X58 |
callnumber-sort | QA 276.73 X58 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 250 |
classification_tum | DAT 370f |
ctrlnum | (OCoLC)845193788 (DE-599)BSZ28094893X |
dewey-full | 006.7/6 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 006 - Special computer methods |
dewey-raw | 006.7/6 |
dewey-search | 006.7/6 |
dewey-sort | 16.7 16 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 4. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>01549nam a2200433 c 4500</leader><controlfield tag="001">BV035011062</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20120704 </controlfield><controlfield tag="007">t|</controlfield><controlfield tag="008">080819s2008 xx a||| |||| 00||| eng d</controlfield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9780470192740</subfield><subfield code="9">978-0-470-19274-0</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)845193788</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BSZ28094893X</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-91G</subfield><subfield code="a">DE-20</subfield><subfield code="a">DE-188</subfield><subfield code="a">DE-M347</subfield><subfield code="a">DE-573</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.73.X58</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">006.7/6</subfield><subfield code="2">22</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 370f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Kay, Michael</subfield><subfield code="e">Verfasser</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">XSLT 2.0 and XPath 2.0</subfield><subfield code="b">programmer's reference</subfield><subfield code="c">Michael Kay</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">4. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Indianapolis, Ind.</subfield><subfield code="b">Wiley</subfield><subfield code="c">2008</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XLIX, 1316 S.</subfield><subfield code="b">Ill.</subfield><subfield code="c">23 cm</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="490" ind1="0" ind2=" "><subfield code="a">Wrox Programmer to programmer</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">XPath (Computer program language)</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">XSLT (Computer program language)</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">XSLT 2.0</subfield><subfield code="0">(DE-588)4785218-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">XPath 2.0</subfield><subfield code="0">(DE-588)4785496-0</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">XSLT 2.0</subfield><subfield code="0">(DE-588)4785218-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">XPath 2.0</subfield><subfield code="0">(DE-588)4785496-0</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">HBZ Datenaustausch</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016680311&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-016680311</subfield></datafield></record></collection> |
id | DE-604.BV035011062 |
illustrated | Illustrated |
indexdate | 2024-12-20T13:17:57Z |
institution | BVB |
isbn | 9780470192740 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-016680311 |
oclc_num | 845193788 |
open_access_boolean | |
owner | DE-91G DE-BY-TUM DE-20 DE-188 DE-M347 DE-573 |
owner_facet | DE-91G DE-BY-TUM DE-20 DE-188 DE-M347 DE-573 |
physical | XLIX, 1316 S. Ill. 23 cm |
publishDate | 2008 |
publishDateSearch | 2008 |
publishDateSort | 2008 |
publisher | Wiley |
record_format | marc |
series2 | Wrox Programmer to programmer |
spellingShingle | Kay, Michael XSLT 2.0 and XPath 2.0 programmer's reference XPath (Computer program language) XSLT (Computer program language) XSLT 2.0 (DE-588)4785218-5 gnd XPath 2.0 (DE-588)4785496-0 gnd |
subject_GND | (DE-588)4785218-5 (DE-588)4785496-0 |
title | XSLT 2.0 and XPath 2.0 programmer's reference |
title_auth | XSLT 2.0 and XPath 2.0 programmer's reference |
title_exact_search | XSLT 2.0 and XPath 2.0 programmer's reference |
title_full | XSLT 2.0 and XPath 2.0 programmer's reference Michael Kay |
title_fullStr | XSLT 2.0 and XPath 2.0 programmer's reference Michael Kay |
title_full_unstemmed | XSLT 2.0 and XPath 2.0 programmer's reference Michael Kay |
title_short | XSLT 2.0 and XPath 2.0 |
title_sort | xslt 2 0 and xpath 2 0 programmer s reference |
title_sub | programmer's reference |
topic | XPath (Computer program language) XSLT (Computer program language) XSLT 2.0 (DE-588)4785218-5 gnd XPath 2.0 (DE-588)4785496-0 gnd |
topic_facet | XPath (Computer program language) XSLT (Computer program language) XSLT 2.0 XPath 2.0 |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=016680311&sequence=000002&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT kaymichael xslt20andxpath20programmersreference |
Inhaltsverzeichnis
Paper/Kapitel scannen lassen
Paper/Kapitel scannen lassen
Teilbibliothek Mathematik & Informatik
Signatur: |
0104 DAT 370f 2001 A 20382(4)
Lageplan |
---|---|
Exemplar 1 | Nicht ausleihbar Am Standort |
Teilbibliothek Chemie, Lehrbuchsammlung
Signatur: |
0303 DAT 370f 2008 L 749(4)
Lageplan |
---|---|
Exemplar 1 | Ausleihbar Am Standort |
Exemplar 2 | Ausleihbar Am Standort |
Exemplar 3 | Ausleihbar Am Standort |
Exemplar 4 | Ausleihbar Am Standort |
Exemplar 5 | Ausleihbar Am Standort |