Path: csiph.com!news.redatomik.org!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.69.MISMATCH!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post02.iad!fx20.iad.POSTED!not-for-mail From: "N. Raghavendra" Newsgroups: comp.text.xml Subject: Re: Schematron questions References: <87vabuodmk.fsf@hri.res.in> <871see5kta.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Reply-To: "N. Raghavendra" Message-ID: <87sh6u44hh.fsf@gmail.com> Cancel-Lock: sha1:m6PwZhJuYLFV7iGG58BGMRKHd0c= MIME-Version: 1.0 Content-Type: text/plain Lines: 28 X-Complaints-To: abuse@usenet-news.net NNTP-Posting-Date: Mon, 14 May 2018 15:54:50 UTC Organization: usenet-news.net Date: Mon, 14 May 2018 21:24:50 +0530 X-Received-Bytes: 1902 X-Received-Body-CRC: 10374690 Xref: csiph.com comp.text.xml:892 At 2018-05-14T20:46:49+05:30, N. Raghavendra wrote: > At 2018-05-14T06:52:04-07:00, George Bina wrote: > >> However, there are no tools that will provide you guided editing based >> on the Schematron schema, like for example showing you what elements >> are possible at some point in the document when you are editing. > > Thank you for your reply. > > I found RELAX NG Compact Syntax schema for Schematron at > > https://github.com/Schematron/schema > > The nXML mode of Emacs provides schema-sensitive editing using RELAX NG > Compact Syntax. So, it should be possible to use the above in Emacs, > and get completion for allowed element names, etc. I think I misunderstood your statement. With what I said, I can only edit a Schematron schema in nXML mode. nXML mode won't provide me context-sensitive completion, etc., for editing a document that is an instance of that schema. Raghu. -- N. Raghavendra , http://www.retrotexts.net/ Harish-Chandra Research Institute, http://www.hri.res.in/