XPath Aware Content Assistant

Having trouble installing Oxygen? Got a bug to report? Post it all here.
yforget
Posts: 2
Joined: Tue Feb 12, 2013 9:33 pm

XPath Aware Content Assistant

Post 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
Costin
Posts: 846
Joined: Mon Dec 05, 2011 6:04 pm

Re: XPath Aware Content Assistant

Post 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
Costin Sandoi
oXygen XML Editor and Author Support
yforget
Posts: 2
Joined: Tue Feb 12, 2013 9:33 pm

Re: XPath Aware Content Assistant

Post 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
Post Reply