+ Reply to Thread
Results 1 to 5 of 5

Thread: Help required about php Dom xml

  1. #1
    moneynetworkgroup39's Avatar
    moneynetworkgroup39 is offline x10Hosting Member moneynetworkgroup39 is an unknown quantity at this point
    Join Date
    Aug 2010
    Location
    In my dreams
    Posts
    90

    Unhappy Help required about php Dom xml

    Hi,
    I am trying to generate a xml by php do like below
    Code:
    <university name="Oxford" Place ="UK">
    <colleges>
    <colleges detail/>
    <College name ="a" place"xyx">
    </college>
    </college detail>
    </university>
    some thing like that.

    But I am so much new for dom and xml can any one help me to do this. Tried but getting lots of errors.

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Help required about php Dom xml

    What did you try? What were the errors? You haven't given nearly enough information. Among other things, you should post minimal sample code.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    denzil is offline x10 Sophmore denzil is an unknown quantity at this point
    Join Date
    Jan 2011
    Location
    South Africa
    Posts
    134

    Re: Help required about php Dom xml

    If you feel you still need to patch up your DOM XML skills I'd recommend that you take a look at w3schools/. I find their tutorials very helpful. If you still haven't sorted out your problem come back with some details on the problem you are having.

  4. #4
    callumacrae's Avatar
    callumacrae is offline not alex mac callumacrae is just really nice
    Join Date
    Dec 2007
    Location
    Wellesbourne, England
    Posts
    5,162

    Re: Help required about php Dom xml

    Quote Originally Posted by denzilb22 View Post
    If you feel you still need to patch up your DOM XML skills I'd recommend that you take a look at w3schools/. I find their tutorials very helpful. If you still haven't sorted out your problem come back with some details on the problem you are having.
    w3schools is rubbish. It took me a day or two to read w3schools, a month or two to repair the damage it caused.

    ~Callum
    I can customise your phpBB board. Send me a PM.
    lynxphp - info, tutorials and scripts
    "A forum post should be like a skirt; long enough to cover the subject but short enough to keep things interesting."

  5. #5
    denzil is offline x10 Sophmore denzil is an unknown quantity at this point
    Join Date
    Jan 2011
    Location
    South Africa
    Posts
    134

    Re: Help required about php Dom xml

    Quote Originally Posted by Alex Mac View Post
    w3schools is rubbish. It took me a day or two to read w3schools, a month or two to repair the damage it caused.

    ~Callum
    I suppose you're right. I've never actually relied solely on w3schools. I always use some e-book or web tutorial as well. Just find them helpful to get a basic idea of things.

    Well anyway. I'm in the process of learning DOM XML amongst other things so hopefully I can be more helpful in a few hours
    *****
    I did some checking out and I'd like to point out that your xml is scattered with errors (at least 4 by looking at it quickly, I suspect even more). Do some more reading up before you try again. I just checked w3schools for their xml and it should be good enough as a starting point.
    Last edited by denzil; 01-13-2011 at 06:06 AM. Reason: Added info

+ Reply to Thread

Similar Threads

  1. Immediate Help required
    By dr7wbvr in forum Free Hosting
    Replies: 1
    Last Post: 02-12-2010, 02:37 AM
  2. Help, required
    By ata.online in forum Free Hosting
    Replies: 8
    Last Post: 11-05-2009, 04:15 PM
  3. GD Required
    By UberNube in forum Free Hosting
    Replies: 2
    Last Post: 03-04-2008, 12:22 AM
  4. Some help is required!
    By randomize in forum Feedback and Suggestions
    Replies: 5
    Last Post: 07-13-2006, 12:45 PM
  5. New Name Required! Help!
    By randomize in forum Scripts & 3rd Party Apps
    Replies: 12
    Last Post: 04-27-2006, 06:54 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers