Page 1 of 1
XPath Aware Content Assistant
Posted: Tue Feb 12, 2013 9:57 pm
by yforget
Hello,
I used to have access to the list of possible nodes using the "XPath Aware Content Assistant".
Now it shows axes, but it doesn't show child nodes of the current XPath.
In Options/Preferences, Editor/Content Assistant/XPath, all checkbox are checked.
Did I miss something obvious ?
Thanks !
Yves
Re: XPath Aware Content Assistant
Posted: Wed Feb 13, 2013 1:43 pm
by Costin
Hello,
In what context are you looking for XPath content completion (XPath toolbar, when editing XSLT) ?
Please note that if you are looking to have content completion XPath proposals for XSLT in accordance with an xml file, you should first make sure that you have an associated transformation scenario for the XSL file and specify the XML.
This is because in order to have content completion proposals, you should first have an XML model for the XSLT.
Therefore, you could either associate your XSL an existent scenario from oXygen menu Document > Transformation > Configure Transformation Scenario(s) or create a new XSLT transformation scenario. Make sure an XML file is specified as the input URL in the scenario configuration.
You can check if an XML model is available for the current XSLT in the "XSLT/XQuery input" view (Window > Show View > XSLT/XQuery input).
I hope that helps.
Regards,
Costin
Re: XPath Aware Content Assistant
Posted: Thu Feb 14, 2013 10:25 pm
by yforget
In what context are you looking for XPath content completion (XPath toolbar, when editing XSLT) ?
I'm using it when editing XSLT.
Thanks for the quick reply, it now works.
Yves