Hello,
How can I take a file in XML format and convert it to a comma separated format? Is there any scripts or programs that can
do this for Unix? I tried surfing the net for such an application, but everything seems to be for Windows OS. Any help or suggestions are greatly appreciated.
... (2 Replies)
i wanted to add a child element child2 into a below xml .
<parent1>
<child1></child1>
</parent1>
like
<parent1>
<child1></child1>
<child2></child2>
</parent1>
What is the best way to do this using unix commands.
I donot want to create a temp file....
cat original |... (3 Replies)
Hello, newbie (non-techie) here.
I'm a business analyst for a software company in the Bay Area. A
project I just got assigned to involved researching for an enterprise
version of a XML translator that will run on UNIX. I'm looking for
something that won't be too costly to purchase as the... (4 Replies)
Does anyone know of a lightweight freeware utility that will do the following?:
1) Input an XML file and XLS file
2) Do a transform
3) Then output a pdf file
for Unix Platform.
Thanks
Andrea (3 Replies)
Does anyone can tell me what is the best way to post a xml request to a web service on C. I am using expat for parsing the response, but until now i build my xml request with a bunch of strcat functions, then connect to the port and send it that way. I am wondering if there are libraries or a... (3 Replies)
Hello Everyone!!!
I have a list of XML files, in different directories, the structure for which is:
<Data>
<Info>
<a> some text </a>
<b> some text </b>
<c> 3000 </c>
</Info>
<Info>
... (2 Replies)
I need help
I have a unix command :
VERSION=$(ls -d /vsn/v12.??.??.?? | sort | tail -1)
when i do echo $VERSION, i get the exact value, i want.
Now i want to use this variable and pass it to an xml. How can i do that? (1 Reply)
Hi,
I am new in shell scripting. i want to extract tag values in xml files by using shell script. my files like this:
<cw: properties>
<cw:std_properties>
<tns: properties>
<tns:name>AdminOutQueue</tns:name>
<tns:type>String</tns:type>
<tns:subtype>QueueName</tns:subtype>
<tns:value... (25 Replies)
i have a unix script which generates the csv file. the data in csv file is dynamic. how can i convert/move the data from csv file to xml. please suggest (1 Reply)
Discussion started by: archana25
1 Replies
LEARN ABOUT PHP
xml_parser_set_option
XML_PARSER_SET_OPTION(3) 1 XML_PARSER_SET_OPTION(3)xml_parser_set_option - Set options in an XML parserSYNOPSIS
bool xml_parser_set_option (resource $parser, int $option, mixed $value)
DESCRIPTION
Sets an option in an XML parser.
PARAMETERS
o $parser
- A reference to the XML parser to set an option in.
o $option
- Which option to set. See below. The following options are available:
XML parser options
+---------------------------+--------------------------------------+---+
| Option constant | | |
| | | |
| | Data type | |
| | | |
| | Description | |
| | | |
+---------------------------+--------------------------------------+---+
| | | |
| XML_OPTION_CASE_FOLDING | | |
| | | |
| | integer | |
| | | |
| | Controls whether case-folding is | |
| | enabled for this XML parser. Enabled | |
| | by default. | |
| | | |
| | | |
| XML_OPTION_SKIP_TAGSTART | | |
| | | |
| | integer | |
| | | |
| | Specify how many characters should | |
| | be skipped in the beginning of a tag | |
| | name. | |
| | | |
| | | |
| XML_OPTION_SKIP_WHITE | | |
| | | |
| | integer | |
| | | |
| | Whether to skip values consisting | |
| | of whitespace characters. | |
| | | |
| | | |
|XML_OPTION_TARGET_ENCODING | | |
| | | |
| | string | |
| | | |
| | Sets which target encoding to use | |
| | in this XML parser.By default, it is | |
| | set to the same as the source encod- | |
| | ing used by xml_parser_create(3). | |
| | Supported target encodings are | |
| | ISO-8859-1, US-ASCII and UTF-8. | |
| | | |
+---------------------------+--------------------------------------+---+
o $value
- The option's new value.
RETURN VALUES
This function returns FALSE if $parser does not refer to a valid parser, or if the option could not be set. Else the option is set and
TRUE is returned.
PHP Documentation Group XML_PARSER_SET_OPTION(3)