XML in unix


 
Thread Tools Search this Thread
Operating Systems Linux XML in unix
# 8  
Old 11-23-2007
Quote:
Originally Posted by infyanurag
Hi

If the version of unix does not have the --schema arguement, do we have any default location on unix from where it will pick the XSD file.
could you please post the output of

Code:
xmllint --version

?
# 9  
Old 11-23-2007
xmllint

hi
i got this

xmllint: using libxml version 20616
compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer XInclude Iconv Unicode Regexps Automata Schemas
# 10  
Old 11-23-2007
Quote:
Originally Posted by matrixmadhan
could you please post the output of

Code:
xmllint --version

?
this in case of other server

xmllint: using libxml version 20504
compiled with: FTP HTTP HTML C14N Catalog DocBook XPath XPointer XInclude Iconv Unicode Regexps Automata Schemas
# 11  
Old 11-23-2007
xmllint

in case of old server i got this:-

xmllint: using libxml version 20504
compiled with: FTP HTTP HTML C14N Catalog DocBook XPath XPointer XInclude Iconv Unicode Regexps Automata Schemas
# 12  
Old 11-23-2007
to check for xml's validation against xsd's

version should be

xmllint: using libxml version 20616

then only it would work !
# 13  
Old 11-23-2007
xmllint

hi

if we do not have this version then by any means can we validate the xml using xsd.
if yes then please let me know immediately

thanks for ur outputs.
# 14  
Old 11-23-2007
Quote:
Originally Posted by infyanurag
hi

if we do not have this version then by any means can we validate the xml using xsd.
if yes then please let me know immediately

thanks for ur outputs.
As far as my knowledge you won't be able to validate against XSD's

that is the reason why 2.06.26 are available

with the previous version you would be able to validate only DTD's and not the schemas
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Generating xml file from UNIX

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

2. UNIX for Advanced & Expert Users

XML parsing by UNIX

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)
Discussion started by: arindam guha
25 Replies

3. Shell Programming and Scripting

passing an unix variable to an XML

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)
Discussion started by: samk
1 Replies

4. Shell Programming and Scripting

XML and UNix ???

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)
Discussion started by: ad23
2 Replies

5. Programming

xml and c programming for unix

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)
Discussion started by: loquito
3 Replies

6. Shell Programming and Scripting

Converter XML to PDF in Unix

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)
Discussion started by: andrea.giovanno
3 Replies

7. UNIX for Dummies Questions & Answers

XML Translator to run in UNIX

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)
Discussion started by: Antsy
4 Replies

8. UNIX for Dummies Questions & Answers

XML and Unix

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)
Discussion started by: sehgalniraj
3 Replies

9. UNIX for Advanced & Expert Users

XML parsers for UNIX

Hi, I'm looking for XML parsers for UNIX! Thanks in advance Tim (1 Reply)
Discussion started by: timvant
1 Replies

10. UNIX for Advanced & Expert Users

XML to flat file in Unix

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)
Discussion started by: oscarr
2 Replies
Login or Register to Ask a Question