[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: SV: [plcs-tog] FW: XML elements vs. XML attributes
Hi, Input based on reading “When to use elements versus attributes -Exploring the oldest question in XML design” http://www.ibm.com/developerworks/xml/library/x-eleatt/index.html
sometimes the principles will lead to conflicting conclusions where you'll have to use your own judgment to decide on each specific matter. So, if the issue at hand is <essential> <data> that may be <extensible> meant <to be understood by a person> - this suggests ELEMENT. Best regards Tor Arne Fra: plcs-tog@lists.oasis-open.org [mailto:plcs-tog@lists.oasis-open.org] På vegne av Rob Bodington Hi We have been asked for our view on this by the AP242 team who are at a workshop finalizing the AP242 model My initial reaction is that we should avoid xml attributes at all costs. We have them for id and uris – on the basis of file size – the same argument is being used here. Any thoughts? Regards -------------------------------------------------------------------------------- Eurostep Limited. Registered in England and Wales No.03049099 Registered Office: Cwttir Lane, St. Asaph, Denbighshire LL17 0LQ. From: Günter Staub [mailto:staub@pdtec.de] Hi Rob, can you please give your opinion, or even better Feedback from PLCS to the proposal from Dassault for using attributes instead of elements for some geometric entities (see below). Regards, Gunter From: Günter Staub [mailto:staub@pdtec.de] Hi Rob, one (early) comment for the AP242 Prototyping project (from Dassault I believe, but not sure): But the file size ratio (1:2,x) is not too bad from my point of view (but p21 = AIM level, XML file = BO Model level). Regards, Gunter From: Günter Staub [mailto:staub@pdtec.de] Hi Rob, Some time ago you mentioned a (kind of) recommendation about when to use XML elements vs. XML attributes. Can you please provide this document (or a link where to find this document) to me? Regards, Gunter |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]