Version: 1.0 (using KDE 3.1.0) Installed from: Mandrake Linux Cooker i586 - Cooker Compiler: gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) OS: Linux (i686) release 2.4.21-0.13mdk Since I want to print the content of the flashcard file, I decided to associate a CSS file and display it in the browser, from where I could print it. This is how the beginning of my file looks like: <?xml version="1.0"?> <?xml-stylesheet href="kvoctrain.css" type="text/css"?> <!DOCTYPE kvtml SYSTEM "kvoctrain.dtd"> Now, whenever I open the file with kvoctrain, add a card and save it, the xml-stylesheet line gets deleted. IMHO since you are using the XML format for storing the information, correct XML snippets should not get deleted, just ignored if you don't use them.
So the bug is in KVoctrain? I'm confused.
FlashKard has been replaced by KWordQuiz. KWordQuiz (as did FlashKard) writes files from scratch when saved. Thus outside elements added by the user are lost. I think KVocTrain behaves the same.
I hope you don't mind Frederik, but this is really for the library, which we don't have a product for. Maybe you and/or Jeremy can think about this one?
Wow! Sounds interesting, maybe you could make your stylesheet public? Currently we produce our internal data structure by reading the file and recreate it from scratch. Maybe we could generally include a style sheet to better display the documents in browsers? I have no clue about css actually. Adding nice printing options would be very good. Greetings, Frederik
Work has started on creating xsl templates for kvtml. Everyone is welcome to improve. Contact me if you are interested.