2010-04-06, 19:10:49
Indeed it is.
well thats what i meant with "and not having to transform text into arrays within php"....exploding is doing it in php...which adds an extra step to it...
using xpath you could query the xml for all tags including a unique identifier i.e. "tag1" without having to add an extra php function "explode" to it...just seems more "clean" from an xml point of view...as parsing files could be done "native" in xpath.
well thats what i meant with "and not having to transform text into arrays within php"....exploding is doing it in php...which adds an extra step to it...
using xpath you could query the xml for all tags including a unique identifier i.e. "tag1" without having to add an extra php function "explode" to it...just seems more "clean" from an xml point of view...as parsing files could be done "native" in xpath.