[Home] [By Thread] [By Date] [Recent Entries]


> I am using xmlWriter API for that. Upto this 
> its fine. Now I need to add one more line in that new XML 
> file as follows :
> 
> <?xml-stylesheet type="text/xsl" href="txt2xml.xsl"?>
> 
>  This is to specify the xsl file. But I can't find any API in 
> libxml2-xmlWriter's API for the same. 

I haven't used the XMLWriter API, but I see the following functions:

xmlTextWriterStartPI
xmlTextWriterWriteFormatPI
xmlTextWriterWritePI
xmlTextWriterEndPI

Are these what you were looking for?

-- 
Mark Thomas 
Internet Systems Architect
_______________________________________
BAE SYSTEMS Information Technology 
2525 Network Place
Herndon, VA  20171  USA 


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member