Browse Prior Art Database

SAS 9.1 XML LIBNAME Engine User's Guide

IP.com Disclosure Number: IPCOM000243204D
Original Publication Date: 2004-Dec-31
Included in the Prior Art Database: 2015-Sep-18
Document File: 132 page(s) / 1M

Publishing Venue

SAS Institute Inc.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 4% of the total text.

Page 01 of 132

SAS® 9.1 XML LIBNAME Engine

User's Guide



Page 02 of 132

The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS ® 9.1 XML LIBNAME Engine User's Guide. Cary, NC: SAS Institute Inc.

SAS® 9.1 XML LIBNAME Engine User's Guide

Copyright © 2004, SAS Institute Inc., Cary, NC, USA


ISBN 1-59047-176-8
All rights reserved. Produced in the United States of America. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, or otherwise, without the prior written permission of the publisher, SAS Institute Inc.

U.S. Government Restricted Rights Notice. Use, duplication, or disclosure of this software and related documentation by the U.S. government is subject to the Agreement with SAS Institute and the restrictions set forth in FAR 52.227-19 Commercial Computer Software-Restricted Rights (June 1987).

SAS Institute Inc., SAS Campus Drive, Cary, North Carolina 27513.
1st printing,January 2004
SAS Publishing provides a complete selection of books and electronic products to help customers use SAS software to its fullest potential. For more information about our e-books, e-learning products, CDs, and hard-copy books, visit the SAS Publishing Web site at support.sas.com/pubs or call 1-800-727-3228.

SAS® and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.

Other brand and product names are registered trademarks or trademarks of their respective companies.


Page 03 of 132

Contents

P A R T 1 Usage 1

Chapter 1 Getting Started with the XML Engine 3

What Does the XML Engine Do? 3

Understanding How the XML Engine Works 3 SAS Processing Supported by the XML Engine 5 Frequently Asked Questions 5

Chapter 2 Exporting XML Documents 9

Understanding How to Export an XML Document 9
Exporting an XML Document for Use by Oracle 9
Exporting an XML Document Containing a SAS User-Defined Format 11

Exporting an XML Document Containing SAS Dates, Times, and Datetimes 15

Exporting an HTML Document 16

Exporting Numeric Values 18

Exporting an XML Document with Separate Metadata 22

Chapter 3 Importing XML Documents 27

Understanding How to Import an XML Document 27

Understanding the Required Physical Structure for an XML Document to Be Imported 27

Importing an XML Document with the Correct Physical Structure 30

Importing an XML Document with Numeric Values 31

Importing an XML Document with Non-Escaped Character Data 33

Importing an XML Document Created by Microsoft Access 34

Importing Concatenated XML Documents 37

Chapter 4 Importing XML Documents Using an XMLMap 41

Why Use an XMLMap When Importing? 41

Using an XMLMap to Import an XML Document as One SAS Data Set 41

Using an XMLMap to Import an XML Document as Multiple SAS Data Sets 44

Importing Hierarchical Data as Related Data Sets 48

Including a Key Field wit...