login about faq

We are using CkXml for xml accessing in our C++ program. We need to distinguish some predefined xml tags with others. We tried to apply the "$" for the prefix of our predefined tags, but it doesn't work. After calling CkXml.put_Tag("$Testing") and CkXml.getXml(), we will just get the trimmed string - "Testing". Please tell us what are the preserved symbols of CkXml.

asked Aug 27 '12 at 00:15

Simopro's gravatar image


edited Aug 27 '12 at 00:17

If you are going to work with XML, you should first familiarize yourself with XML itself, such as what characters are legal in tags. This is exactly the same as you would do with any programming language -- before programming, you should first understand (for example) what characters are valid for variable names, whether they are case-sensitive, if special rules exist for the 1st char in the name, etc. The same goes for XML. This is not a Chilkat-specific issue reqarding XML.

For more information, see the XML spec here: http://www.w3.org/TR/xml11/#sec-starttags


answered Aug 27 '12 at 16:56

chilkat's gravatar image

chilkat ♦♦

Thanks, we were unaware of the valid characters of a tag name are different from the valid characters of general data.

(Aug 28 '12 at 00:44) Simopro
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 27 '12 at 00:15

Seen: 2,184 times

Last updated: Aug 28 '12 at 00:44

powered by OSQA