Sponsored Content
Top Forums UNIX for Dummies Questions & Answers XML Translator to run in UNIX Post 78871 by Antsy on Friday 22nd of July 2005 07:06:40 PM
Old 07-22-2005
XML Parser to run in UNIX

Sorry for the vagueness.
We're looking for a parser that could:
1. Translate XML to flat file and vice-versa
2. Translate XML to an EDI file and vice versa
3. Validate the XML against a schema
4. Support XSDs

Thanks!
-Antsy
 

9 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Unixersal Translator Chart

Something to notice about Unix that we are using. Have anyone noticed this before. Its related to comparisons on diffent *nix 's Translator. Every *nix has its own advantages, ideal also pro's and con's. A must see for every Unix Enthusiasts & Begginers. http://bhami.com/rosetta.html (4 Replies)
Discussion started by: killerserv
4 Replies

2. UNIX for Dummies Questions & Answers

DOS to Unix translator

I know nothing of unix and didn't know where to start. I've heard of a DOS to Unix translator, and since I know DOS pretty well, I thought that this program would be perfect. Any help you could give me would be appreciated. Bryan (1 Reply)
Discussion started by: bferguson
1 Replies

3. Shell Programming and Scripting

script to run shell command and insert results to existing xml file

Hi. Thanks for any help with this. I'm not new to programming but I am new to shell programming. I need a script that will 1. execute 'df -k' and return the volume names with specific text 2. surround each line of the above results in opening and closing xml tags 3. insert the results of step... (5 Replies)
Discussion started by: littlejon
5 Replies

4. UNIX for Advanced & Expert Users

Possible GUI to Command-Line Interface Translator?

I was chatting with my teacher on how this could be a great tool for admins who are making the switch from GUI to CLI administration. I'm wondering, does this kind of tool exist? (4 Replies)
Discussion started by: Daemon-Killer
4 Replies

5. UNIX for Dummies Questions & Answers

unix language translator

Does there exist a unix program which takes as input a word (say in french) and returns its translation into another language (say english)? Alternative questions: 1) Where is an appropriate place to post such a question? 2) Where is a good place to find interesting unix programs? (2 Replies)
Discussion started by: dmbster
2 Replies

6. Shell Programming and Scripting

shell translator

hello, this is my first time here so i´m not sure if i´m posting in the rigth place. i very bad on programming but i´ve a to submit a shell code in high school. i need a shell script that translate words (english-portuguese and portuguese-english) using the comand wget and google translator. ... (1 Reply)
Discussion started by: cajuzinho
1 Replies

7. Shell Programming and Scripting

Permission bit translator - octal to textual and vice versa

Hi, Does anyone know of any permission bit "translator"? One that can translate the permission bit from its textual value to its octal value and vice versa. It is alright if it is always just rwx but on a lot of occasions nowadays, getting a lots of s, S, t, etc. -rwxrwxrwx 1 oracle dba... (4 Replies)
Discussion started by: newbie_01
4 Replies

8. UNIX for Advanced & Expert Users

Using xml to run db2 commands

Hi, Strange problem I'm having here and not sure what to do. I have here a xml that is supposed to execute the next value in the schema but it isn't do the job it's supposed to do. I'm not a dba or a developer so I'm sorry in advance if there are some things i don't understand. when we run... (5 Replies)
Discussion started by: techy1
5 Replies

9. Shell Programming and Scripting

Read xml file till script finds separation and run again for next input and so on

Hi All, I have one query, I managed to run script with user inputs through command line or with 1 file. But I need to read a txt file/xml file in which user can mention multiple sets of answers and script should run for each set till it reach the EOF. Thanks in advance for example, the file... (3 Replies)
Discussion started by: rv_champ
3 Replies
XML::LibXML::RelaxNG(3) 				User Contributed Perl Documentation				   XML::LibXML::RelaxNG(3)

NAME
XML::LibXML::RelaxNG - RelaxNG Schema Validation SYNOPSIS
use XML::LibXML; $doc = XML::LibXML->new->parse_file($url); $rngschema = XML::LibXML::RelaxNG->new( location => $filename_or_url ); $rngschema = XML::LibXML::RelaxNG->new( string => $xmlschemastring ); $rngschema = XML::LibXML::RelaxNG->new( DOM => $doc ); eval { $rngschema->validate( $doc ); }; DESCRIPTION
The XML::LibXML::RelaxNG class is a tiny frontend to libxml2's RelaxNG implementation. Currently it supports only schema parsing and document validation. METHODS
new $rngschema = XML::LibXML::RelaxNG->new( location => $filename_or_url ); $rngschema = XML::LibXML::RelaxNG->new( string => $xmlschemastring ); $rngschema = XML::LibXML::RelaxNG->new( DOM => $doc ); The constructor of XML::LibXML::RelaxNG may get called with either one of three parameters. The parameter tells the class from which source it should generate a validation schema. It is important, that each schema only have a single source. The location parameter allows to parse a schema from the filesystem or a URL. The string parameter will parse the schema from the given XML string. The DOM parameter allows to parse the schema from a pre-parsed XML::LibXML::Document. Note that the constructor will die() if the schema does not meed the constraints of the RelaxNG specification. validate eval { $rngschema->validate( $doc ); }; This function allows to validate a (parsed) document against the given RelaxNG schema. The argument of this function should be an XML::LibXML::Document object. If this function succeeds, it will return 0, otherwise it will die() and report the errors found. Because of this validate() should be always evaluated. AUTHORS
Matt Sergeant, Christian Glahn, Petr Pajas VERSION
2.0008 COPYRIGHT
2001-2007, AxKit.com Ltd. 2002-2006, Christian Glahn. 2006-2009, Petr Pajas. perl v5.16.2 2012-10-22 XML::LibXML::RelaxNG(3)
All times are GMT -4. The time now is 04:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy