Page 2 of 2 First 12
  • Jump to page:
    #16
  1. Lazy Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,436
    Rep Power
    9645
    Originally Posted by AleksHan
    I'm not sure how to attribute xml to an object, say a picture, in such a way that I can allow the xml to be viewed separately from the object, and hence edited separately
    Still not understanding what you're talking about. An image file may support embedded data (varies by format) so you could potentially stick XML in there, then the image reader would know that a particular part of the image contains XML data with some meaning. And while XML is just text you could embed an image in it using base-64 encoding on the binary data, then something reading the XML would know that there is an image and how to interpret it. Then there's SVG which is an image format that uses XML.

    Originally Posted by AleksHan
    Ok, then help me please. To do the actual project, the parts that you can do. As much as possible; I'm on a very very short deadline, and I'd need to complete this quick, but I think I can make it so I can learn on the job. You'll receive credit for what you do.
    Like I said before, no. But I'm still here if you have questions.

    Remember what I said earlier: you need to learn about XML and namespaces. Like, now.
  2. #17
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2015
    Posts
    46
    Rep Power
    3
    Thank you. I'm sorry but the individual technologies seem to make sense. But putting them together seems so complex and foreign. Getting a complete picture of the information seems to be a bit of a problem
  4. #18
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2015
    Posts
    46
    Rep Power
    3
    Also, finding proper learning resources which do this seems to be equally problematic as the sources seem very specialised
  6. #19
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2015
    Posts
    46
    Rep Power
    3
    I think of schema.com providing linked xml types for persons to look at. And I like the idea of clicking on one of these types, and creating an object from it. But how would one go about doing that. XML seems to be exclusively for display and it looks troublesome to use for this, even though I believe it may be a good bet.
  8. #20
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2015
    Posts
    46
    Rep Power
    3
    It seems XML and the related technologies are a little out there in terms of the number of people who use it, and the number of clearly written tutorials in how to use it effectively. It seems to me perhaps the people on these networks, ie. devshed, should be able to come together and collaborate on creating tutorials. I'd like to create a system where you can create a class: give the class name, eg. Apple, and then give the properties the class can have: eg. Breed, Size, Shape, Color; along with the types for each of these properties-Breed- word, Size-Number (with the types being inches, metres, etc), Color-actual color, maybe hexadecimal values.
    Then to have the xml created automatically from these input values. ie. <apple><name></name> <breed></breed><shape></shape><color></color></apple>. \
    A person can then look up the class of Apple, and input values for each of the properties, in front-end way: eg. Apple: Breed:<input>Granny Smith</input>, Shape:<input>Oval</input>. And a particular id is given for this particular iteration of Apple, a distinct object from other Apples. The inputs given are automatically made into xml: <apple><name>Granny Smith</name> <breed>Granny Smith</breed> <shape>Oval</shape></apple>, and can be edited at any time. Also, the xml can be attributed to any object, and the rest of the information filled in: So a picture can be selected, and the properties: <picture><img src="............"></img> <subjectofpicture></subjectofpicture> <dimensions><height><pixels></pixels></height><width><pixels></pixels></width></dimensions></picture>. And these can be done by changing either the actual xml or the front-end representation with input boxes. Also, one can select any element with its children eg. in <person><name><firstname></firstname><lastname></lastname></name><dateofbirth><yearofbirth></yearofbirth><monthofbirth></monthofbirth><dayofbirth></dayofbirth></dateofbirth></person>, a person can select <name>......</name> with a particular id that links it to <person></person> specifically and 'name' with all of its children, can be attributed to an object, say : Harold Arnold Smith.
  10. #21
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2015
    Posts
    46
    Rep Power
    3
    And the specific parts of the object will be divided among the xml elements: <firstname>Harold</firstname><middlename>Arnold</middlename><lastname>Smith</lastname>.
    I'm sorry for rehashing a bit, but I wrote this as much for my own exploration of the problem as anything else.
  12. #22
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2015
    Posts
    46
    Rep Power
    3
    Also, a person should be able to search for any object, for example: 'Person' and can receive a list of person, and can filter the results according to all the properties of the class: 'Person' eg. according to 'firstname' or 'lastname' or 'age', and can add a value to these properties to search by
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo