Editing Talk:XML

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 7: Line 7:
I've had tremendous trouble trying to figure out how to express [[Product group]]s in generic markup. The idea is that all [[product]]s belong to a [[product group]] and that [[product group]]s can belong to other [[product group]]s. [[tomatoe]]s are [[vegeatable]]s, which are [[food]] etc.
I've had tremendous trouble trying to figure out how to express [[Product group]]s in generic markup. The idea is that all [[product]]s belong to a [[product group]] and that [[product group]]s can belong to other [[product group]]s. [[tomatoe]]s are [[vegeatable]]s, which are [[food]] etc.


The idea is to allow the defining of different relationships between [[product group]]s, for the uses of describing [[Product substitution]]s and [[sevice cycle]]s and other stuff we haven't even thought of yet.
The idea is to allow the defining of different relationships between [[product group]]s, for the uses of describing [[Product substitution]]s and [[Production Flow]]s and other stuff we haven't even thought of yet.


I was aiming at a generic [[product group]]-element to make the processing software ([[Instructional capital]]) simpler, but I can't get it to work. We could have an generic [[product group]]-element that encapsulates group specific data in a more specific element like:  
I was aiming at a generic [[product group]]-element to make the processing software ([[Instructional capital]]) simpler, but I can't get it to work. We could have an generic [[product group]]-element that encapsulates group specific data in a more specific element like:  
  <product_group id=??><food_group id=??>...</food_group></product_group>
  <product_group id=??><food_group id=??>...</food_group></product_group>
  <product_group id=??><clothing_group id=??>...</clothing_group></product_group>
  <product_group id=??><clothing_group id=??>...</clothing_group></product_group>
: start simple. define a relationship between a set of objects with a group markup tag, e.g.: <group name="bread"> <fu/> <bar/> </group> establishes a named relationship betwen <fu/> and <bar/>. let the group tag have anything inside it, including text. treat it as markup.


Using "ANY"-constraint (can contain any element... or is it even #PCDATA??) can be kind of hazardous for software.. but maybe we just add these specific groups so that each element can contain just one of the available subgroups for this subgroup.
Using "ANY"-constraint (can contain any element... or is it even #PCDATA??) can be kind of hazardous for software.. but maybe we just add these specific groups so that each element can contain just one of the available subgroups for this subgroup.


But this would not allow to define variable relationships required to give everyone their say about [[product substitution]] and [[service cycle]]...
But this would not allow to define variable relationships required to give everyone their say about [[product substitution]] and [[production flow]]...


I don't know... We need XML-gurus
I don't know... We need XML-gurus
: do you want to markup text? or do you want to define structure? or both?
: DTD syntax is troublesome and difficult to master. the newer xml schema is itself xml, and is capable of a whole lot more... it could make expression of your product group easier.
: let's start it off with a small collection of schemas, say { resource.xsd, person.xsd, a product.xsd, service.xsd }.
---------
Sourceforge entry needs a LOT more links and information.  Like at least a real link to Consumerium!
Please note that all contributions to Consumerium development wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Consumerium:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)