Context Sensitive Relax NG editing
Are you missing a feature? Request its implementation here.
-
- Posts: 11
- Joined: Fri Oct 10, 2003 4:38 pm
- Location: Netherlands
Context Sensitive Relax NG editing
It would be nice when a Relax NG schema is used for an XML document, that the editing would be context sensitive.
Currently all the xml elements are shown without regarding the context in which the document is at a certain point.
Example:
Relax NG Compact schema:
start = myRoot
myRoot = element MyRoot
{
myElem
}
myElem = element MyElem
{
mySubElem
}
mySubElem = element MySubElem
{
empty
}
XML Document using this schema
<MyRoot>
<!-- I should now only see MyElem, but it shows MyRoot and MySubElem as well -->
</MyRoot>
Currently all the xml elements are shown without regarding the context in which the document is at a certain point.
Example:
Relax NG Compact schema:
start = myRoot
myRoot = element MyRoot
{
myElem
}
myElem = element MyElem
{
mySubElem
}
mySubElem = element MySubElem
{
empty
}
XML Document using this schema
<MyRoot>
<!-- I should now only see MyElem, but it shows MyRoot and MySubElem as well -->
</MyRoot>
-
- Posts: 2
- Joined: Tue Feb 17, 2004 6:12 pm
Context-sensitivity for RelaxNG-driven document creation
As far as I can see there are no context-sensitivity support for RelaxNG-driven document creation yet. Could you please provide some estimates regarding this matter? I believe this feature is really usefull.
By the way, I would like to thank you for the good product :-)
By the way, I would like to thank you for the good product :-)
Best regards,
Alexander Peshkov
Alexander Peshkov
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
We discussed this with Mr. James Clark and he plans to add some support for this in Jing. We had also some parallel development plans but we decided that is better to wait for this to be in Jing than to implement the same thing and then drop it. If a new Jing version with support for determining the allowed elements and attributes in a given context will not be available soon we will consider going back to our initial plans to implement it ourselves.
Best Regards,
George
We discussed this with Mr. James Clark and he plans to add some support for this in Jing. We had also some parallel development plans but we decided that is better to wait for this to be in Jing than to implement the same thing and then drop it. If a new Jing version with support for determining the allowed elements and attributes in a given context will not be available soon we will consider going back to our initial plans to implement it ourselves.
Best Regards,
George
-
- Posts: 2
- Joined: Tue Apr 01, 2003 11:49 am
[quote="george"]If a new Jing version with support for determining the allowed elements and attributes in a given context will not be available soon we will consider going back to our initial plans to implement it ourselves.
[/quote]
This should be a fairly simple one day hack for Jing to get the list of allowed
elements and attributes; all data structures are there, one just have to traverse
the current pattern and get the names out.
That is, please go ahead; the users are waiting it.
[/quote]
This should be a fairly simple one day hack for Jing to get the list of allowed
elements and attributes; all data structures are there, one just have to traverse
the current pattern and get the names out.
That is, please go ahead; the users are waiting it.
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