Does XML Convert to JSON in an Unambiguous Way?

Chilkat does not provide functionality for XML-to-JSON conversion (or the reverse) because XML does not convert to JSON in an unambiguous way. XML and JSON have different structural and data modeling principles, leading to potential challenges and ambiguities during the conversion process. Some factors that contribute to the potential ambiguities are: Hierarchical vs. Flat Structure: XML supports deeply nested hierarchical […]

SOAP UI WSDL to Chilkat Code

Chilkat now has an Online SOAP WSDL Code Generator You can generate code and SOAP request/response XML from an online WSDL URL.  The cumbersome and complicated procedure below is no longer needed. See the new Chilkat SOAP WSDL Code Generator at     These are the old instructions for using SoapUI.  It is much easier to use the Online […]

Parsing Extremely Large XML Files

Question: I’m trying to read a very large xml file. It’s about 500MB. The content is a list of records. There are about 100,000 nodes with the same tag that contain single records.   Is there a limit on the file size or number of nodes that can be processed? Answer: There is no limit other than running out of memory.  […]

v9.4.1 XML .NET SearchForTag Bug and Workaround

A bug affecting the .NET (C# and VB.NET) implementations of the Chilkat.Xml.Search* methods was introduced in v9.4.1.  The problem has to do with passing a null (in C#) or Nothing (in VB.NET) for the first argument in the Chilkat.Xml.Search* methods.  Passing a null  should be a valid and common practice — it means to begin searching at the root node […]

XML “child” Defined

This post clarifies the meaning of “child”. An XML node may have 0 or more child nodes. A child node is a direct descendent of the parent (i.e. it is one level below the parent node). Methods such as NumChildrenHavingTag will return the number of direct descendents (i.e. nodes that are exactly one level below the calling node) that match […]

XML Search Clarification – Breadth-first Search

The Chilkat XML component library (for C#, VB.NET, ASP.NET, ASP, VB6, FoxPro, Delphi, C++, C, Perl, Ruby, Python, Java, etc.) has a number of Search* methods. These methods search for a node in the XML document matching a specific criteria. For example, SearchForTag searches for the 1st node that has a tag with a specific value. The general form of […]