This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Attribute and Element


At 00/05/18 22:37 +0100, Cheun N Chong wrote:
>I am a bit confused of the attribute and element.
>...
>         The confusion I am having now is, should I put the Price (or
>ValidBefore) as an attribute of the Ticket or put it as an element under
>the Ticket. What is the difference, and what is the benefits?

There are a number of viewpoints regarding this religious question at:

   http://www.oasis-open.org/cover/elementsAndAttrs.html

I hope this helps.

............ Ken

--
G. Ken Holman                    mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.             http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0   +1(613)489-0999   (Fax:-0995)
Web site: XSL/XML/DSSSL/SGML services, training, libraries, products.
Practical Transformation Using XSLT and XPath      ISBN 1-894049-04-7
Next instructor-led training:       2000-06-12,2000-06-13,2000-10-03,
-                         2000-10-04,2000-10-05,2000-11-13,2001-01-27


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]