Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 295885
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:29:53+00:00 2026-05-12T06:29:53+00:00

SimpleXML seems OK, but one thing that’s annoying is whenever assigning/storing a value you

  • 0

SimpleXML seems OK, but one thing that’s annoying is whenever assigning/storing a value you have to typecast it – this really is a tad annoying. DOM is OK but I really like the flexibility of XPath, sometimes DOM can be a tad too much writing-wise.

I really like the selector implementation in jQuery, and the flexibility. I came across http://jquery.hohli.com/ while googling but just wanted to see if anyone had recommendations before I try it out.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:29:53+00:00Added an answer on May 12, 2026 at 6:29 am

    I use SimpleXmlElement for reading and DOMDocument for creating XML. You can also look at the XMLReader as in PHP 5.1. This is a fast way to “walktrough” an XML document. PHP also provides event-based XML parsing (SAX).

    If you have a good combination of read/write actions you maybe should extend the SimpleXmlElement or DOMDocument classes or write a few helper functions which do all that casting work for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have started to use the simplexml function that seems to work out better
Worked with XML feeds before, but this one seems to be causing an error.
It seems I can't easily have an XSD declaration for this simple XML <root>
Firslty, I'm aware of some similar questions along the lines of this one, but
I am using simpleXML in PHP to fetch xml file. The thing is that
I have been searching google for over an hour and am frustrated, This seems
I've been trying to use SimpleXML , but it doesn't seem to like XML
using simplexml to parse a feed, but I want to grab the date of
I need some help on the SimpleXML calls for a recursive function that lists
I have xml files been imported onto an FTP server. This is stored in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.