associating linked data to entire project rather to each doc
Oxygen general issues.
-
- Posts: 8
- Joined: Fri Mar 04, 2011 3:28 pm
associating linked data to entire project rather to each doc
One feature I really like in oxygen is the ability to create a list of references that then appear as suggestions whenever you are using a attribute like "ref". So for example, when I write <name ref="">Bob</name>. Oxygen gives me a list of possible pre-defined references (e.g. #Bob)
However, I currently give Oxygen this list by linking to a separate xml document in each file using xinclude. But I know have over 500 files and I would prefer to just associate this list of references with the whole project once rather than in every file.
Further, I eventually want to use an RDF document to contain the references. The ideal method then would be able to have Oxgyen give me a drop down list of predefined set of URI's (e.g. http://mydomain.org/people/bob). Is it possible to link my documents/project in such a way that it is associated with an entire set of RDF files? Perhaps telling it to look for all references in http://mydomain.org/people?
Thanks for any answer you can provide.
However, I currently give Oxygen this list by linking to a separate xml document in each file using xinclude. But I know have over 500 files and I would prefer to just associate this list of references with the whole project once rather than in every file.
Further, I eventually want to use an RDF document to contain the references. The ideal method then would be able to have Oxgyen give me a drop down list of predefined set of URI's (e.g. http://mydomain.org/people/bob). Is it possible to link my documents/project in such a way that it is associated with an entire set of RDF files? Perhaps telling it to look for all references in http://mydomain.org/people?
Thanks for any answer you can provide.
-
- Posts: 9445
- Joined: Fri Jul 09, 2004 5:18 pm
Re: associating linked data to entire project rather to each
Hi Jeffrey,
What type of XML vocabulary are you editing? Is it TEI?
We have enough Java API which would allow you to implement something called ro.sync.contentcompletion.xml.SchemaManagerFilter, a filter implementation which can remove or add values for certain attributes. So if you have a Java developer, I can give you more details about this approach.
Another approach would be to use our form-control support if you work in the Author visual editing mode.
For example if you edit TEI documents you could add in the CSS document:
OXYGEN_INSTALL_DIR\frameworks\tei\xml\tei\css\tei_oxygen.css
a CSS selector like:
More about our custom CSS functions like oxy_combobox and oxy_xpath can be read here:
http://www.oxygenxml.com/doc/ug-oxygen/ ... tions.html
Regards,
Radu
What type of XML vocabulary are you editing? Is it TEI?
We have enough Java API which would allow you to implement something called ro.sync.contentcompletion.xml.SchemaManagerFilter, a filter implementation which can remove or add values for certain attributes. So if you have a Java developer, I can give you more details about this approach.
Another approach would be to use our form-control support if you work in the Author visual editing mode.
For example if you edit TEI documents you could add in the CSS document:
OXYGEN_INSTALL_DIR\frameworks\tei\xml\tei\css\tei_oxygen.css
a CSS selector like:
Code: Select all
name {
content:"REF:" oxy_combobox(edit, "@ref",
editable, true,
values, oxy_xpath("string-join(doc('http://mydomain.org/people/people.xml')//@id, ',')"));
}
http://www.oxygenxml.com/doc/ug-oxygen/ ... tions.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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