[XML-DEV Mailing List Archive Home]
[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
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)
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
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