[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

[Newbie] Can XQuery produce non-XML output?

Costello, Roger L. costello at mitre.org
Sat Apr 3 08:28:53 PST 2010


  [Newbie] Can XQuery produce non-XML output?
Hi Folks,

Every time I run an XQuery, the output has an XML declaration at the top, even if the output is not XML, e.g.,

<?xml version="1.0" encoding="UTF-8"?>
The ABC Book Store 
The Origin of Wealth / Eric D. Beinhocker / 2006 / 1-57851-777-X / Harvard Business School Press / 29.95 
DOM Scripting / Jeremy Keith / 2005 / 1-59059-533-5 / friends of ed / 34.99 
Guns, Germs, and Steel / Jared Diamond / 2005 / 0-393-06131-0 / W. W. Norton &amp; Company, Ltd. / 24.99 
Economics in One Lesson / Henry Hazlitt / 1946 / 0-517-54823-2 / Three Rivers Press / 11.00 
How to Read a Book / Mortimer J. Adler / 1940 / 0-671-21280-x / Simon &amp; Schuster, Inc. / 15.00 
Don't Make Me Think / Steve Krug / 2006 / 0-321-34475-8 / New Riders / 40.00 
Bulletproof Ajax / Jeremy Keith / 2007 / 0-321-47266-7 / New Riders / 34.99

Is there a way to specify in the XQuery the type of output (XML, text, HTML)? 

Is there a way to avoid the output having an XML declaration at the top?


/Roger



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.