Subject: RE: Formatting elements From: sara.mitchell@xxxxxxxxx Date: Tue, 10 Oct 2000 16:36:09 -0400 |
Yes, I am. Where you need to put them really depends on what you need to do. That said, what I generally do is consider adding a wrapper element to any set of elements that 'fundamentally' are a set or group. The siblings in the group have a relationship with each other -- at least for formatting or behavior purposes. Some examples of this include things like addresses or items in a list (if the items need to be able to contain other structures). Other things to consider are situations where you might want to iterate through a set of things (for-each needs). For example a message element with multiple line children. Also think about situations where several elements may need a different behaviour or format based on some category or class of information. Putting an attribute on one wrapper to indicate that classification is much easier to do than putting it on each item in the group. Last, think about situations where you may want to associate a title, caption, or description of the group. This can be done with attributes, but sometimes it makes more sense to create a wrapper than can also contain that labeling element. Sara > -----Original Message----- > From: Archie Russell [mailto:archier@xxxxxxxxxxxxxxx] > Sent: Tuesday, October 10, 2000 11:17 AM > To: 'xsl-list@xxxxxxxxxxxxxxxx' > Subject: RE: Formatting elements > > > > i'm kind of new to this, are you two saying add xml tags for > the purpose of > giving xslt processors a place to grab hold? > > if so, how do you choose where to put these? > > -a [snipped] XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Formatting elements, Archie Russell | Thread | RE: Formatting elements, DPawson |
Re: Paul T vs FO, Rebecca Lundberg | Date | Re: Copying and transforming/Recurs, John E. Simpson |
Month |