Customize autocomplete for XProc?

Questions about XML that are not covered by the other forums should go here.
phamdinhnam3
Posts: 1

Customize autocomplete for XProc?

Wed Aug 05, 2015 11:01 am

I'm still learning XProc and I love it. But it is definitely very different from anything I've worked with before, so I wanted to figure out a way to tell me what all my options are for each step.

Is it possible in oXygen to set a preference that, when using autocomplete, automatically populates all the required attributes/children of the current element? (What about optional attributes/children?)
z
adrian
Posts: 2442

Re: Customize autocomplete for XProc?

Thu Aug 06, 2015 3:22 pm

Hello,

By default oXygen is already configured (Options > Preferences, Editor > Content Completion) to automatically insert required elements (Add element content) and attributes (Insert the required attributes) when editing. It's also possible to configure it to insert optional elements (Add optional content). These options are generic and apply to all types of XML documents.

Unfortunately there seems to be a problem with the builtin RelaxNG schema used for XProc that prevents this feature from working correctly when editing XProc. I've logged an issue to investigate the problem. We will notify this thread when a bugfix or patch becomes available.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Return to “General XML Questions”

Who is online

Users browsing this forum: No registered users and 1 guest