On 12/06/2011 17:32, Sebastian Rahtz wrote:
> On 10 Jun 2011, at 16:49, Ron Van den Branden wrote:
>> Thanks for pointing this out: this looks very nice! But it doesn't work
>> for TEI P4, does it?
> Yes, it does P4 if you set the parameter "processP4" to "true". You can have it read
> a mixture of P4 and P5 if needed.
Ah, marvelous, thanks! It took me some time to get it up and running and
realize that I should have updated my version 5.22 to the latest version
to have <valList>s generated, but eventually I saw them - for P5
documents, that is.
Am I right that in order to process P4 documents, the $processNonTEI
parameter has to be "true" as well? Otherwise, you'll end up with an ODD
for a minimal TEI P5 document, it seems.
However, when $processP4 = 'true' and $processNonTEI = 'false', the
attributes are listed, but no <valList>s are generated for P4 documents.
I tried to include the attributes I'm interested in in $attributeList:
<!-- which attributes should be make valLists for, regardless -->
...but this doesn't make a change. Am I doing something wrong?