Access and Display to Attlist

Subject: Access and Display to Attlist
From: Fabienne.CLAVERIE@xxxxxxxxxxxx
Date: Tue, 4 Nov 1997 15:13:49 +0100
X400-content-type: P2-1988 (22)
X400-mts-identifier: [/PRMD=CEC/ADMD=RTT/C=BE/;0011500005001769000002L092]
X400-received: by /PRMD=CEC/ADMD=RTT/C=BE/; Relayed; Tue, 4 Nov 1997 15:13:49 +0100

I need to access the attributes of one element of a dtd and to realize
different operation. This is equivalent to something like :

<!element bloc2 - o ((titre?,#PCDATA)|bloc3)+>
  <!ATTLIST bloc2 TYPE (a|b|c)  #REQUIRED>

I don't know how to write in my doc.dsl 

if bloc2=a something...
if bloc2=b something..
if bloc2=c..............

"Something" could be, display a special content,  insert a literal or replace
completely the element bloc2 by another text in function of the value of the

I think I miss the technical approach usual to programmers.

Thank you in advance.


 DSSSList info and archive:

Current Thread