473,385 Members | 1,630 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Is there a way to compile annotations into comments?

1
Cannot make XSD to convert annotations into comments for generated C++ code. Does anybody know how to do it ?

e.g. for this xsd code
...
<xsd:complexType name="aaa">
<xsd:annotation>
<xsd:documentation>
// documentation here
</xsd:documentation>
</xsd:annotation>
....
</xsd:complexType>
Mar 28 '07 #1
1 1134
sicarie
4,677 Expert Mod 4TB
Cannot make XSD to convert annotations into comments for generated C++ code. Does anybody know how to do it ?

e.g. for this xsd code
...
<xsd:complexType name="aaa">
<xsd:annotation>
<xsd:documentation>
// documentation here
</xsd:documentation>
</xsd:annotation>
....
</xsd:complexType>
I'm sorry, i don't understand your question - were you wanting to parse a file and insert comments via C++ program? (I'm not familiar with XSD...)
Mar 28 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Charles L | last post by:
I am trying to find a link to the 'C++ Annotations' by Frank Brokken (I think Version 5.2.4 is the latest) that works because I've been unable to find one that does. Can anyone suggest anything? ...
0
by: Charles L | last post by:
Does anyone know if there is any Errata for 'C++ Annotations' by Brokken? Charles Leng
1
by: Moon | last post by:
Well, this is my first attempt at DHTML so I'm asking for some pointers, hopefully in the right groups, follow-up is set. I'm currently working on another translation of an english text and I'd...
1
by: Jonathan Gibbs | last post by:
I'm very new to xml, and struggling a bit.. I want to use an .xsd file passed to a windows application to define a dataset's schema, and also (if possible) pass other metadata associated with...
6
by: Pavel A. | last post by:
How the code annotations ( __in_opt, __out, __checkReturn ... ) are supposed to work ? Are they part of the new MS C language (that's, real tokens understood by the compiler), or always #define'd...
0
by: Fuzzyman | last post by:
Hello all, The following is a copy of a blog entry. It's asking a question about future statements and the built in compile function. I'd appreciate any pointers or comments about possible...
13
by: Felix Kater | last post by:
Hi, I would like to write a variadic function f(const int MY_TYPE_X, ...) were MY_TYPE_X is not the amount of arguments but an index representing both: the amount of args and their type. So,...
4
by: Tony Lownds | last post by:
(Note: PEPs in the 3xxx number range are intended for Python 3000) PEP: 3107 Title: Function Annotations Version: $Revision: 53169 $ Last-Modified: $Date: 2006-12-27 20:59:16 -0800 (Wed, 27 Dec...
3
by: Sektor van Skijlen | last post by:
Is there any official proposal for annotations in C++0x? So far annotations have been "implicitly" used in many proposals as some (usually) free-form text enclosed in ] (for example, n2493,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.