Difference between revisions of "Talk:Validate OSIS or TEI text"
From CrossWire Bible Society
David Haslam (talk | contribs) (→Defining OSIS or TEI in the XML file: new section) |
David Haslam (talk | contribs) m (→OSIS: <tt>xmlns</tt> & <tt>xsi:</tt> parts point) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Defining OSIS or TEI in the XML file == | == Defining OSIS or TEI in the XML file == | ||
− | We need a section in | + | We need a section in this page on exactly how to define OSIS or TEI in the XML file. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 15:03, 1 March 2021 (UTC) |
+ | === OSIS === | ||
+ | Before the '''Bible Technologies''' site went AWOL, an OSIS file would validate with this near the top of the file. | ||
+ | <pre> | ||
+ | <osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace" | ||
+ | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
+ | xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace | ||
+ | http://www.bibletechnologies.net/osisCore.2.1.1.xsd"> | ||
+ | </pre> | ||
+ | Only the path to the .xsd file needs to be changed, thus: | ||
+ | <pre> | ||
+ | <osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace" | ||
+ | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
+ | xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace | ||
+ | http://www.crosswire.org/~dmsmith/osis/osisCore.2.1.1-cw-latest.xsd"> | ||
+ | </pre> | ||
+ | The fact that the <tt>xmlns</tt> & <tt>xsi:</tt> parts point to the missing website appears to be of no consequence! | ||
+ | |||
+ | As a Windows user, I have my copy of the custom OSIS schema stored in path that has a '''substitute''' drive letter '''z:''' pointing to it, hence: | ||
+ | <pre> | ||
+ | <osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace" | ||
+ | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
+ | xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace | ||
+ | z:/osisCore.2.1.1-cw-latest.xsd"> | ||
+ | </pre> | ||
+ | [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 15:17, 1 March 2021 (UTC) | ||
+ | |||
+ | === TEI === | ||
+ | |||
+ | :''Section to be added''. |
Latest revision as of 19:24, 2 March 2021
Defining OSIS or TEI in the XML file
We need a section in this page on exactly how to define OSIS or TEI in the XML file. David Haslam (talk) 15:03, 1 March 2021 (UTC)
OSIS
Before the Bible Technologies site went AWOL, an OSIS file would validate with this near the top of the file.
<osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace http://www.bibletechnologies.net/osisCore.2.1.1.xsd">
Only the path to the .xsd file needs to be changed, thus:
<osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace http://www.crosswire.org/~dmsmith/osis/osisCore.2.1.1-cw-latest.xsd">
The fact that the xmlns & xsi: parts point to the missing website appears to be of no consequence!
As a Windows user, I have my copy of the custom OSIS schema stored in path that has a substitute drive letter z: pointing to it, hence:
<osis xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace z:/osisCore.2.1.1-cw-latest.xsd">
David Haslam (talk) 15:17, 1 March 2021 (UTC)
TEI
- Section to be added.