How do you add XInclude to a Relax-NG Compact schema?
This should cover W3C XML Schema, Relax NG and DTD related problems.
How do you add XInclude to a Relax-NG Compact schema?
Two part question:
- Getting the schema.
If there's an XInclude schema in existence, where is it? (Or, how would you write one in RNC? I'm sure it would be pretty easy, but I don't trust myself to write it with the highest possible degree of reusability…reusability is vital!) - Using the schema.
Once I include an XInclude schema in an RNC file, is there a flexible way to say “these are the elements that may be xincludedâ€, or would I just have to do element |= xi:include a bunch of times?
-- Zearin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: How do you add XInclude to a Relax-NG Compact schema?
Post by sorin_ristache »
Hello,
There is no special XInclude schema in RELAX NG. You have to define the xi:include element with attributes and subelements for example in a RELAX NG pattern called xi.include.def and add it to any element definition where xi:include is allowed, something like:
Regards,
Sorin
There is no special XInclude schema in RELAX NG. You have to define the xi:include element with attributes and subelements for example in a RELAX NG pattern called xi.include.def and add it to any element definition where xi:include is allowed, something like:
Code: Select all
divisions.def = part.def | reference.def | xi.include.def
Sorin
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