XPath Content Assistant for a generic XML file
Oxygen general issues.
-
- Posts: 1
- Joined: Mon Nov 02, 2009 6:58 pm
XPath Content Assistant for a generic XML file
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?
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?
-
- 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
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
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service