On Wed, 3 Jan 2007, John Denker wrote:
*) I spelled out "deg". I tried putting the ° symbol in the
xml file, but it complained of a parse error. Using °
didn't work, either. Any suggestions on how to encode symbols?
Not directly an answer to you question but here's a tip that may be useful
to you or others: I've recently switched to generating the xml config file
(for the ch47d project) (ab)using the C preprocessor and a Makefile. So I
put comments in the source file I feed to cpp instead, using regular c/c++
comments or #if -- #endif's. I find that very convenient. But most of my
notes go, as plain prose, into a separate textfile.
(The main reason for that setup, however, is to avoid doing a mistake I've
done too many times before: adjusting common airfoil/rotorhead parameters
for only one rotor with something completely unflyable as a result. Now I
just #include the common parameters from one single file instead of
changing two identical instances everytime. I didn't investigate the matter
at depth, but I got the impression that there is no general include
function in the xml standard. Many xml parser implementations add that
functionality on top of xml though.)
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel