Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support Need an efficient XML writer for Perl Post 302710619 by rdrtx1 on Thursday 4th of October 2012 03:22:52 PM
Old 10-04-2012
Code:
use XML::Parser;

See perl CPAN for tutorials, examples, etc.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to parse a XML file using PERL and XML::DOm

I need to know the way. I have got parsing down some nodes. But I was unable to get the child node perfectly. If you have code please send it. It will be very useful for me. (0 Replies)
Discussion started by: girigopal
0 Replies

2. Shell Programming and Scripting

Perl XML:Parser help

I am very new to XML. Really I have an excel file that I am trying to read w/ Perl on a Linux machine. I don't have a mod for reading excel files so I have to convert the excel file to xml to be able to read it. I can read the file and everything is ok except...the Number style is being dropped... (0 Replies)
Discussion started by: vincaStar
0 Replies

3. Shell Programming and Scripting

Perl & XML... Need help.

In the case that there are two cells under one row, I can only read the first cell. If anyone thinks they know how to deal with this please let me know. XML code: <Row> <Cell><Data ss:Type="String">Loved</Data></Cell> <Cell ss:Index="3"><Data ss:Type="Number">3.0</Data></Cell> ... (1 Reply)
Discussion started by: vincaStar
1 Replies

4. Shell Programming and Scripting

Perl + xml

Hi there, I have need create and read (Handle) XML in perl, a lib with oop support. are you can present suitable library for this? Thanks in advance. (1 Reply)
Discussion started by: Zaxon
1 Replies

5. Programming

XML Handling in Perl

Hi there, I'm newby in perl and XML. I can read and parse Xml with XML-Node upper XML::Parser, but how can I create XML tags and pack my individual data in it then send through socket. PLZ lead me :) Thanks in Advance. (1 Reply)
Discussion started by: Zaxon
1 Replies

6. Shell Programming and Scripting

XML Handler in perl

Hi there, I'm newby in perl and XML. I can read and parse Xml with XML-Node upper XML::Parser, but how can I create XML tags and pack my individual data in it then send through socket. PLZ lead me :) Meanwhile what is your opinion about XML Writer library? Thanks in Advance. (2 Replies)
Discussion started by: Zaxon
2 Replies

7. Shell Programming and Scripting

How to get all the xml tags in perl?

Hi, I have 2 questions: a) Does getElementsByTagName in xml takes more time? b) If it takes more time what are the other alternatives used to get the tag names? For example: <Student> <Studname>aaa</Studname> <Studno>123</Studno> </Student> This is just a sample data. The file... (2 Replies)
Discussion started by: vanitham
2 Replies

8. Shell Programming and Scripting

Need an efficient way to search for a tag in an xml file having millions of rows

Hi, I have an XML file with around 1 billion rows in it and i am trying to find the number of times a particular tag occurs in it. The solution i am using works but takes a lot of time (~1 hr) .Please help me with an efficient way to do this. Lets say the input file is <Root> ... (13 Replies)
Discussion started by: Sheel
13 Replies

9. Programming

Perl and XML Parsers

Hi, Am pretty new for perl scripting and confused how to use XML Parser.. I just want to know how to use perl and XML parser.. The scenario is when i execute a command, it will generate a XML file.. From that XML file generated i need to grep for specific term that has HTML TAG say... (2 Replies)
Discussion started by: Priya Amaresh
2 Replies

10. Shell Programming and Scripting

Splitting xml file into several xml files using perl

Hi Everyone, I'm new here and I was checking this old post: /shell-programming-and-scripting/180669-splitting-file-into-several-smaller-files-using-perl.html (cannot paste link because of lack of points) I need to do something like this but understand very little of perl. I also check... (4 Replies)
Discussion started by: mcosta
4 Replies
Pod::WSDL::Method(3pm)					User Contributed Perl Documentation				    Pod::WSDL::Method(3pm)

NAME
Pod::WSDL::Method - Represents a method in Pod::WSDL (internal use only) SYNOPSIS
use Pod::WSDL::Method; my $m = new Pod::WSDL::Method(name => 'mySub', writer => 'myWriter', doc => new Pod::WSDL::Doc($docStr), return => new Pod::WSDL::Return($retStr)); DESCRIPTION
This module is used internally by Pod::WSDL. It is unlikely that you have to interact directly with it. If that is the case, take a look at the code, it is rather simple. METHODS
new Instantiates a new Pod::WSDL::Method. Parameters o name - name of the method, mandatory o doc - a Pod::WSDL::Doc object, can be ommitted, use method doc later o return - a Pod::WSDL::Return object, can be ommitted, use method return later o params - ref to array of Pod::WSDL::Param objects, can be ommitted, use addParam() later o faults - ref to array of Pod::WSDL::Fault objects, can be ommitted, use addFault() later o oneway - if true, method is a one way operation o writer - XML::Writer-Object for output, mandatory addParam Add a Pod::WSDL::Param object to Pod::WSDL::Method addFault Add a Pod::WSDL::Fault object to Pod::WSDL::Method return Get or Set the Pod::WSDL::Return object for Pod::WSDL::Method doc Get or Set the Pod::WSDL::Doc object for Pod::WSDL::Method requestName Get name for request in XML output responseName Get name for response in XML output writeBindingOperation Write operation child for binding element in XML output writeMessages Write message elements in XML output writePortTypeOperation Write operation child for porttype element in XML output EXTERNAL DEPENDENCIES
[none] EXAMPLES
see Pod::WSDL BUGS
see Pod::WSDL TODO
see Pod::WSDL SEE ALSO
Pod::WSDL :-) AUTHOR
Tarek Ahmed, <bloerch -the character every email address contains- oelbsk.org> COPYRIGHT AND LICENSE
Copyright (C) 2006 by Tarek Ahmed This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available. perl v5.10.1 2010-12-18 Pod::WSDL::Method(3pm)
All times are GMT -4. The time now is 11:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy