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

Re: xml editors


Re:  xml editors
Robert Koberg wrote:
 > Sjoerd Visscher wrote:
 >
 >>
 >> You are exactly describing what Xopus does. (http://xopus.com)
 >> Although the other suggested editors will work, Xopus is the *only*
 >> editor that lets you use your existing publishing xslts for wysiwyg
 >> editing.
 >
 >
 > How is this possible? What if your transformation is lossy or adds
 > things?-- How do you know what to roundtrip?
 >
 > Can you have multiple content pieces on a page? How do you know where
 > content pieces are as opposed to page structure?

I can't answer for Xopus (and I'd like to hear their answer), but 
restricted cases are possible. The basic idea would be: In XSL every 
input node and result/output node are uniquely numbered. For any input 
text node that is copied directly to output without modification (or 
with trivial idiomatic modifications like whitespace normalization), a 
transitive 1-to-many correspondence could be established. If the user 
modified an output node for which such a correspondence existed, the 
input node and all other output nodes in correspondence with it could be 
changed, as well.

XSL is a Turing-complete language; you can easily write a stylesheet in 
which there is no traceable correspondence between any input and output 
nodes. But I guess this line of argument is good for Xopus, because the 
arguments might keep others from trying to solve even the simple cases.

The real question, I think, is when you do what you can do along these 
lines, do you get a useful result? Don't know. It would depend a lot on 
how people write their stylesheets.

 > I think it is very wrong to have an XML editor edit an instance document
 > based on the result of transforming that instance document.

It's only wrong if it doesn't work. ;-}

Bob Foster
http://xmlbuddy.com/

 > Or perhaps
 > roundtripping rules needs to be setup for each transformation??? Or
 > perhaps the transformations have to be done in a certain way??
 >
 > -Rob
 >
 >> Other editors use the limited possibilities of CSS or require you to
 >> create a proprietary transformation for wysiwyg editing.


PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.