SAS 9.2 XML LIBNAME Engine User's Guide
Original Publication Date: 2008-Dec-31
Included in the Prior Art Database: 2015-Sep-18
SAS Institute Inc.
Page 01 of 140
XML LIBNAME Engine User's Guide
Page 02 of 140
The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2008. SAS ® 9.2 XML LIBNAME Engine: User's Guide. Cary, NC: SAS Institute Inc.
SAS® 9.2 XML LIBNAME Engine: User's Guide
Copyright © 2008, SAS Institute Inc., Cary, NC, USA
All rights reserved. Produced in the United States of America.
For a hard-copy book: 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.
For a Web download or e-book: Your use of this publication shall be governed by the terms established by the vendor at the time you acquire this publication.
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 electronic printing, March 2008
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/publishing 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 140
P A R T 1 Usage 1
4 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 Transferring an XML Document Across Environments 5 Frequently Asked Questions 6
4 Exporting XML Documents 7
Understanding How to Export an XML Document 7
Exporting an XML Document for Use by Oracle 7
Exporting an XML Document Containing SAS Dates, Times, and Datetimes 9 Exporting Numeric Values 10
Exporting an XML Document with Separate Metadata 15
Exporting an XML Document in CDISC ODM Markup 18
4 Importing XML Documents 21
Understanding How to Import an XML Document 21
Importing an XML Document Using the GENERIC Markup Type 21 Importing an XML Document with Numeric Values 23
Importing an XML Document with Non-Escaped Character Data 24 Importing an XML Document Created by Microsoft Access 26
Importing Concatenated XML Documents 29
Importing a CDISC ODM Document 31
Using ISO 8601 SAS Informats and Formats to Import Dates 34
Using ISO 8601 SAS Informats and Formats to Import Time Values with a Time Zone 35