[Home] [By Thread] [By Date] [Recent Entries]

  • From: "http://www.pas-world.com" <dev001@p...>
  • To: xml-dev@l...
  • Date: Thu, 10 Jan 2008 19:29:05 +0100

Hello, I am working with DOM XML in PHP, but is limited (or I do not
work very well).

Anyone know any class or collection of functions for PHP, that manage
things like this?

(/root/child[5]/@att , 'value')
-if no exist create it all elements empty and set att to value.
(/root/child[@id=1]/@att , 'value')
-select att in child where id attribute is 1 and set to value

The idea is work with XPath over DOM Object without apparent selection
of nodes.

(Sorry if this is offtopic)











-- 
--
Publicidad http://www.pas-world.com



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member