Oracle 9i. Application Developer's Guide - XML [release 9.0.1 ed.]

This manual describes Oracle 9i's XML-enabled database technology. It describes how XML data can be stored, managed

290 67 5MB

English Pages 1362 Year 2001

Report DMCA / Copyright

DOWNLOAD PDF FILE

Table of contents :
Send Us Your Comments......Page 41
Preface......Page 43
About this Guide......Page 44
Audience......Page 45
How this Manual is Organized......Page 47
Related Documentation......Page 54
How to Order this Manual......Page 55
How to Access this Manual On-Line......Page 56
Conventions......Page 57
Documentation Accessibility......Page 59
XML Features Introduced with Oracle9i, Release 1 (9.0.1)......Page 61
XML Features Introduced with Oracle8i Release 3 (8.1.7)......Page 67
Part I Introducing Oracle XML-Enabled Technology......Page 69
1 Oracle XML-Enabled Technology......Page 71
Oracle XML Components......Page 72
Storing and Retrieving XML Data from Oracle9i......Page 76
XML and URI Data Types......Page 77
Oracle Text Searching......Page 79
Oracle-Based XML Applications......Page 80
Indexing and Searching XML Documents with Oracle Text (interMedia Text)......Page 81
Messaging Hubs and Middle Tier Components......Page 82
Back-End to Database to Front-End Integration Issues......Page 83
The Oracle Suite of Integrated Tools and Components......Page 84
Oracle9i Internet File System (Oracle 9iFS or 9iFS)......Page 85
Oracle Portal......Page 86
Metadata API......Page 87
What Is Needed to Run Oracle XML Components......Page 88
Which XML Components are Included with Oracle9i Database and Oracle9i Application Server?......Page 89
XML Technical Support......Page 90
2 Modeling and Design Issues for Oracle XML Applications......Page 91
Generated XML......Page 92
Storing Composed XML Data in CLOBs or BFILEs......Page 93
Disadvantages of Using Composed XML Storage......Page 94
A Hybrid Approach Allows for User-Defined Storage Granularity......Page 95
Hybrid Storage Advantages......Page 96
Indexing and Querying Transformations......Page 97
XML Schemas and Mapping of Documents......Page 98
XMLSchema Example 2: Using XMLSchema to Map Generated XML Documents to Underlying Schema......Page 99
Sending XML Data from a Web Form to the Database......Page 101
Sending XML Documents Applications-to-Application......Page 102
Using SQL*Loader......Page 103
Loading XML Documents Into LOBs With SQL*Loader......Page 104
Customizing Presentation of Data......Page 107
Scenario 1. Content and Document Management: Publishing Composite Documents Using XML-Enabled Ora.........Page 109
Scenario 2. Content and Document Management: Delivering Personalized Information Using Oracle XML.........Page 111
Scenario 3. Content Management: Using Oracle XML Technology to Customize Data Driven Applications......Page 114
Scenario 4. B2B Messaging: Online Multivendor Shopping Cart Design Using XML......Page 115
Scenario 5. B2B Messaging: Using Oracle XML Components and Advanced Queueing for an Online Invent.........Page 117
Scenario 6. B2B Messaging: Using Oracle XML-Enabled Technology and AQ for Multi-Application Integ.........Page 120
3 Oracle XML Developer Kits (XDKs) and Components: Overview and General FAQs......Page 123
Oracle XML Components: Overview......Page 124
Development Tools and Other XML-Enabled Oracle9i Features......Page 125
XDK for Java......Page 126
XDK for PL/SQL......Page 127
XML Parsers......Page 128
XML Class Generator......Page 130
XML Transviewer Java Beans......Page 131
Oracle XSQL Page Processor and Servlet......Page 132
JavaServer Pages Platforms that Support XSQL Servlet......Page 133
Oracle XML SQL Utility (XSU)......Page 136
XML Document Structure: Columns Are Mapped to Elements......Page 137
Oracle Text......Page 138
Using Oracle XML Components to Generate XML Documents: Java......Page 139
Using Oracle XML Components to Generate XML Documents: C......Page 142
Using Oracle XML Components to Generate XML Documents: C++......Page 144
Using Oracle XML Components to Generate XML Documents: PL/SQL......Page 146
What XML Components Do I Need to Install?......Page 148
DTD to Database Schema......Page 149
Are There XDK Utilities That Translate From Other Formats to XML?......Page 150
How Can I Format XML Documents as PDF?......Page 151
How Do I Load a Large XML Document Into the Database?......Page 152
Can I Use Parsers from Different Vendors?......Page 154
If I Use Versions Prior to Oracle8i Can I use Oracle XML Tools?......Page 155
Are there Advantages of XML Over EDI?......Page 156
What B2B Standards and Development Tools Does Oracle Support?......Page 157
What is Oracle Corporation’s Direction Regarding XML?......Page 158
What is the Maximum XML File Size When Stored in CLOBs?......Page 159
What Do I Need to Insert Data Into Tables Using XML?......Page 160
Using XML With Different Languages......Page 161
Recommended XML and XSL Books......Page 162
4 Using XSL and XSLT......Page 165
The W3C XSL Specification......Page 166
XSL Stylesheet Architecture......Page 167
XSLT 1.1 Specification......Page 168
CSS Versus XSL......Page 169
How Do I Write an IF Statement in XSL That Tests for Values Within Tags?......Page 170
When Converting XML to HTML, Why Do I get "Unexpected EOF"?......Page 171
Whitespace: Why are my Resulting Values Multiplied by 2?......Page 173
How Can I Specify a NULL Indicator in XSL?......Page 174
How Can Transfer Tag Names in XSLT?......Page 175
How Do I Convert A String to a Nodeset in XSL?......Page 177
In XSL, How Can I Correctly Convert an XML Document Tag to a Link in HTML?......Page 180
In an XSL Transformation, How Do I Ensure that the DTD File Can be Located?......Page 182
In XSL, How Do I Prevent the Namespace Definition from Being Repeated For Each Element?......Page 183
How Do I Pass a Parameter from a Java Program to an XSL Stylesheet?......Page 184
How Can I Resolve the Error XSL-1009 Attribute ’XSL Version’ Not Found in HTML?......Page 185
What XPath Expression Will Retrieve Only Terminal Child Elements?......Page 186
Child Attributes are Not Returned After Applying XSL Stylesheet......Page 187
Part II Storing and Retrieving XML From the Database......Page 189
5 Database Support for XML......Page 191
What are the Oracle9i Native XML Database Features?......Page 192
XMLType Datatype......Page 193
How to use XMLType......Page 194
Guidelines for using XMLType Columns......Page 196
Benefits of XMLType......Page 197
XMLType Storage in the Database......Page 198
Specifying Storage Characteristics on XMLType Columns......Page 200
Specifying Constraints on XMLType Columns......Page 202
XMLType Functions......Page 203
Inserting XML Data into XMLType Columns......Page 206
Updating XML Data in XMLType Columns......Page 208
Using XMLType Inside Triggers......Page 209
Selecting XML data......Page 210
Querying XML data......Page 211
Querying XMLType Data using Text Operators......Page 219
Indexing XMLType columns......Page 221
Java Access to XMLType (oracle.xdb.XMLType)......Page 222
Installing and using oracle.xdb.XMLType class......Page 231
DBMS_XMLGEN......Page 232
SYS_XMLGEN......Page 253
XMLGenFormatType Object......Page 254
SYS_XMLAGG......Page 262
TABLE Functions......Page 267
Table Functions Example 1: Exploding the PO to Store in a Relational Table......Page 268
Frequently Asked Questions (FAQs): XMLType......Page 271
6 Database Uri-references......Page 275
What is a Uri-ref?......Page 276
New Datatypes Store Uri-references......Page 277
DBUri-refs, Intra-Databases References......Page 278
Formulating the DBUri......Page 279
The DB-Uri Specification......Page 281
DBUri Syntax Guidelines......Page 282
Some Common DBUri-ref Scenarios......Page 283
Where Can DBUri-ref be Used?......Page 286
Storing Pointers to Documents with UriType......Page 288
URIType Examples......Page 289
DBUriType Examples......Page 290
UriFactory Package......Page 291
UriFactory Example: Registering the ecom Protocol......Page 292
Why Use Different Uri-refs?......Page 293
SYS_DBURIGEN() SQL Function......Page 294
SYS_DBURIGEN Example 2: Returning Partial Results......Page 296
SYS_DBURIGEN Example 3: RETURNING Uri-refs......Page 298
oracle.xml.dburi.OraDbUriServlet() Servlet Mechanism......Page 299
OraDBUriServlet Security......Page 300
Installing OraDBUri Servlet......Page 301
DBUri Servlet Example 1: First Create a DBUriServer Web Service [tkxmsrv.ssh]......Page 302
DBUri Servlet Example 2: Creating DBUridomain — Publishing OraDbUriServlet Under SYS [tkxmsys.ssh]......Page 303
DBUri Servlet Example 3: Publishing OraDbUriServlet Under SYS [tkxmsysd.ssh]......Page 304
DBUri Servlet Example 4: Publishing OraDbUriServlet Under ADAMS with Class Under SYS [tkxmadam.ssh]......Page 305
DBUri Servlet Example 5: Publishing OraDbUriServlet Under SCOTT [tkxmsctd.ssh]......Page 306
DBUri Servlet Example 6: Creating and Mapping dburirealm — Publishing OraDbUriServlet Under SYS [.........Page 307
DBUri Servlet Example 7: Publishing OraDbUriServlet Under the ADAMS Schema Using the Class Under .........Page 308
DBUri Servlet Example 8: Publishing OraDbUriServlet Under the ADAMS Schema Using the Class Under .........Page 309
Configuring the UriFactory Package to Handle DBUri-refs......Page 311
7 XML SQL Utility (XSU)......Page 313
What is XML SQL Utility (XSU)?......Page 314
XSU Oracle9i Features......Page 315
Installation......Page 316
XML SQL Utility in the Database......Page 317
XML SQL Utility in the Middle Tier......Page 318
XML SQL Utility in a Web Server......Page 319
Default SQL-to-XML Mapping......Page 320
Customizing the Generated XML: Mapping SQL to XML......Page 324
Default XML-to-SQL Mapping......Page 325
Inserting with XSU......Page 326
Updating with XSU......Page 327
Deleting with XSU......Page 328
Generating XML Using the XSU Command Line......Page 329
XSU’s OracleXML getXML Options......Page 330
Inserting XML Using XSU’s Command Line (putXML)......Page 331
XSU Java API......Page 332
Generating XML From SQL Queries Using XSU......Page 333
XSU Generating XML Example 1: Generating a String From Table emp (Java)......Page 334
XSU Generating XML Example 2: Generating DOM From emp table (Java)......Page 337
When the Number of Rows or Columns in a Row Are Too Large......Page 339
XSU Generating XML Example 3. Paginating Results: Generating an XML Page When Called (Java)......Page 340
XSU Generating XML Example 4: Generating XML from JDBC ResultSets (Java)......Page 342
XSU Generating XML Example 5: Generating XML from Procedure Return Values (REF CURSORS) (Java)......Page 344
Raising No Rows Exception......Page 345
XSU Generating XML Example 6: No Rows Exception (Java)......Page 346
Storing XML Back in the Database Using XSU OracleXMLSave......Page 347
XSU Inserting XML Example 7: Inserting XML Values into All Columns (Java)......Page 348
XSU Inserting XML Example 8: Inserting XML Values into Only Certain Columns (Java)......Page 349
Update Processing Using XSU (Java API)......Page 350
XSU Updating XML Example 9: Updating a Table Using the keyColumns (Java)......Page 351
XSU Updating XML Example 10: Updating a Specified List of Columns (Java)......Page 352
XSU Deleting XML Example 11: Deleting Operations Per ROW (Java)......Page 353
XSU Deleting XML Example 12: Deleting Specified Key Values (Java)......Page 354
XSU Generating XML Example 13: Generating XML From Simple Queries (PL/SQL)......Page 355
XSU Generating XML Example 14: Changing ROW and ROWSET Tag Names (PL/SQL)......Page 356
XSU Generating XML Example 15: Paginating Results Using setMaxRows() and setSkipRows()......Page 357
Setting Stylesheets in XSU (PL/SQL)......Page 358
Binding Values in XSU (PL/SQL)......Page 359
Storing XML in the Database Using DBMS_XMLSave......Page 360
XSU Inserting XML Example 16: Inserting Values into All Columns (PL/SQL)......Page 361
XSU Inserting XML Example 17: Inserting Values into Only Certain Columns (PL/SQL)......Page 362
Update Processing Using XSU (PL/SQL API)......Page 363
XSU Updating XML Example 18: Updating an XML Document Using keyColumns (PL/SQL)......Page 364
XSU Deleting XML Example 20: Deleting Operations per ROW (PL/SQL)......Page 365
XSU Example 21: Deleting by Specifying the Key Values (PL/SQL)......Page 366
XSU Deleting XML Example 22: ReUsing the Context Handle (PL/SQL)......Page 367
XSU Exception Handling in Java......Page 369
XSU Exception Handling in PL/SQL......Page 370
What Schema Structure Should I Use With XSU to Store XML?......Page 371
Can XSU Store XML Data Across Tables?......Page 372
Is XML SQL Utility Case Sensitive? Can I Use ignoreCase?......Page 373
Does XML SQL Utility Commit After INSERT, DELETE, UPDATE?......Page 374
Can You Explain How to Map Table Columns to XML Attributes Using XSU?......Page 375
How Can I Use XMLGEN.insertXML with LOBs?......Page 376
8 Searching XML Data with Oracle Text......Page 381
Introducing Oracle Text......Page 383
Assumptions Made in this Chapter’s Examples......Page 384
Oracle Text Users and Roles......Page 385
Querying with the CONTAINS Operator......Page 386
Using the WITHIN Operator to Narrow Query Down to Document Sections......Page 387
Using INPATH or HASPATH Operators for Query Searching With XPath-like Expressions......Page 391
Using Oracle Text to Search XML Documents......Page 397
Step 1. Create a Section Preference......Page 398
Oracle Text Example 1: Creating an Index Using XML_SECTION_GROUP......Page 402
Building XML Query Applications with Oracle Text......Page 404
Specifying Doctype Limiters to Distinguish Between Tags......Page 405
Querying Within Attribute Sections......Page 406
XML_SECTION_GROUP Attribute Sections......Page 407
Constraints for Querying Attribute Sections......Page 409
Procedure for Building a Query Application with Oracle Text......Page 410
Using Table CTX_OBJECTS and CTX_OBJECT_ATTRIBUTES View......Page 411
2.1 Using CTX_DDL.add_zone_section......Page 412
2.2 Using CTX_DDL.Add_Attr_Section......Page 413
2.3 Using CTX_DDL.add_field_section......Page 414
Step 3. Create Your Query Syntax......Page 416
Oracle Text Example 4: Querying a... Document......Page 417
Oracle Text Example 5: Creating an Index and Performing a Text Query......Page 419
Repeated Sections......Page 420
Nested Sections......Page 421
Case Study: Searching an Online FAQ List Using Oracle Text......Page 422
1 Create and Populate Your FAQ Table. Create an Auto Section Group and Oracle Text Index......Page 425
2 Compile showxml.psp......Page 427
3 Compile faqsearch.psp......Page 428
Can I Build Indexes on Attribute Values?......Page 431
Can XML Documents Be Queried Like Table Data?......Page 432
How Can I Searching XML Documents and Return a Zone?......Page 433
How Do I Search XML using the WITHIN Operator?......Page 434
Oracle Text (intermedia Text) and XML: Add_field_section......Page 435
Can I Create a Text Index on Three Columns?......Page 436
How Can We Index XML Documents in Different Languages?......Page 437
How Do I Search CLOBs Using Oracle Text?......Page 438
How Can I Search Different XML Documents Stored in CLOBs With Different DTDs?......Page 439
Storing an XML Document in CLOB: Using Oracle Text (intermedia Text)......Page 440
Can We Only Insert Structured When The Table is Created?......Page 442
Part III Data Exchange Using XML......Page 445
9 Exchanging XML Data Using Oracle AQ......Page 447
How do AQ and XML Complement Each Other?......Page 448
IDAP Architecture......Page 452
IDAP Method Invocation......Page 454
IDAP Message Structure......Page 455
IDAP Method Invocation Body: “IDAP Payload”......Page 456
IDAP Client Requests for Enqueue......Page 457
Message Payloads......Page 459
IDAP Enqueue Request Example1 — Sending an ADT Message to a Single-Consumer Queue......Page 463
IDAP Enqueue Request Example 2 — Publishing an ADT Message to a Multiconsumer Queue......Page 465
IDAP Enqueue Request Example 3 — Sending a Message to a JMS Queue......Page 466
IDAP Enqueue Request Example 4 — Sending/Publishing and Committing the Transaction......Page 467
IDAP Client Requests for Dequeue......Page 469
IDAP Dequeue Request Example 3 — Receiving Messages and Committing......Page 471
IDAP Client Requests for Registration......Page 472
Commit Request......Page 473
IDAP Server Response to Enqueue......Page 474
IDAP Server Request Example 2— Enqueuing to a Multiconsumer Queue......Page 475
IDAP Server Dequeue Response Example 1 — Receiving Messages from an ADT Queue (AQXmlReceiveResponse)......Page 476
Commit Response......Page 477
Notification......Page 478
Accessing AQXMLServlet with HTTP......Page 479
Creating Message Payloads Queues Containing XMLType Attributes......Page 483
XMLType Queues Example 1: Creating XMLType Queue Tables for a Queue Object Type Containing Messag.........Page 484
AQ Message Transformation Example 1: Creating a Single PL/SQL Function that Returns an XMLType Ob.........Page 485
Can we Store AQ XML Messages with Many PDFs as One Record?......Page 488
Can We Add New Recipients After Messages are Enqueued?......Page 489
How Can We Parse Messages with XML Content From AQ Queues?......Page 490
Can we Prevent the Listener From Stopping Until the XML Document is Processed?......Page 491
Part IV Tools and Frameworks for Building Oracle-Based XML Applications......Page 493
10 XSQL Pages Publishing Framework......Page 495
XSQL Pages Publishing Framework Overview......Page 496
What Can I Do with Oracle XSQL Pages?......Page 497
What’s Needed to Run XSQL Pages?......Page 499
Overview of Basic XSQL Pages Features......Page 500
Producing XML Datagrams from SQL Queries......Page 501
Transforming XML Datagrams into an Alternative XML Format......Page 503
Transforming XML Datagrams into HTML for Display......Page 507
Using XSQL Pages With Oracle JDeveloper......Page 509
Setting the CLASSPATH Correctly in Your Production Environment......Page 510
Setting Up the Connection Definitions......Page 511
Using the XSQL Command Line Utility......Page 512
Using All of the Core Built-in Actions......Page 513
Aggregating Information Using ......Page 530
Handling Posted Information......Page 532
Using Custom XSQL Action Handlers......Page 538
Description of XSQL Servlet Examples......Page 540
Setting Up the Demo Data......Page 542
Understanding Client Stylesheet-Override Options......Page 543
Controlling How Stylesheets are Processed......Page 544
Using XSQLConfig.xml to Tune Your Environment......Page 548
Using the FOP Serializer to Produce PDF Output......Page 553
Using XSQL Page Processor Programmatically......Page 555
Writing Custom XSQL Action Handlers......Page 557
Writing Custom XSQL Serializers......Page 562
Writing Custom XSQL Connection Managers......Page 565
Formatting XSQL Action Handler Errors......Page 566
CURSOR() Function in SQL Statements......Page 567
XSQL Servlet Conditional Statements......Page 568
Working with Non-Oracle Databases......Page 569
XSQL on Oracle8i Lite......Page 570
Handling Multi-Valued HTML Form Parameters......Page 571
Out Variable Not Supported in ......Page 573
Using Other File Extensions Besides *.xsql......Page 575
Avoiding Errors for Queries Containing XML Reserved Characters......Page 576
11 Using JDeveloper to Build Oracle XML Applications......Page 579
Introducing JDeveloper9i......Page 580
Business Components for Java (BC4J)......Page 581
Oracle JDeveloper XML Strategy......Page 582
What’s Needed to Run JDeveloper9i......Page 583
XML in Business Components for Java (BC4J)......Page 584
Object Gallery......Page 586
XSQL Element Wizard......Page 588
Oracle XDK and Transviewer Beans Integration......Page 589
Oracle XSQL Servlet......Page 590
JDeveloper XML Example 1: BC4J Metadata......Page 592
Using JDeveloper’s XML Data Generator Web Bean......Page 593
Using XSQL Servlet from JDeveloper......Page 596
JDeveloper XSQL Example 2: Employee Data from Table emp: emp.xsql......Page 597
JDeveloper XSQL Example 3: Employee Data with Stylesheet Added......Page 598
Creating a Mobile Application in JDeveloper......Page 599
1 Create the BC4J Application......Page 600
2 Create JSP Pages Based on a BC4J Application......Page 601
3 Create XSLT Stylesheets According to the Devices Needed to Read The Data......Page 602
Constructing an XML Document in JSP......Page 605
Using XMLData From BC4J......Page 606
Running XML Parser for Java in JDeveloper 3.0......Page 607
Moving Complex XML Documents to a Database......Page 610
12 Building BC4J and XML Applications......Page 611
BC4J Features......Page 612
BC4J Advantages......Page 613
Building BC4J XML Applications in JDeveloper......Page 614
Building XSQL Clients with BC4J......Page 615
Ease of Code Generation and Management when Building XML and Java Applications......Page 616
13 13 Using Metadata API......Page 617
Metadata API Components......Page 618
Metadata API Features......Page 619
What is DBMS_METADATA?......Page 620
DBMS_METADATA and Security......Page 621
DBMS_METADATA Programmatic Interface......Page 622
DBMS_METADATA.FETCH_XML......Page 624
DBMS_METADATA.FETCH_DDL()......Page 625
DBMS_METADATA Browsing Interface......Page 628
mddemo.sql......Page 630
PAYROLL_DEMO Output......Page 636
14 Oracle9iAS Reports Services and XML......Page 639
B2B Data Exchange: Why Use XML in Reports?......Page 640
What’s Needed to Run Oracle9iAS Reports Services......Page 641
XML as a Data InterChange Format......Page 642
Formatting XML Output Using XSL Stylesheets......Page 643
Applying an XML Customization......Page 644
Customizing Reports at Runtime with XML......Page 646
Customizing Reports with XML, Example 2: Changing Text Color of F_EMPNO to Red and Setting Date F.........Page 647
Customizing Reports with XML, Example 4: Replacing a SELECT * Query with a SELECT * FROM... WHERE.........Page 648
Customizing Reports with XML, Example 5: Adding a Trigger to Field S_SAL......Page 649
Performing Batch Report Modifications by Applying XML Report Definitions......Page 650
Customizing Reports with XML Example 6: Creating Different Language Versions from One Report Defi.........Page 651
Customizing Reports with XML, Example 7: Creating a Report from XML Definitions Only......Page 653
Running an XML Report Definition by Itself......Page 654
Pluggable Data Source, XML-PDS......Page 655
Using XML for Oracle9iAS Reports Services Configuration Files......Page 656
How Reports9i XML-PDS Supports XSQL Servlet......Page 657
How to Become a Supplier of Live XML Streams......Page 658
How to Take Advantage of Supplied XML-Data......Page 660
Can We Output XML From Our Year End Reports Through a Database Interface?......Page 663
Changing the Report Template......Page 664
REP-6106:Error in the XML report definition at line 1 in 'c:\am01.xml' Start of root element expe.........Page 665
15 Using the PDK for Visualizing XML Data in Oracle Portal......Page 667
What are Portlets?......Page 668
Oracle Portal Development Kit (PDK)......Page 669
PDK URL Services Overview......Page 670
Web Provider......Page 671
URL Services Runtime......Page 672
Provider.xml......Page 673
Using provider.xml......Page 674
Provider Tag......Page 675
Portlet Tag......Page 676
Integrating Technologies into Oracle 9iAS Portal......Page 680
16 How Oracle Exchange Uses XML......Page 681
Stored Transactions......Page 682
Pass Through Transactions......Page 683
E-Business Solution Architecture......Page 684
Exchange - Supplier XML......Page 685
XML Message Designer and Runtime Execution Engine......Page 689
Generating XML that Conforms to New Schema......Page 690
17 Introducing Oracle XML Gateway......Page 691
Oracle XML Gateway Services......Page 692
Oracle XML Gateway Architecture......Page 693
XML Gateway Services - Message Designer......Page 694
XML Gateway Services - Message Set Up......Page 697
XML Gateway Services - Execution Engine......Page 698
A Word About XML Standards......Page 700
Part V Oracle9i Dynamic Services (DS) and Oracle Syndication Server (OSS)......Page 701
18 Using Oracle9iAS Dynamic Services and XML......Page 703
Introducing Oracle9iAS Dynamic Services......Page 704
How Dynamic Services (DS) Helps Developers......Page 705
Dynamic Services (DS) Architecture Overview......Page 706
Dynamic Services (DS) Implementation Overview......Page 708
Dynamic Services Java Deployment......Page 709
Dynamic Services PL/SQL Deployment......Page 710
Dynamic Services Java HTTP/Java Messaging Services (JMS) Deployment......Page 711
Multiple Channel Capabilities of DS......Page 713
Service Management and Administration......Page 714
Service Execution......Page 715
Dynamic Services Integrates with Other Oracle Products......Page 718
Developing Services For Dynamic Services......Page 719
Oracle Syndication Server (OSS)......Page 720
Compiling SampleStock.java......Page 721
Dynamic Services Example 1: SampleStock (Java)......Page 723
Other FAQs?......Page 729
19 Oracle Syndication Server (OSS) and XML......Page 731
OSS Features: e-Business Content Aggregation, Exchange, and Syndication......Page 732
Content Syndication......Page 733
Information and Content Exchange (ICE) Protocol......Page 734
OSS Architecture......Page 735
Interacting With Content Subscribers......Page 737
Delivering content to subscribers......Page 738
Part VI XDK for Java......Page 739
20 Using XML Parser for Java......Page 741
XML Parser for Java: Features......Page 742
XSL Transformation (XSLT) Processor......Page 744
Oracle XML Parsers Support Four Validation Modes......Page 745
Parsers Access XML Document’s Content and Structure......Page 746
SAX: Event -Based API......Page 748
Guidelines for Using DOM and SAX APIs......Page 749
XML Serialization/Compression......Page 750
Upgrading XDK for Java from a Previous Release to Oracle9i......Page 751
Running the XML Parser for Java Samples......Page 752
XML Parser for Java - XML Sample 1: class.xml......Page 753
XML Parser for Java - XML Example 3: Using DTD family.dtd — family.xml......Page 754
XML Parser for Java - DTD Example 1: (NSExample)......Page 755
Using XML Parser for Java: DOMParser() Class......Page 756
XML Parser for Java Example 1: Using the Parser and DOM API (DomSample.java)......Page 758
Comments on DOMParser() Example 1......Page 762
XML Parser for Java Example 2: Parsing a URL — DOMNamespace.java......Page 763
Using XML Parser for Java: SAXParser() Class......Page 767
XML Parser for Java Example 3: Using the Parser and SAX API (SAXSample.java)......Page 769
Using XML Parser for Java: XSLT Processor......Page 773
XML Parser for Java Example 4: (XSLSample.java)......Page 775
XML Parser for Java Example 5: Using the DOM API and XSLT Processor......Page 778
Comments on XSLT Example 5......Page 780
XML Parser for Java Example 6: (SAXNamespace.java)......Page 781
oraxml - Oracle XML parser......Page 785
oraxsl - Oracle XSL processor......Page 786
XSLT Processor Extension Functions: Introduction......Page 787
Constructor Extension Function......Page 788
Return Value Extension Function......Page 789
ora XSLT Built In Extensions: ora:node-set and ora:output......Page 790
Checking DTD Syntax: Suggestions for Editors......Page 795
DTD Caching......Page 797
Recognizing External DTDs......Page 798
Can I Check the Correctness of an XML Document Using their DTD?......Page 799
Case-Sensitivity in Parser Validation against DTD?......Page 800
Extracting Embedded XML From a CDATA Section......Page 801
Why Am I Getting an Error When I Call DOMParser.parseDTD()?......Page 802
Is There a Standard Extension To Use for External Entities References in an XML Document?......Page 804
Creating a Node With Value to be Set Later......Page 805
Does a DTD Validate the DOM Tree?......Page 806
XMLNode.selectNodes() Method......Page 807
Using SAX API to Get the Data Value......Page 808
Creating an New Document Type Node Via DOM......Page 809
Querying for First Child Node’s Value of a Certain Tag......Page 810
Printing Data in the Element Tags: DOM API......Page 811
XML Parser for Java: wrong_document_err on Node.appendChild()......Page 812
With SAX, How Can I Force the Parser to Not Discard Whitespace?......Page 814
Can Multiple Threads Use Single XSLProcessor/Stylesheet?......Page 815
Encoding iso-8859-1 in xmlparser......Page 816
Parsing XML Stored in NCLOB With UTF-8 Encoding......Page 817
NLS support within XML......Page 818
UTF-16 Encoding with XML Parser for Java V2......Page 819
How Can I Read in Accented Characters?......Page 820
Adding an XMLDocument as a Child to Another Element......Page 821
Adding an XML DocumentFragment as a Child to XMLDocument......Page 822
Removing XML Parser from the Database......Page 823
How the XML Parser Works......Page 824
Including Binary Data in an XML Document......Page 825
XDK Version Numbers......Page 826
Sorting the Result on the Page......Page 827
Parsing a String......Page 828
Obtaining Ampersand from Character Data......Page 829
How Can We Use Special Characters in the Tags?......Page 830
Extracting Data from XML Document into a String......Page 831
Delimiting Multiple XML Documents......Page 832
Can I Break up and Store an XML Document without a DDL Insert?......Page 833
Merging XML Documents......Page 834
Granting JAVASYSPRIV to User......Page 836
Including an External XML File in Another XML File: External Parsed Entities......Page 837
Will Oracle Support Hierarchical Mapping?......Page 839
HTML Error in XSL......Page 840
Is Supported?......Page 841
Netscape 4.0: Preventing XSL From Outputting Tag......Page 843
Generating HTML: “

Oracle 9i. Application Developer's Guide - XML [release 9.0.1 ed.]

  • Commentary
  • Part No. A88894-01
  • 0 0 0
  • Like this paper and download? You can publish your own PDF file online for free in a few minutes! Sign Up
File loading please wait...
Recommend Papers