XPath Content Assistant for a generic XML file

Oxygen general issues.
bisiac74
Posts: 1
Joined: Mon Nov 02, 2009 6:58 pm

XPath Content Assistant for a generic XML file

Post by bisiac74 »

Hi,
I write a lot of documents using a "meta-language" based on XSL. Basically there is another XSL document transforming my documents into XSL documents.
Many elements have an attribute "select" accepting XPath expressions. I'd like to use Oxygen xpath content assistant for both XSL elements and "my" elements.
For now I tried by defining a new type of document, associating it to the XSL editor and assigning xsl namespace url to all the namespaces I'm using. It works but it's not the best solution around...
And I also want to add my xalan extension functions to the xpath expressions so I guess I can't change the namespace urls.
Is there a way to customize this powerful editor and adapt it to my needs?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: XPath Content Assistant for a generic XML file

Post by sorin_ristache »

Hello,

The XPath content completion is available only in attributes of XSLT elements, that is only in attributes of elements from the XSLT namespace.

What elements and attributes do you want to see in content completion window for the select attribute of your elements from non XSLT namespace: the elements and attributes of the current XML file? Do you want to insert in your select attribute an XPath expression based on the structure of the edited XML file?


Regards,
Sorin
Post Reply