[tei-council] egXML and http://purl.org/tei/fr/3156049

Lou Burnard lou.burnard at retired.ox.ac.uk
Mon Dec 5 06:25:08 EST 2011


Looks fine to me, but the wording in TD could be simplified a bit. I 
will have a hack at it now, if you dont mind.

On 04/12/11 20:06, James Cummings wrote:
> I'm starting to work on http://purl.org/tei/fr/3156049
>
> And I want to add an example of<egXML>  in usage. I notice that in TD
> other uses of<egXML>  as an example are escaped as CDATA inside<eg>
> which means, I suppose, that we aren't validating the<egXML>  (but since
> this allows any XML, what other than well-formness would we validate? It
> strikes me that this is inconsistent though and maybe we should look to
> change it.
>
> The example I was going to provide is:
>
> <eg><![CDATA[
> <egXML xmlns="http://www.tei-c.org/ns/Examples"
> xmlns:tei="http://www.tei-c.org/ns/1.0">
> <div>
>     <head>A slide about<gi>egXML</gi></head>
>     <list>
>      <item><gi>egXML</gi>  can be used to give XML examples in the TEI
> Examples namespace</item>
>      <item>Attributes values for<att>valid</att>:
>       <list tei:rend="collapsed">
>       <item><val tei:rend="green">true</val>: intended to be fully
> valid</item>
>       <item><val tei:rend="amber">feasible</val>: valid if missing nodes
> provided</item>
>       <item><val tei:rend="red">false</val>: not intended to be valid</item>
>       </list>
>       </item>
>       <item>The<att>rend</att>  attribute in the TEI namespace can be
> used for recording how parts of the example was rendered.</item>
>       </list>
> </div>
> </egXML>
> ]]>
> </eg>
>
> To demonstrate the use of @tei:rend inside teiX:egXML to indicate
> rendering of the example in the source (if it had one).
>
> Does this seem reasonable?
>
> I'll also be correcting the valItems for @valid and recommending the use
> of @tei:rend in egXML as above.
>
> -James
>



More information about the tei-council mailing list