[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XMLOut - generating xml from programs

  • From: Boris Kolpackov <boris@codesynthesis.com>
  • To: Liam R E Quin <liam@w3.org>
  • Date: Tue, 23 Aug 2011 07:17:59 +0200

Re:  XMLOut - generating xml from programs
Hi Liam,

Liam R E Quin <liam@w3.org> writes:

> I gave a talk at Balisage this year about providing APIs for writing XML
> from non-XML data in languages such as C, PHP and Perl (and maybe java),
> as well as JavaScript.

Tim Bray created a C library for generating XML some time ago:

http://www.tbray.org/ongoing/When/200x/2004/02/20/GenxStatus

It is somewhat abandoned now (there hasn't been any updates
since 2004) but it is reasonably complete. We have been using
it for some time now and have added a number of improvements
(e.g., pretty-printing) and fixed a few issues. We can probably
share these if there is interest.

It doesn't have the printf-style API you described in the blog
post (without seeing any use cases, I will reserve my judgements
about whether it is a good idea or not). But you can probably
use genx as a base and perhaps as a lower-level API if/when the
user needs more flexibility.

Boris

-- 
Boris Kolpackov, Code Synthesis        http://codesynthesis.com/~boris/blog
Compiler-based ORM system for C++      http://codesynthesis.com/products/odb
Open-source XML data binding for C++   http://codesynthesis.com/products/xsd
XML data binding for embedded systems  http://codesynthesis.com/products/xsde


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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-2013 All Rights Reserved.