On Sat, 22 Apr 2017 16:41:40 -0700 (PDT) Joe Orr <joe....@gmail.com> wrote:
> Probably a dumb question, but how do I convert this file to Leo > format: https://www.ibiblio.org/xml/examples/shakespeare/lear.xml > > I tried the import entry on the file menu, that didn't seem to work. What do you expect it to look like when it's imported? You could use an `@auto lear.xml`, hmm, apparently that's no different to `@edit lear.xml`, just a single node import of the XML. Perhaps try the xml_edit plugin. I just loaded it with that, took a little time on my relatively fast desktop, so be patient. I suspect that gives you what you're looking for demo wise. Cheers -Terry > I can write an XSL stylesheet to do the conversion if necessary, but > it that is the case, is there a guide to the Leo file format? (I can > figure it out my looking at it, just would like to know if there are > things I shouldn't miss). > > Joe > > On Sunday, April 16, 2017 at 7:33:58 AM UTC-4, Edward K. Ream wrote: > > > > The new code is simpler than the old, and should be more robust in > > the face of dubious syntax. All unit tests pass, and Rob's recent > > files import correctly. Still, more real-world testing is > > required. Please report any problems immediately. > > > > Edward > > > > P.S. The code that handles "<", "</", ">" and "/>" has changed as > > follows: > > > > 1. The stack of open tags is now "stateless". That is, it contains > > only tags. > > 2. The stack now contains *all* open tags, including void tags and > > tags not in @data import_html_tags. > > > > The new code completely ignores ">" tags except when the top of the > > stack is a void tag. This is an important simplification. It > > should allow more robust error checking. We shall see... > > > > EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.