{"id":152,"date":"2007-11-13T13:22:00","date_gmt":"2007-11-13T13:22:00","guid":{"rendered":"\/lisa\/post\/2007\/11\/13\/XML-based-ReportListener-docoids-posted.aspx"},"modified":"2021-08-30T14:37:11","modified_gmt":"2021-08-30T21:37:11","slug":"xml-based-reportlistener-docoids-posted","status":"publish","type":"post","link":"https:\/\/spacefold.com\/lisa\/2007\/11\/13\/xml-based-reportlistener-docoids-posted\/","title":{"rendered":"XML-based ReportListener docoids posted"},"content":{"rendered":"<p>[Please reference <a title=\"VFP-TMM introductory post\" href=\"\/lisa\/2007\/10\/17\/What-LSN-was-Not-Allowed-to-Do-What-LSN-Plans-to-Do-About-It-Now-and-What-You-and-I-Will-Never-Call-It\/\">this post<\/a> if you\u00a0have not previously read about VFP-TMM.]<\/p>\n<p>Today I posted the <a title=\"XMLListener - TMM\" href=\"\/articles\/tmm\/tmm-xmllistener\">XMLListener<\/a>, <a title=\"XMLDisplayListener - TMM\" href=\"\/articles\/tmm\/tmm-xmldisplaylistener\">XMLDisplayListener<\/a>, and <a title=\"HTMLListener - TMM\" href=\"\/articles\/tmm\/tmm-htmllistener\">HTMLListener<\/a> docoids.\u00a0 This rounds out the FFC ReportListener set.<\/p>\n<p>The important stuff is in XMLListener; the other ones are just little doodads in comparison.<\/p>\n<p>As you&#8217;ll see, because of the large number of enhancements that went on in this area in SP2, these three topics won&#8217;t be sufficient to cover everything. You need, first and foremost, the appropriate VFP-RDL SP2 schema documents, which should be available to you in the SP2 XSOURCE files (are these out yet?!?!?).<\/p>\n<p>There are multiple XSDs because the VFP-RDL spec now imports the common VFP Memberdata schema, and also to allow for the standard and alternate arrangements of formatting content. The alternate\u00a0formatting-band\u00a0choices, which are exposed by <strong>XMLListener.includeBreaksInData<\/strong>,\u00a0was in the RTM version, and we did doc it, but it was\u00a0not expressed very articulately in the schema. It&#8217;s much better now.\u00a0 Also the new schemas have (I hope) a great deal of supplementary information in their annotations which I was\u00a0expecting\u00a0you would see in the docs.<\/p>\n<p class=\"NB\">For the full range of annotations, be sure to check the XMLOutput-Includes.xsd file, which is shared by both alternate versions of the schema.<\/p>\n<p>I&#8217;m not entirely sure what happened in the SP2 docs with regard to the schema (which is in the docs in <strong>Using VFP Report Output XML<\/strong>, in each version of the CHM). I can see that they updated it but it looks like they based what went in on a rough\/early version that was delivered with the original spec. For the record, in SP2 the XSDs have been part of the Report Output Application source almost from my initial delivery &#8212; and they haven&#8217;t changed since first delivered.<\/p>\n<p>So, I&#8217;ll need to do something about that later on in TMM.\u00a0 And, as you&#8217;ll see, there are a couple of significant items that build on what you&#8217;ll see in these topics and reference some How-To&#8217;s with more specifics on some of the new extension attributes.\u00a0 They will just have to wait. (Again, the\u00a0schema annotations would have helped a lot with this.\u00a0 That sound is me gnashing my teeth.)<\/p>\n<p>You needed these classes&#8217; PEMs and functionality changes properly doc&#8217;d, first.<\/p>\n<p>Onward&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Please reference this post if you\u00a0have not previously read about VFP-TMM.] Today I posted the XMLListener, XMLDisplayListener, and HTMLListener docoids.\u00a0 This rounds out the FFC ReportListener set. The important stuff is in XMLListener; the other ones are just little doodads in comparison. As you&#8217;ll see, because of the large number of enhancements that went on<a class=\"more-link\" href=\"https:\/\/spacefold.com\/lisa\/2007\/11\/13\/xml-based-reportlistener-docoids-posted\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-152","post","type-post","status-publish","format-standard","hentry","category-vfp-tmm"],"_links":{"self":[{"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/posts\/152","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/comments?post=152"}],"version-history":[{"count":2,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/posts\/152\/revisions"}],"predecessor-version":[{"id":416,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/posts\/152\/revisions\/416"}],"wp:attachment":[{"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/media?parent=152"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/categories?post=152"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spacefold.com\/lisa\/wp-json\/wp\/v2\/tags?post=152"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}