XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
E HeimSubject: Setting StylusStudio to only open XML documents not associated with another application
Author: E Heim
Date: 27 Apr 2006 10:44 AM
I was experimenting with Stylus Studio and I was wondering if it possible to reset the default behaviour of Windows when it opens an XML file to do the following. I want it to use a different application when it is specified in the XML document, but when no document is specified it should open with Stylus. Currently I can only have one way wither they all open with Stylus (even the ones saved in Word and Excel, etc.), but when I reset it to false in Tools->Options it opens in the proper application and when no application is set it opens in a web browser. I would like only this last action to open with Stylus and not the others.

Postnext
(Deleted User) Subject: Setting StylusStudio to only open XML documents not associated with another application
Author: (Deleted User)
Date: 27 Apr 2006 11:28 AM
Hi E Heim

As you wrote in your posting "...reset the default behaviour of Windows ...", the functionality you are looking for is something that has to be done at Windows level - probably by writing some Windows desktop extensions, outside of Stylus Studio.

Regards
-Srini

Postnext
E HeimSubject: Setting StylusStudio to only open XML documents not associated with another application
Author: E Heim
Date: 27 Apr 2006 11:33 AM
I dug a little deeper into the Registry and I was wondering if the behaviour of HKEY_CLASSES_ROOT\xmlfile can be repeatable in the HKEY_CLASSES_ROOT\stylusstudiofile.xml. When the default value of the HKEY_CLASSES_ROOT\.xml key is xmlfile, it will first try to use the applications listed in the OpenWithList only when none of them are listed in the XML file will use the behaviour specified in HKEY_CLASSES_ROOT\xmlfile. But when the default value of the HKEY_CLASSES_ROOT\.xml key is stylusstudiofile.xml, it will ignore the OpenWithList and only use the instructions in HKEY_CLASSES_ROOT\stylusstudiofile.xml. How can this be modified?

Postnext
(Deleted User) Subject: Setting StylusStudio to only open XML documents not associated with another application
Author: (Deleted User)
Date: 27 Apr 2006 02:30 PM
Hi

I am not sure if I understand correctly.

When you double-click on a document with .xml extension, you want windows to launch Stylus Studio.

So, you go to Tools/Options/General/File-Types within Stylus Studio and set the .xml to True and save the changes. This 'associates' any document with the .xml extension to Stylus Studio application.
From then on, when you double-click on a document with .xml extension, windows launches Stylus Studio with that document.

Do you want .xml extension NOT to be associated to Stylus Studio, in case if is already associated with another application?

Regards
- Srini

Postnext
E HeimSubject: Setting StylusStudio to only open XML documents not associated with another application
Author: E Heim
Date: 27 Apr 2006 02:39 PM
I want Stylus to behave like my Window sused to behave before I installed Stylus. I want it open all .xml files that are destined to opened by one of the applications listed in the OpenWithList. This is the way Windows behaved before I installed Stylus, if the XML file was a Word XML as defined in the <?mso-application progid="Word.Document"?> section, it opened it in Word, the same for Excel, InfoPath, etc. The only time it opened the default xml application was if it wasn't associated with one of these applications with the mso-application.

Postnext
(Deleted User) Subject: Setting StylusStudio to only open XML documents not associated with another application
Author: (Deleted User)
Date: 27 Apr 2006 04:23 PM
Hi

Thank you for clarifying that.

In order to go back to how Windows behaved prior to installing Stylus Studio, you can try this...

In Stylus Studio go to "Tools/Options/General/File-Types" and set the .xml row to have False in the and save the changes.

With that setting set to False, you would have to use the 'Open with->Stylus Studio' item in the explorer menu. And in that case, double-clicking alone on the document will not open the document in Stylus Studio.

You cannot specify Stylus Studio as an application within the XML document's <?mso-application ...?> instruction as you can do for WORD and Excel and other MS Office apps.

Hope this helps.

Regards
Srini

Postnext
E HeimSubject: Setting StylusStudio to only open XML documents not associated with another application
Author: E Heim
Date: 27 Apr 2006 04:34 PM
This does not answer my question. What I want is that Stylus should open instead of the default Windows application (which is the browser) in the cases where it used to open using that. So Stylus should replace the browser.

Posttop
Ivan PedruzziSubject: Setting StylusStudio to only open XML documents not associated with another application
Author: Ivan Pedruzzi
Date: 27 Apr 2006 05:28 PM
Heim,

As Srini pointed out those options are mutual exclusive.
If you associate Stylus Studio to the .xml extension, the default action will open the XML documents using Stylus Studio including documents that use the mso-application PI. If you don't you will be able leverage the PI and still open the XML documents in Stylus Studio using the "Open With" action.

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

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