kode
kode copied to clipboard
XML meta programming
It would make the including of the generated sources convenient.
Fixed on my qmake branch somewhere this point: https://github.com/martonmiklos/kode/commit/33c4d25bbc3200cf3a465629b2e5fe4932746f8d just needs proper merge. Making issue here to make sure not to forget it.
As of today kxml_compiler generates the following parser for xs:boolean types: ``` result.setOnlyBreakOrKeepLowResponse( (element.attribute( "only_break_or_keep_low_response" ).toLower() == QStringLiteral("true")) || (element.attribute( "only_break_or_keep_low_response" ).toLower() == QStringLiteral("1") ) ); ``` It would be...
Hi guys, I am have an XSD generated code where there are a lot elements which have only have one sequence type child (and no attributes). Example: Library -> Symbols...
Hi @cornelius, @dfaure Recently I needed to create a tool (with Qt) which parses an XML, modify a few thing and write it back to file. If I use the...
I have an XSD with the following element: ``` XML root element, számla vagy módosítás adatait leíró típus, amelyet BASE64 kódoltan tartalmaz az invoiceApi sémaleíró invoice elementje XML root element,...
Now it tries to write out uninitialized values which is a problem.
Do not write the elements with minOccours=0 attribute to the XML file if they not set. Provide a way (command line argument) to enable/disable this feature
xs:decimal elements should be formatted in nonscientific format. Add 'f' argument to the QString::number function call at the writeElement method.