Sponsored Content
Full Discussion: how to gen XML?
Top Forums Shell Programming and Scripting how to gen XML? Post 302308651 by devtakh on Monday 20th of April 2009 12:02:08 AM
Old 04-20-2009
I am sure you would be having a file from which u want to generate the xml.
u need to understand the file, use unix commands like sed, etc and generate the xml. u might probably want to share the file if u have it.


cheers,
Devaraj Takhellambam
 

2 More Discussions You Might Find Interesting

1. Programming

Problem with csv file gen from C++

Hi Frnds, I have a problem with csv file gen. Here is the description: My code genereates a csv file as output in which a particular column("OUTPUT NUMBER")contains a string value fetched from db. Now the problem is when i open this csv file the OUTPUT NUMBER column misses the zero("0")... (10 Replies)
Discussion started by: electroon
10 Replies

2. What is on Your Mind?

New-gen gaming consoles

I've been thinking of buying a gaming console. I've narrowed down to two options and of course they are Sony PS3 and XBOX 360. Both have equally good reviews. Most games are released for both PS3 as well as XBOX. I did search the forums for a similar thread and found this. The highest number of... (8 Replies)
Discussion started by: balajesuri
8 Replies
GraphViz::XML(3pm)					User Contributed Perl Documentation					GraphViz::XML(3pm)

NAME
GraphViz::XML - Visualise XML as a tree SYNOPSIS
use GraphViz::XML; my $graph = GraphViz::XML->new($xml); print $g->as_png; DESCRIPTION
This module makes it easy to visualise XML as a tree. XML is hard for humans to grasp, especially if the XML is computer-generated. This modules aims to visualise the XML as a graph in order to make the structure of the XML clear and to aid in understanding the XML. XML elements are represented as diamond nodes, with links to elements within them. Character data is represented in round nodes. Note that the XML::Twig module should be installed. METHODS
new This is the constructor. It takes one mandatory argument, which is the XML to be visualised. A GraphViz object is returned. my $graph = GraphViz::XML->new($xml); as_* The XML can be visualised in a number of different graphical formats. Methods include as_ps, as_hpgl, as_pcl, as_mif, as_pic, as_gd, as_gd2, as_gif, as_jpeg, as_png, as_wbmp, as_ismap, as_imap, as_vrml, as_vtx, as_mp, as_fig, as_svg. See the GraphViz documentation for more information. The two most common methods are: # Print out a PNG-format file print $g->as_png; # Print out a PostScript-format file print $g->as_ps; BUGS
GraphViz tends to reorder the nodes. I hope to find a work around soon (possibly with ports). AUTHOR
Leon Brocard <acme@astray.com> COPYRIGHT
Copyright (C) 2001, Leon Brocard This module is free software; you can redistribute it or modify it under the same terms as Perl itself. perl v5.14.2 2012-04-02 GraphViz::XML(3pm)
All times are GMT -4. The time now is 02:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy