[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Angus Leeming <[EMAIL PROTECTED]> writes: > | | Lars Gullik Bjønnes wrote: >>> | Sure. See attached. >>> >>> Ok... then add some attributes, mixed-contentent. >>> >>> <xml attr1="" attr2=""> >>> <greeting>Hello</greeting>there. >>> </xml> >>> >>> Would be great seeing an example using the actual xml grammar from >>> xml.zip? Or is generic parsing frowned upon with spirit? >> | | I haven't looked at that stuff, just forwarded the link in the hope it | | might be useful. >> | | ... Ok, now I've had a quick look. xml_grammar.hpp contains the definition | | of the full XML grammar, right? It's used here either to just parse a data | | file or to build an AST. Neither of which you want. > | I am not even able to compile the examples in xml.zip. I just get | loads and loads of compiler errors. (which of course are almost | impossible to decipher.) > | I am sure it would be a lot easier for me to use expat instead...
Ok I got xml.cpp to compile. I have not made it do anything yet... (except parse UserGuide.lyx.xml successfully.) -- Lgb