{"id":7495,"date":"2017-08-31T19:29:53","date_gmt":"2017-08-31T17:29:53","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=7495"},"modified":"2017-08-31T19:29:53","modified_gmt":"2017-08-31T17:29:53","slug":"xmlsh","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2017\/08\/31\/xmlsh\/","title":{"rendered":"XML Shell: xmlsh"},"content":{"rendered":"<ul>\n<li><a href=\"http:\/\/www.xmlsh.org\">http:\/\/www.xmlsh.org<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/xmlsh\/xmlsh1_3\">https:\/\/github.com\/xmlsh\/xmlsh1_3<\/a><\/li>\n<li>they also provide a Java .jar file and a shell script etc around it, so you can run it on your platform<\/li>\n<li><a href=\"http:\/\/www.xmlsh.org\/CommandCsv2xml\">http:\/\/www.xmlsh.org\/CommandCsv2xml<\/a>\u00a0\u2013 builtin <em>csv2xml<\/em>, funny!<\/li>\n<li><a href=\"http:\/\/www.xmlsh.org\/CommandRngconvert\">http:\/\/www.xmlsh.org\/CommandRngconvert<\/a> \u2013 that&#8217;s <em>trang<\/em>, dealing with &#8220;<em>Relax NG<\/em>&#8220;<\/li>\n<\/ul>\n<p>examples for csv2xml:<\/p>\n<blockquote><p>$ csv2xml -header my_file.csv<\/p>\n<p>$ csv2xml -header -attr my_file.csv<\/p>\n<p># for CSV files created by Excel in Germany:<\/p>\n<p>$ csv2xml -delim &#8216;;&#8217; -header -attr my_file.csv<\/p><\/blockquote>\n<p>With <em>-header<\/em> the header line with its column names is being used to name the tags around the specific &#8220;cells&#8221; in XML.<\/p>\n<p>If you prefer to use attributes for the column names, use <em>-attr<\/em>!\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/www.xmlsh.org https:\/\/github.com\/xmlsh\/xmlsh1_3 they also provide a Java .jar file and a shell script etc around it, so you can run it on your platform http:\/\/www.xmlsh.org\/CommandCsv2xml\u00a0\u2013 builtin csv2xml, funny! http:\/\/www.xmlsh.org\/CommandRngconvert \u2013 that&#8217;s trang, dealing with &#8220;Relax NG&#8220; examples for csv2xml: $ csv2xml -header my_file.csv $ csv2xml -header -attr my_file.csv # for CSV files created by Excel [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[75,382,495,726],"tags":[977,1360],"class_list":["post-7495","post","type-post","status-publish","format-standard","hentry","category-csv","category-nxml-mode","category-relax-ng","category-xml","tag-csv2xml","tag-trang"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/saO0kP-xmlsh","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/7495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=7495"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/7495\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=7495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=7495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=7495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}