[oXygen-user] how do I associate a framework by xml-model PI?

Gerrit Imsieke gerrit.imsieke at le-tex.de
Sun Sep 22 04:37:05 CDT 2013


That’s what I thought. 

Luckily, in the BITS customization at hand, there’s a mandatory /*/@dtd-version attribute, based on whose value we can make the association. 

Btw, Wendell’s Framework works very well even for the customized schema.

An xml-model-based association is desirable nonetheless, so I’m turning my question into a feature request.

Gerrit


George Cristian Bina <george at oxygenxml.com> wrote:
>Hi Gerrit,
>
>The association between a document and a framework is done based on the
>
>filename, doctype declaration and on the root element name, namespace
>or 
>root element attributes, so you cannot use the xml-model PI
>information.
>
>Best Regards,
>George
>--
>George Cristian Bina
><oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
>http://www.oxygenxml.com
>
>On 9/21/13 12:46 PM, Imsieke, Gerrit, le-tex wrote:
>> oXygen folks,
>>
>> I want to associate Wendell Piez’ JATS framework with documents that
>> don’t have a DOCTYPE or a namespace. They rather have an RNG schema
>> associated via an xml-model PI:
>> <?xml-model href="http://hobots.hogrefe.com/schema/hobots.rng"
>> type="application/xml"
>schematypens="http://relaxng.org/ns/structure/1.0"?>
>>
>> How can I achieve an RNG-based framework association?
>>
>> Gerrit
>>

-- 
Sent from my bike. Please excuse my br


More information about the oXygen-user mailing list