[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: A proposal for simplify XML text editing and subsequent pr

  • From: Philip Fearon <pgfearo@googlemail.com>
  • To: Mike Sokolov <sokolov@ifactory.com>
  • Date: Mon, 22 Aug 2011 16:13:17 +0100

Re:  A proposal for simplify XML text editing and subsequent pr
Virtual line-breaks are attractive and they're something I pondered,
but they're not part of my proposal because I couldn't try them out,
but that doesn't mean others can't provide the feature of course.

With virtual line-breaks I hit issues because I was relying on RTF
(specifically \li)  to do horizontal character positioning, this needs
a \par \pard paragraph which is converted to a \n character when read
as text and is therefore indistinguishable from real line-breaks. The
\line command would have given me virtual line-breaks, but then no

Yes, it would be excellent to see nxml-mode support for this proposal.

Editing 20MB xml files sounds quite formidable, I can see why
whitespace modifications might be an issue.


On Mon, Aug 22, 2011 at 2:09 PM, Mike Sokolov <sokolov@ifactory.com> wrote:
> On 08/21/2011 03:35 AM, Philip Fearon wrote:
>>> Seems a reasonable approach for a GUI for new data.
>> Depending on your precise definition for a GUI, perhaps this proposal
>> could still work in predominantly keyboard-driven text-only interfaces
>> (hopefully it's Ok to mention emacs and vi)? For such text-only tools
>> where there's no adjustable left-margin as such, I would hope it's
>> possible to emulate this behavior using padding characters but
>> tracking them continuously as they're inserted by the tool and
>> protecting them so that they can be stripped safely (knowing that the
>> user didn't type these characters) when the XML is saved, so to all
>> intents and purposes they never existed. I haven't tried this, and I'm
>> far from certain that users of this type of tool would even welcome
>> it.
> I use emacs/nxml-mode and would welcome such an option. Even better though
> would be the ability to insert "intelligent" virtual line breaks so that
> editing 20MB xml files with no line breaks becomes feasible without
> destructive whitespace modifications.  Was that part of your proposal too?
> -Mike

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.