Hi All, I installed php 5 in my linux pc. My phpinfo() says libXML support active libXML Version 2.6.23 libXML streams enabled But still I cannot use DOMDocument in my script. When I use it in my script, Class 'DOMDocument' not found in /var/www/html/getcontent_3.php Any pointers will be very much appreciated. And also I need this badly to traverse my html contents. I cannot re-install libxml package with "yum" as I am not connected with internet.Please let me know any offline installation is possible. Any other equilent is available in php and its performance comparing to DOMDocument.

Member Avatar
Member Avatar
+0 forum 1

hi, i have the following xml : <ADR> <Resolvers InitOnlyUsedResolvers="Yes"> <Resolver Name="LD" ClassName="com.comverse.mms.adr.resolvers.LDResolver"/> <Resolver Name="NPM" ClassName="com.comverse.mms.adr.resolvers.NPMResolver"/> <Resolver Name="LZR" ClassName="com.comverse.mms.adr.resolvers.LZRResolver"/> <Resolver Name="Validator"ClassName="com.comverse.mms.adr.resolvers.ValidatorResolver"/> <Resolver Name="NonSub" ClassName="com.comverse.mms.adr.resolvers.NonSubResolver"/> <Resolver Name="VASRR" ClassName="com.comverse.mms.adr.resolvers.VASRNGResolver"/> [COLOR="red"]<[B]Resolver Type="Plugin" Name="AdrPlug" ClassName="AdrLdapConnector"/>[/B][/COLOR] </Resolvers> </ADR> i need to add to the above xml the line in red on this exact place. i am quite new to libxml ... can someone please help me ? thank you, Yuval.

Member Avatar
+0 forum 0

Hi everyone! I am trying for the first time to write "proper" object oriented c++ (ANSI) code. Up until now everything was made easy to me using visual studio and working with mfc or .net which both handle a lot of the "dirty" stuff... To the point : I want to build a class that all it's member variables are initialized by parsing an xml file (seperate file for each object). To parse xml files i use libxml2 library [URL="http://xmlsoft.org/"]http://xmlsoft.org/[/URL]. I have already made a function to parse the xml files and store the data to my variables and this …

Member Avatar
Member Avatar
+0 forum 5

Can I use libxml++ to parse html. I'm trying to find all the images in a xml file and store the image data directly into the src attribute of the web page. I know there is a bit of a difference between html and xml that's why I am asking the question

Member Avatar
Member Avatar
+0 forum 3

The End.