Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
.NETでは
XmlConvert.VerifyNCName
XmlConvert.IsNCNameChar
など、 NCNameを検証します
C ++で同等のことをどのように行うことができますか?
ApacheのXerces-C++ライブラリ、より具体的にはXMLChar1_1::isValidNCNameメソッドを使用してみることができます。
Visual Studioを使用している場合は、C ++ / CLIを使用することもできます。これにより、アンマネージC++とマネージC++を混在させて、.NET関数を使用できるようになります。