Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sort out XREF content #168

Open
ilovan opened this issue Aug 16, 2019 · 1 comment
Open

Sort out XREF content #168

ilovan opened this issue Aug 16, 2019 · 1 comment
Labels
Orlando any of the Orlando schemas question

Comments

@ilovan
Copy link
Contributor

ilovan commented Aug 16, 2019

XREF as defined in the Bio schema inside P:

<element name="XREF">
                        <a:documentation
                            xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The xref
                            element surrounds a url which you wish to make into a
                            hyperlink.</a:documentation>
                        <ref name="RESP-attribute"/>
                        <attribute name="URL">
                            <a:documentation
                                xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">URL
                                (uniform resource locator) specifies the URL from which the media
                                concerned may be obtained.</a:documentation>
                            <data type="anyURI"/>
                        </attribute>
                        <data type="anyURI"/>
                    </element>

XREF as globally defined in the Bio schema and in the Writing schema:

<define name="XREF">
        <element name="XREF">
            <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">The xref
                element surrounds a url which you wish to make into a hyperlink.</a:documentation>
            <optional>
                <ref name="RESP-attribute"/>
            </optional>
            <attribute name="URL">
                <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0">URL
                    (uniform resource locator) specifies the URL from which the media concerned may
                    be obtained.</a:documentation>
                <data type="anyURI"/>
            </attribute>
            <optional>
                <attribute name="annotationId">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >Provides a unique annotation identifier for the element bearing the
                        attribute.</a:documentation>
                </attribute>
            </optional>
            <optional>
                <attribute name="offsetId">
                    <a:documentation xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
                        >Designates the parent tag from which the offset is being
                        counted.</a:documentation>
                </attribute>
            </optional>
            <oneOrMore>
                <choice>
                    <text/>
                    <ref name="ORGNAME"/>
                    <ref name="TITLE"/>
                </choice>
            </oneOrMore>
        </element>
    </define>
@ilovan ilovan added question Orlando any of the Orlando schemas labels Aug 16, 2019
@SusanBrown
Copy link

Don't understand the question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Orlando any of the Orlando schemas question
Projects
None yet
Development

No branches or pull requests

2 participants