how to enable TEI names and dates Tagset?
This should cover W3C XML Schema, Relax NG and DTD related problems.
how to enable TEI names and dates Tagset?
Hi,
I'm trying to use the additional tag set for names and dates in TEI, so I tried inserting this into the DOCTYPE-Declaration:
However, when I try to use a tag from this tagset like <persName>, I get an error message, that this element is not declared.
What am I doing wrong?
Best wishes,
Frank
I'm trying to use the additional tag set for names and dates in TEI, so I tried inserting this into the DOCTYPE-Declaration:
Code: Select all
<!ENTITY % TEI.namesdates 'INCLUDE'>
What am I doing wrong?
Best wishes,
Frank
Hi Frank,
I started with a New from templates action in oXygen and selected TEI P4. This got me
Then I added an author entry and a persName inside the titleStmt and this gave me the following document:
which oXygen marked as invalid with the following message 'Element type "persName" must be declared.'
Adding <!ENTITY % TEI.names.dates 'INCLUDE'>
makes the document valid.
Hope that helps,
George
I started with a New from templates action in oXygen and selected TEI P4. This got me
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE TEI.2 PUBLIC "-//TEI P4//DTD Main Document Type//EN" "http://www.tei-c.org/Guidelines/DTD/tei2.dtd" [
<!ENTITY % TEI.prose 'INCLUDE'>
<!ENTITY % TEI.linking 'INCLUDE'>
<!ENTITY % TEI.figures 'INCLUDE'>
<!ENTITY % TEI.analysis 'INCLUDE'>
<!ENTITY % TEI.XML 'INCLUDE'>
<!ENTITY % ISOlat1 SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-lat1.ent'>
%ISOlat1;
<!ENTITY % ISOlat2 SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-lat2.ent'>
%ISOlat2;
<!ENTITY % ISOnum SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-num.ent'>
%ISOnum;
<!ENTITY % ISOpub SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-pub.ent'>
%ISOpub;
]>
<TEI.2>
<teiHeader>
<fileDesc>
<titleStmt>
<title></title>
</titleStmt>
<publicationStmt>
<!-- one of (address authority availability date distributor idno p pubPlace publisher) -->
<p>Publication statement goes here.</p>
</publicationStmt>
<sourceDesc>
<!-- one of (bibl biblFull biblStruct listBibl p recordingStmt scriptStmt) -->
<p>Source description goes here.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<p>A paragraph goes here.</p>
</body>
</text>
</TEI.2>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE TEI.2 PUBLIC "-//TEI P4//DTD Main Document Type//EN" "http://www.tei-c.org/Guidelines/DTD/tei2.dtd" [
<!ENTITY % TEI.prose 'INCLUDE'>
<!ENTITY % TEI.linking 'INCLUDE'>
<!ENTITY % TEI.figures 'INCLUDE'>
<!ENTITY % TEI.analysis 'INCLUDE'>
<!ENTITY % TEI.XML 'INCLUDE'>
<!ENTITY % ISOlat1 SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-lat1.ent'>
%ISOlat1;
<!ENTITY % ISOlat2 SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-lat2.ent'>
%ISOlat2;
<!ENTITY % ISOnum SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-num.ent'>
%ISOnum;
<!ENTITY % ISOpub SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-pub.ent'>
%ISOpub;
]>
<TEI.2>
<teiHeader>
<fileDesc>
<titleStmt>
<title></title>
<author>
<persName>George Bina</persName>
</author>
</titleStmt>
<publicationStmt>
<!-- one of (address authority availability date distributor idno p pubPlace publisher) -->
<p>Publication statement goes here.</p>
</publicationStmt>
<sourceDesc>
<!-- one of (bibl biblFull biblStruct listBibl p recordingStmt scriptStmt) -->
<p>Source description goes here.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<p>A paragraph goes here.</p>
</body>
</text>
</TEI.2>
Adding <!ENTITY % TEI.names.dates 'INCLUDE'>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE TEI.2 PUBLIC "-//TEI P4//DTD Main Document Type//EN" "http://www.tei-c.org/Guidelines/DTD/tei2.dtd" [
<!ENTITY % TEI.names.dates 'INCLUDE'>
<!ENTITY % TEI.prose 'INCLUDE'>
<!ENTITY % TEI.linking 'INCLUDE'>
<!ENTITY % TEI.figures 'INCLUDE'>
<!ENTITY % TEI.analysis 'INCLUDE'>
<!ENTITY % TEI.XML 'INCLUDE'>
<!ENTITY % ISOlat1 SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-lat1.ent'>
%ISOlat1;
<!ENTITY % ISOlat2 SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-lat2.ent'>
%ISOlat2;
<!ENTITY % ISOnum SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-num.ent'>
%ISOnum;
<!ENTITY % ISOpub SYSTEM 'http://www.tei-c.org/Entity_Sets/Unicode/iso-pub.ent'>
%ISOpub;
]>
<TEI.2>
<teiHeader>
<fileDesc>
<titleStmt>
<title></title>
<author>
<persName>George Bina</persName>
</author>
</titleStmt>
<publicationStmt>
<!-- one of (address authority availability date distributor idno p pubPlace publisher) -->
<p>Publication statement goes here.</p>
</publicationStmt>
<sourceDesc>
<!-- one of (bibl biblFull biblStruct listBibl p recordingStmt scriptStmt) -->
<p>Source description goes here.</p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<p>A paragraph goes here.</p>
</body>
</text>
</TEI.2>
Hope that helps,
George
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