To All, but more specifically Grizzly and Galen

Sharky Forums


Results 1 to 3 of 3

Thread: To All, but more specifically Grizzly and Galen

  1. #1
    Reef Shark Nephalim's Avatar
    Join Date
    Nov 2000
    Location
    Michigan
    Posts
    463

    To All, but more specifically Grizzly and Galen

    As you may have read, I've run into a problem with coding my PHP/XML application. Apparently I'd have to use ASP to get what I want done... something I'm not particularly interested in doing. So, I am trying to convince myself to get up off of my butt and write an XML DOM API (LOL) using PHP. My question is, how (or where can I find information) might I write code in PHP that will allow the programmer to use the same sort of functionality found in DHTML's DOM? In other words, how do I write PHP functions that would allow the programmer to write something like (though not necessarily exactly): document.getElementsByTagName('parent').childNodes(1).id.val ue ??? Perhaps you can direct me to a forum that specializes in more advancd programming structures such as this... to be perfectly honest, I'm getting rather fed up of running into dead ends,bad code and no answers. Sorry for the rant.
    ~ And that is my humble opinion.

    When I was a boy I was told that anybody could become President. Now I'm beginning to believe it. - Clarence Darrow

    The greatness of a woman’s power is measured in the size and amount of the balls she clutches in hand. -Nephalim

    "Tink"
    1700+ XP on A7N8X, 768MB PC2700 DDRRAM, Samsung 19" 900IFT, Radeon 64MB DDR VIVO, SB Live! MP3+, 42.9GB IBM HDD, Plexwriter 8/4/32, 3C905CTXM NIC

    "Hermes"
    Dell Inspiron 8200, 1.7 GHz P4, 512MB DDRRAM, 30GB HDD, DVDROM, Geforce4 Go 64MB

  2. #2
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077
    Nephalim - I'd be surprised if you didn't already come across this article yourself...but I just thought I'd offer this link:

    http://www.devshed.com/Server_Side/X...HP2/page1.html

    It *appears* to address your exact situation, and gives great examples on how to do it.


    I've personally never processed XML w/ PHP before, I've only done it with Cold Fusion, with a little help from Java. So I can't offer any real "personal experience" advice for your situation, but either way, I hope this is helpful, and good luck with it.

  3. #3
    Reef Shark Nephalim's Avatar
    Join Date
    Nov 2000
    Location
    Michigan
    Posts
    463
    Holy beast! Far and wide I have searched, and even at Developer Shed, however never did I find a scrap such as this delectible tidbit. Never fear for the great Grizzly did appear! I'd all but given up on the situation before I read your post. I will read the rest of the article and I'll take your luck as you have presented it. Gracious thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •