Print out table view
Hi, nice program. I didn't find a way to print out the table view of my xml file, or better export it to pdf (on Linux, virtual printers installed). Is that possible? Greetings and thanks. kl
Hello,
no, I don't think that's possible at the moment. However, you could write a little XQuery and serialize the result as CSV, giving you exact control over which element and nodes you will have in your result set. You can then save the output and e.g. import into something like Excel or Libreoffice Calc.
Cheers, Dirk
Quoted text · kleinempfaenger at hotmail.com · 12 lines
On 06/03/14 02:51, kleinempfaenger at hotmail.com wrote: > Hi, nice program. I didn't find a way to print out the table view of my > xml file, or better export it to pdf (on Linux, virtual printers > installed). Is that possible? > Greetings and thanks. > kl > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
Hi,
there are a number of options how to set the serialization options, e.g. by putting them into the prolog of a query, e.g.
declare option output:method "csv";You can find out more about the serialization options and also one example using CSV at our documentation at https://docs.basex.org/wiki/Serialization
Cheers, Dirk
Quoted text · kleinempfaenger at hotmail.com · 33 lines
On 09/03/14 23:17, kleinempfaenger at hotmail.com wrote: > Hi, thanks for your answer, > How can I serialize the output as CSV? Could you please link a simple > xquery-documentary. > Greetings > > > > El 06/03/14 04:24, Dirk Kirsten escribió: >> Hello, >> >> no, I don't think that's possible at the moment. However, you could >> write a little XQuery and serialize the result as CSV, giving you exact >> control over which element and nodes you will have in your result set. >> You can then save the output and e.g. import into something like Excel >> or Libreoffice Calc. >> >> Cheers, >> Dirk >> >> On 06/03/14 02:51, kleinempfaenger at hotmail.com wrote: >>> Hi, nice program. I didn't find a way to print out the table view of my >>> xml file, or better export it to pdf (on Linux, virtual printers >>> installed). Is that possible? >>> Greetings and thanks. >>> kl >>> >>> _______________________________________________ >>> BaseX-Talk mailing list >>> BaseX-Talk at mailman.uni-konstanz.de >>> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >>> >
Written for BaseX 7.8. BaseX may have changed since: please check the current documentation.