Newbi Q - Attribute groups and complex types
Oxygen general issues.
-
- Posts: 1
- Joined: Mon Feb 13, 2023 3:45 pm
Newbi Q - Attribute groups and complex types
Hi
I'm a casual non-techie user of Oxygen, but have a need to create my first schema -and this is completely from scratch, there's no environment to inherit from.
I need to create a schema that involves our companies, our clients, and products. Both types of party have things in common, many products have things in common.. so I want to create some attribute groups to aid re-use.
Alas, I can't find anything that explains how to do this, and experimenting isn't working.. there's one video in which the presenter inherits a pre-existing group... which doesn't help.
I'm working in design view in Oxygen XML v23.
thanks in advance!
Miles
I'm a casual non-techie user of Oxygen, but have a need to create my first schema -and this is completely from scratch, there's no environment to inherit from.
I need to create a schema that involves our companies, our clients, and products. Both types of party have things in common, many products have things in common.. so I want to create some attribute groups to aid re-use.
Alas, I can't find anything that explains how to do this, and experimenting isn't working.. there's one video in which the presenter inherits a pre-existing group... which doesn't help.
I'm working in design view in Oxygen XML v23.
thanks in advance!
Miles
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: Newbi Q - Attribute groups and complex types
Hi Miles,
Unfortunately we do not have a video demo that covers attribute groups.
I recommend you to use the Pallet view to create a new attribute group.
- drag and drop the attribute group in the schema root
- drag an drop attribute components in the attribute group
Then to use the attribute group, you can just drag it over the component (element, definition), and a reference to the attribute group will be created.
You can find more about XML Schema Palette View in our user manual:
https://www.oxygenxml.com/doc/versions/ ... -view.html
https://www.oxygenxml.com/demo/Schema_Palette.html
As a starting point you can also generate an XSD from XML documents. For this you can use the Generate/Convert Schema tool:
https://www.oxygenxml.com/doc/versions/ ... tools.html
Best Regards,
Octavian
Unfortunately we do not have a video demo that covers attribute groups.
I recommend you to use the Pallet view to create a new attribute group.
- drag and drop the attribute group in the schema root
- drag an drop attribute components in the attribute group
Then to use the attribute group, you can just drag it over the component (element, definition), and a reference to the attribute group will be created.
You can find more about XML Schema Palette View in our user manual:
https://www.oxygenxml.com/doc/versions/ ... -view.html
https://www.oxygenxml.com/demo/Schema_Palette.html
As a starting point you can also generate an XSD from XML documents. For this you can use the Generate/Convert Schema tool:
https://www.oxygenxml.com/doc/versions/ ... tools.html
Best Regards,
Octavian
Octavian Nadolu
<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