
How about this features: Similar to learning an Xml document, when editing an XSLT an option to learn *any* Xml (ie., the Xml document I happen to have open). A dialog box appears on Learn, (better: Associate) Xml to XSLT and then you can pick one. Thanks! Karl.. On Fri, Feb 10, 2012 at 1:51 AM, Adrian Buza <adrian@sync.ro> wrote:
Hello,
Currently there is no other way to have content completion(CC) in the XSLT with the XML structure other than creating and associating a transformation scenario with the XSLT. If you create and associate a scenario with the XML file that does not affect the CC in the stylesheet mentioned in the scenario. The problem with detecting all scenarios that use an XSLT file is that it's possible to have a scenario that uses an XSLT but it's associated with various XML files. So in that case which XML would you want? One possibility is to have all of them, but that could prove to be excessive in some situations(e.g. very large XML files).
I've logged this to our issue tracking tool as a feature request and it will be analyzed and implemented in a future version of Oxygen.
Regards, Adrian
Adrian Buza oXygen XML Editor and Author Support
Tel: +1-650-352-1250 ext.202 Fax: +40-251-461482 support@oxygenxml.com http://www.oxygenxml.com
Karl Stubsjoen wrote:
I realize that if I setup a transformation scenario between the XSLT and the Xml then when authoring the XSLT I get intellisense on the Xml source but only if I create a transformation scenario where the XSLT is used as the document to build a scenario from. So what if I create a transformation scenario and I use my source Xml as the starting point (typical for me)? I don't get the intellisense when in the stylesheet.
Besides the above, is there another way for the Xslt to learn the Xml source?
Thanks, Karl..
-- Karl Stubsjoen MeetScoresOnline.com (602) 845-0006