Questions tagged [xmllite]

A lightweight XML parser from Microsoft designed for ease of use, performance, and standards compliance. XmlLite only provides pull model programming interfaces like XmlReader and XmlWriter.

The XmlLite library allows developers to build high-performance XML-based applications that provide a high degree of interoperability with other applications that adhere to the XML 1.0 standard in Microsoft Windows.

The primary goals of XmlLite are ease of use, performance, and standards compliance. Unlike MSXML, the Microsoft Core XML Services, which has a rich set of functionality as DOM, XSD, XPath and XSLT, XmlLite only provides pull model programming interfaces like XmlReader and XmlWriter. XmlLite does not intend to replace MSXML but is a complement.

XmlLite works with any Windows language that can use dynamic link libraries (DLLs), but Microsoft recommends C++. XmlLite comes with all necessary support files for use with C++, but if you want to use it with other languages, some additional work may be required.

19 questions
0
votes
1 answer

Parsing XML CDATA with Xmllite

The issue: When readin CDATA elements, carriage return (0xD) are omitted from the output. Is there a proper way to tell Xmllite to keep CR, or should I always need a Replace(LF,CRLF) call? Thanks I.A
Tal
  • 1,759
  • 1
  • 12
  • 22
0
votes
2 answers

Write array to IStream

I recieve some data as a char array. I want to pass this data to a method that recieves a stream (IUnknown *pInput). I tried to debug this piece of code (using visual c++): #include "xmllite.h" #include CHAR acTemp [100] =…
kdmin
  • 434
  • 3
  • 14
0
votes
2 answers

CComPtr pass by reference

I have a situation where I need to pass a CComPtr to a function by reference. Does the called parameter takes the ownership from the callee parameter (or) the reference count is increased? void foo( CComPtr & pReader ) { //…
Mahesh
  • 34,573
  • 20
  • 89
  • 115
0
votes
1 answer

XML Lite parsing issue - ignore invalid data when parsing

I use XML Lite from microsoft (http://msdn.microsoft.com/en-us/library/windows/desktop/ms752872%28v=vs.85%29.aspx) Is there a way to ignore any validation errors it might do(I get some obscure error on a node related to "" - although the XML input…
Ghita
  • 4,465
  • 4
  • 42
  • 69
1
2