xml-libxml Questions

4

I have downloaded strawberry PERL and writing one application with CGI Perl Apache on Winxp sp3). One of the libraries (written by someone else) which I using uses XML::LibXML. When i load the page...
Millenarianism asked 13/7, 2012 at 9:53

3

I installed Strawberry Perl on my windows XP operating system. Later I tried to execute the .XML file but it's throwing error as below. I also tried Active Perl and also getting the same error. I ...
Litter asked 10/10, 2013 at 17:8

1

I'm using cpan install XML::LibXML to try to install XML::LibXML parser, but it won't pass. It gives the following errors: cc -c -I/usr/include/libxml2 -fno-common -DPERL_DARWIN -mmacosx-version-m...
Othelia asked 5/7, 2019 at 7:27

2

Solved

On my mac OS X machine Darwin maci 15.6.0 Darwin Kernel Version 15.6.0 I have installed libxml2 and libxslt in following custom directory /usr/local/MyLibs/libxml2-2.9.2 and libxslt /usr/local/MyLi...
Wiskind asked 27/2, 2017 at 11:30

2

Solved

I have an old Xcode project for iOS where I used libxml2.dylib and libresolv.9.dylib. After installing XCode7. I can't find the files and I don't know where to search. Can someone help me?
Md asked 13/9, 2015 at 14:15

2

Solved

I have some XML files where I want to use some information from them. I have written a code that reads those files and then looks for some conditions. The problem is that these XML file begins wit...
Philoprogenitive asked 27/10, 2015 at 14:31

5

Solved

I am new to Perl and I am using ActivePerl. I am getting the following error: Can't locate XML/LibXML.pm in @INC... I have tried everything but cannot find the steps to install the "correct" m...
Turkey asked 7/9, 2009 at 22:18

1

Solved

I use this code to create a new node with the expected output: <item desc="desc foobar"><![CDATA[qux]]></item> the code : open my $fh, "<", $xml_file; binmode $fh; my $par...
Poet asked 27/12, 2014 at 23:52

2

Solved

Given the following XML snippet: <outline> <node1 attribute1="value1" attribute2="value2"> text1 </node1> </outline> How do I get this output? outline node1=text1 nod...
Sharpshooter asked 7/11, 2014 at 7:34

2

Solved

I'm using XML::LibXML to parse an XML document with a namespace. I therefore use XML::LibXML::XPathContext to findnodes using the XPath //u:model. This correctly returns 3 nodes. I now would like ...
Belgae asked 21/8, 2014 at 6:40

3

Solved

Here is a basic XML document example <book_reviewers> <results> <reviewer> <name>Anne</name> <profession>Catfish wrangler</profession> </reviewer&...
Preindicate asked 18/5, 2014 at 9:29

2

Solved

Here's some code I am having problems with, I process some XML and in a method in an OO class I extract an element from each of several nodes that repeat in the document. There should only be one s...
Randirandie asked 14/8, 2012 at 14:53

3

Solved

For the life of me I can't figure out the proper code to access the comment lines in my XML file. Do I use findnodes, find, getElementByTagName (doubt it). Am I even making the correct assumption ...
Nard asked 17/10, 2013 at 16:28

2

I want to replace a "VAL1" value of an element in xml file For some reason it does not work for me: <testing> <application_name>TEST</application_name> <application_id>VA...
Clint asked 7/12, 2011 at 7:16

1

Solved

I am parsing XML files using XML::LibXML. For the following XML entry I get the error: Malformed UTF-8 character (fatal) at C:/Perl64/site/lib/XML/LibXML/Error.pm line 217 which is $context=~...
Logos asked 5/10, 2011 at 3:2

2

Solved

I'm adding nodes to my XML document as part some in-house processing, but cannot get XML::LibXML to auto-indent the added nodes. I get output like the following: Here's what I'm currently getting...
Luzern asked 27/8, 2011 at 14:59

1

Solved

I'm seeing some odd behavior with XML::LibXML. The code below is intended to add <year>2005</year> to both <book> nodes. Is something wrong here? I've tried changing the XPath que...
Pullulate asked 26/8, 2011 at 16:32

1

Solved

I am having trouble understanding / using name spaces with XML::LibXML package in Perl. I can access an element successfully but not an attribute. I have the following code which accesses an XML fi...
Fluky asked 10/1, 2010 at 23:43
1

© 2022 - 2024 — McMap. All rights reserved.