element selection in author mode
Oxygen general issues.
-
- Posts: 5
- Joined: Tue Jul 31, 2012 1:32 pm
element selection in author mode
Hi,
Below is a rough mock-up of where I have a problem. In oxygen text mode when I’m in <a:author-text> I can pull up note#xmlns=http://analysis from the element list but in author mode this is greyed out so not selectable even though it is legal. It seems to be the case that elements for the root namespace aren’t selectable in author mode even though at this point it’s within another namespace so the root namespace needs recalling at this point. Additionally <note/> can have only a child of <note-para/> but this option is greyed out in both author and text mode. How do I go about fixing this?
Thanks
Below is a rough mock-up of where I have a problem. In oxygen text mode when I’m in <a:author-text> I can pull up note#xmlns=http://analysis from the element list but in author mode this is greyed out so not selectable even though it is legal. It seems to be the case that elements for the root namespace aren’t selectable in author mode even though at this point it’s within another namespace so the root namespace needs recalling at this point. Additionally <note/> can have only a child of <note-para/> but this option is greyed out in both author and text mode. How do I go about fixing this?
Thanks
Code: Select all
<document xmlns="http://analysis" xmlns:a="http://amendments">
<title>Health Protection (Local Authority Powers) (Wales) Regulations 2010</title>
<regulation xmlns="http://somewhere-else">
<number>1.—</number>
<title>Title</title>
<sub1>
<number>(1)</number>
<para-text align="left">Para-text.</para-text>
</sub1>
<a:author-amendment>
<a:author-text>
<note xmlns="http://analysis">
<note-para>note-para</note-para>
</note>
</a:author-text>
</a:author-amendment>
</regulation>
</document>
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: element selection in author mode
Hi Eleanor,
Oxygen tries to determine the elements which may be inserted at a certain offset based on the associated schema.
Could you also share with us the schema (and dependencies) which is used to validate the XML fragment you provided?
You can contact us directly using support@oxygenxml.com
Regards,
Radu
Oxygen tries to determine the elements which may be inserted at a certain offset based on the associated schema.
Could you also share with us the schema (and dependencies) which is used to validate the XML fragment you provided?
You can contact us directly using support@oxygenxml.com
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)
- ↳ 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