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

Regarding libxml2-2.6.17 xmlWriter API

  • To: <xml-dev@l...>
  • Subject: Regarding libxml2-2.6.17 xmlWriter API
  • From: "Saha Rabindra N" <saha.rn@m...>
  • Date: Tue, 3 May 2005 19:56:39 -0400
  • Importance: normal
  • Priority: normal
  • Thread-index: AcVQO78gghoyjie9TKGrkNaMshRLZw==
  • Thread-topic: Regarding libxml2-2.6.17 xmlWriter API

xmlwriter api
Title: Regarding libxml2-2.6.17 xmlWriter API

  I just have one quick question. I am using libxml2-2.6.17 on HP-UX B.11.00 to read one text file and create one xml file out of it. I am using xmlWriter API for that. Upto this its fine. Now I need to add so many attributes one more line in that new XML file as follows :

<?xml version="1.0" encoding="ISO-8859-1"?>
<fei_batch:Batch_Data xmlns:fei_batch="urn:feibatchdata.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:feibatchdata.xsd feibatchdata.xsd">


 This is to specify the xml namespace, xsi, schemaLocation etc. But I can't find any API in libxml2-xmlWriter's API for the same.

Can you please suggest some work around or some API for this ?
Probably treating them as attributes would be wrong. Otherwise can I use xmlTextWriterWriteAttribute method ? Will it work fot this case ?

Thanks in advance,
Rabindra Nath Saha

The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee.
Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized.
If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(16b)


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.
First Name
Last Name
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.