How to edit multiple XIncludes inline

Hi, When opening a document with multiple XInclude references, the editor does not allow inline changes to the included content (unless it is opened in a separate view). Is there any way to make the XInclude content editable in the original Author view? If not, spell-checking or performing a global replace in a document with numerous XIncludes would be difficult. Thanks, Dave - Siemens

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/27/2012 12:43 PM, Hintz, David wrote:
When opening a document with multiple XInclude references, the editor does not allow inline changes to the included content (unless it is opened in a separate view). Is there any way to make the XInclude content editable in the original Author view? If not, spell-checking or performing a global replace in a document with numerous XIncludes would be difficult.
Hi Dave, Use CTRL+R or right click and select the first menu item to open the reference. Oxygen then opens the xincluded item and even scrolls down to the correct location in it for you. David -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP61RdAAoJEMHeSXG7afUh6KgH/RqN7k7y/ilKOsOi422hoA9z 68/qxkl6RxUl+nqgziu+0LmJaWZKxeGyNIfT2zpM7Jef5OgOdFqDwaroCSGj6nq7 GdXnwx8LcqXwOuTn+KLCTXaHvT3JDUepqlO7vMPkNzD1UBzckJs+JPCxJeYbPM52 1L0VBocgtniyyr3CYuuIC4FjRCzHsq5e4lAN0v1HuoE9uhjj8HJP4B/QIZMgBEHZ StVEQgSn4bpskrdE6GAjDUH8Tw7UlSzO9VAk0PTWdvcdzosq/LiSS7fQnY+Gtl7P kk1HDjFjSK4MVTOrgavxrhRSjFoJRiY9Q+Bz2BrQ9VaF9Lwo5pwTv+8aePfQl04= =mEnn -----END PGP SIGNATURE-----

Hi David, On 6/27/12 8:43 PM, Hintz, David wrote: [...]
If not, spell-checking or performing a global replace in a document with numerous XIncludes would be difficult.
You can either organize your files in real folders or use the oXygen "logical" folders to group your files in such a way that you can then easily take advantage of the find replace in files and spell check in files that can be triggered from the Project contextual menu after selecting the folders that contain the files you are interested in - the default scope for these operations will be the selected project files. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com

Hi David, The spell checker also works in xi:included areas but indeed words which are incorrect cannot be replaced on the spot, the target file needs to be opened using the "CTRL+R 'Edit Reference'" trick David Cramer suggested. The current behavior is that only the current opened file's content can be edited and saved. It would be quite complicated for Oxygen to allow in-place editing of such areas. XI:Included documents can also recursively xi:include other content and can also be specified using xpointer schemes. The behavior of the "Save" operation is very clear now, only the current edited file is saved, if the improvement would be made it would mean that multiple files would need to be saved when the user saves. The 'Edit Reference' tries to find that target but a solution for "save" would need to be 100% accurate in finding the target content which needs to be modified, or else it would lead to corrupt XML documents. But depending on the user feedback we'll get for this one, we might try to approach this in a future version. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 6/27/2012 8:43 PM, Hintz, David wrote:
Hi,
When opening a document with multiple XInclude references, the editor does not allow inline changes to the included content (unless it is opened in a separate view). Is there any way to make the XInclude content editable in the original Author view? If not, spell-checking or performing a global replace in a document with numerous XIncludes would be difficult.
Thanks,
Dave - Siemens
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (4)
-
David Cramer
-
George Cristian Bina
-
Hintz, David
-
Radu Coravu