RE: grouping elements

Subject: RE: grouping elements
From: "Didier PH Martin" <martind@xxxxxxxxxxxxx>
Date: Fri, 19 Feb 1999 14:56:12 -0500
Hi Bas

I you use the SGML/XML kit, which is using james extension proposals you can
write your style sheet like as below:

(or-element (MRCB100-c MRCB100-d MRCB100-e)
   (make sequence
     (literal " ")
    (process-children)
  )
)

This extension has been created to resolve the problem of having more than
one element with the same rule.Notice that the rule begins with "or-element"
instead of "element".

An or-element construction rule has the syntax

(or-element (pattern+) expression)

where pattern is any pattern that could be allowed in an element
construction rule. It is equivalent to a sequence of element construction
rule

Regards
Didier PH Martin
mailto:martind@xxxxxxxxxxxxx
http://www.netfolder.com

-----Original Message-----
From: owner-dssslist@xxxxxxxxxxxxxxxx
[mailto:owner-dssslist@xxxxxxxxxxxxxxxx]On Behalf Of Bas Peters
Sent: Friday, February 19, 1999 5:24 AM
To: 'dssslist@xxxxxxxxxxxxxxxx'
Subject: grouping elements


I have a stylesheet for database records that includes the following
rules:

(element MRCB100-c
   (make sequence
     (literal " ")
    (process-children)
  )
)

(element MRCB100-d
   (make sequence
     (literal " ")
    (process-children)
  )
)

(element MRCB100-e
   (make sequence
     (literal " ")
    (process-children)
  )
)

Is there a way to group the elements in one rule that repeates the
literal statement for all elements and not for one element?

> Bas Peters
> E-mail: bpeters@xxxxxx
>
>


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread