dependencies in cc_config.xml
Posted: Wed Jun 21, 2023 9:41 pm
Hi there,
I ran into an odd problem with cc_config.xml:
I put for example
in this order, while my document (TEI) had <p> as child of <div>:
Then the proposed values for "tei:div/@type" were also shown on <p> and were in fact overriding the second value proposals.
BUT: When I reversed the order of the value proposals in the config file to
it worked.
I verified this with <lg> / <l> respectively.
So my question is, whether there are intrinsic rules for setting up the cc_config.xml, which I don't know and only stumbled upon by trial and error.
Many thanks for any help in understanding what I'm actually doing here.
Kind regards
Oliver
I ran into an odd problem with cc_config.xml:
I put for example
Code: Select all
<valueProposals path="tei:div/@type"> ... </valueProposals>
<valueProposals path="tei:p/@type"> ... </valueProposals>
Code: Select all
<div><p>...</p></div>.
BUT: When I reversed the order of the value proposals in the config file to
Code: Select all
<valueProposals path="tei:p/@type"> ... </valueProposals>
<valueProposals path="tei:div/@type"> ... </valueProposals>
I verified this with <lg> / <l> respectively.
So my question is, whether there are intrinsic rules for setting up the cc_config.xml, which I don't know and only stumbled upon by trial and error.
Many thanks for any help in understanding what I'm actually doing here.
Kind regards
Oliver