Beginning XML Databases (Wrox Beginning Guides)

DAD (Document Access Definition) , 437

data access, DOM , 11

data islands

defined, 7

Try It Out exercise, 910

data management , 382

data order, XML advantages , 3

data retrieval elements

xsl:output , 70

xsl:text , 70

xsl:value--of , 6970

data structure, object model , 225226

data transfers, bulk , 5

data types

complex, 378379

custom, 375

date, 372373

double , 372

miscellaneous, XSD, 373

numeric, 372

restriction, 376377

simple, 376

string, 371372

table containing, 168

time, 372373

typed, 166167

untyped, 166167

user --defined types, 146

in XForms, 342343

XMLCLOB , 436

XMLFILE , 436

XMLType

CLOB object, 132

defined, 434

discussed, 131

methods , 132133

subprograms, 132

uses for, 132

XMLVARCHAR , 436

database sample

discussed, 427

logical relationship, 428

object model, 430

physical relationship, 429

database tables . See tables

data--centric documents , 260261

date

formatDate() method, 81

XPath scripting language functions, 286287

date data types , 373

DBMS_XMLGEN package , 151152

DBPrism native XML database , 386

DB2 database

CLOB objects, 442444

Control Center, 443

document creation, 437

REC2XML function, 437438

XML Extender software, 436

XML functions, 438441

XMLCLOB data type, 436

XMLFILE data type, 436

XMLVARCHAR data type, 436

debugging XPath tracing functions , 283

decimal data type, 372

defaults, DTD attributes , 362364

DELETE command

defined, 89

table records, 119

deleting records from tables , 119

demographics , document creation , 153154

density expression calculation, table queries , 102

depth() method, 81

descendent node, XQuery language , 303

DHTML (Dynamic HTML) , 319

Directory Name Service (DNS) , 285

division XPath numeric operator , 284

DNS (Directory Name Service) , 285

Document Access Definition (DAD) , 437

Document class

attributes and methods of, 39

documentElement attribute, 41

end of chapter exercise, 55

events and, 42

functions performed by, 32

inheritance and, 38

load() method, 40

document creation

using DB2 database, 437

using Oracle database

content, editing and removing, 159161

database storage, 153154

demographics, 153154

discussed, 131132

document retrieval, 154155

duplicated records, 142

file size considerations, 143

GROUP BY clause, 144

highlighted name example, 137

implementation, 134135

methods, list of, 135

multiple fields, 141

multiple XML fragment example, 137138

nested tables, 145

packages, 134

PL/SQL package, 151153

relational structure, 140

results, reading, 155159

root tag, 145

sorting order example, 139

SYS_XMLGEN function, 146

tag creation, 136

TYPE objects, 147

white space removal, 138

XMLType data type, 131133

using SQL

discussed, 122

multiple--layer document, 125126

pseudocode, 127128

root tag, 123

two--dimensional structure, 123124

document nodes

XPath scripting language, 266

XQuery language, 302

Document Object Model . See DOM

Document Type Definition . See DTD

documentElement attribute, 41

documents

adding to SQL Server, 185186

data--centric, 260261

document--centric, 260

generation, ASP, 5253

object model comparison, 238

splitting data between, XPointer, 333334

transfers

basic, 205207

B2B (Business--2--Business), 220222

external data, 219222

HTTP protocol, 208

metadata, 210

semantics in, 209210

SOAP (Simple Object Access Protocol), 210214

transformation processing, 208

Web Services, 207209

type declaration, DTD, 352353

validation of, DTD, 1213, 252

dollar sign ($) , 75

DOM (Document Object Model)

abstracted class, 33

Attr class

attributes associated with, 44

code, 4445

functions performed by, 32

CDATA Section class, 24, 52

class descriptions, 32

class hierarchical structure, 3031

Comment class, 52

data access, 11

Document class

attributes and methods of, 39

documentElement attribute, 41

end of chapter exercise, 55

events and, 42

functions performed by, 32

inheritance and, 38

load() method, 40

dynamic access, 11

Element class

attributes and methods of, 42

code, 43

functions performed by, 32

tagName attribute, 42

generic access, 11

hierarchical array structure, 12

HTTPRequest object, 5051

NamedNodeMap class, 35

Node class

appendChild() method, 34

attributes and methods of, 33

functions performed by, 32

Try It Out exercise, 3537

NodeList class

attributes and methods of, 34

functions performed by, 32

objects

classes versus, 32

hierarchical structure, 3031

parseError class

attributes and methods, 47

code, 4849

ProcessingInstruction class, 52

programmatic manipulation, 29

Text class

attributes and methods, 4546

code, 46

functions performed by, 32

XSL combined with, 8284

double data type, 372

DROP INDEX command, 122

DROP TABLE command, 89

DROP TYPE command, 148149

DTD (Document Type Definition)

attributes

ATTLIST declaration, 360

defaults, 362364

types, 361362

character data, 352

defined, 433

discussed, 246, 351

document type declaration, 352353

document validation, 252

elements

cardinality, 357360

categories, 354355

content, 355357

end of chapter exercise, 380

entities

ASCII code character, 364365

built--in, 364365

custom, 365369

parameter, 365369

validation of documents, 1213

duplicated table records , 142

duration functions, XPath scripting language , 286287

dynamic access, DOM , 11

dynamic data , 13

Dynamic HTML (DHTML) , 319

Категории