Sponsored Content
Full Discussion: XML in unix
Operating Systems Linux XML in unix Post 302146964 by infyanurag on Friday 23rd of November 2007 06:27:02 AM
Old 11-23-2007
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
SOAP::WSDL::XSD::Typelib::Builtin(3pm)			User Contributed Perl Documentation		    SOAP::WSDL::XSD::Typelib::Builtin(3pm)

NAME
SOAP::WSDL::XSD::Typelib::Builtin - Built-in XML Schema datatypes DESCRIPTION
The SOAP::WSDL::XSD::Typelib::Builtin hierarchy implements all builtin types from the XML schema specification. All XML schema derived types inherit from SOAP::WSDL::XSD::Typelib::Builtin::anyType. These basic type classes are most useful when used as element or simpleType base classes. Using SOAP::WSDL::XSD::Typelib::Builtin uses all of the builtin datatype classes. All builtin types feature common behaviour described below in "OVERLOADED OPERATORS" EXAMPLES
my $bool = SOAP::WSDL::XSD::Typelib::Builtin::bool->new({ value => 0} ); print $bool; # prints "true" # implements <simpleType name="MySimpleType"> # <list itemType="xsd:string" /> # </simpleType> package MySimpleType; use SOAP::WSDL::XSD::Typelib::Builtin; use SOAP::WSDL::XSD::Typelib::SimpleType; use base qw(SOAP::WSDL::XSD::Typelib::SimpleType SOAP::WSDL::XSD::Typelib::Builtin::list SOAP::WSDL::XSD::Typelib::Builtin::string ); 1; # somewhere else my $list = MySimpleType->new({ value => [ 'You', 'shall', 'overcome' ] }); print $list; # prints "You shall overcome" CLASS HIERARCHY
This is the inheritance graph for builtin types. Types with [] marker describe types derived via the item in [] in the XML Schema specs. Derivation is implemented via multiple inheritance with the derivation method as first item in the base class list. anyType - anySimpleType - duration - dateTime - date - time - gYearMonth - gYear - gMonthDay - gDay - gMonth - boolean - base64Binary - hexBinary - float - decimal - integer - nonPositiveInteger - negativeInteger - nonNegativeInteger - positiveInteger - unsignedLong - unsignedInt - unsignedShort - unsignedByte - long - int - short - byte - double - anyURI - NOTATION - string - normalizedString - language - Name - NCName - ID - IDREF - IDREFS [list] - ENTITY - token - NMTOKEN - NMTOKENS [list] OVERLOADED OPERATORS
Overloading is implemented via Class::Std's trait mechanism. The following behaviours apply: o string context All classes use the "serialize" method for stringification. o bool context All classes derived from anySimpleType return their value in bool context o numeric context The boolean class returns 0 or 1 in numeric context. decimal, float and double (and derived classes) return their value in numeric context. o arrayification (@{}) When accessed as a list ref, objects of all classes return a list ref with the object itself as single element. This is most useful for writing loops without additional conversions, especially in mini-languages found in templating systems or the like, which may not natively support converting to list refs. Instead of writing something like my $value = $complexType->get_ELEMENT; $value = ref $value eq 'ARRAY' ? $value : [ $value ]; for (@{ $value }) { ... } you can just write for (@{ $complexType->get_ELEMENT }) {...} Note that complexTypes with undef elements still return undef when accessing an undefined element, so when an element may be empty you still have to write something like: my $value = $complexType->get_ELEMENT(); if (defined $value) { for (@{ $value }) { ... } } Subclasses SOAP::WSDL::XSD::Typelib::Builtin::anyType Base class for all types SOAP::WSDL::XSD::Typelib::Builtin::anySimpleType Base class for all simple types SOAP::WSDL::XSD::Typelib::Builtin::anyURI Type representing URIs SOAP::WSDL::XSD::Typelib::Builtin::boolean Represents boolean data. Serializes to "true" or "false". Everything true in perl and not "false" is deserialized as true. Returns true/false in boolean context. Returns 1 / 0 in numeric context. boolean objects have a special method for deleting their value, because calling "setl_value(undef)" results in the value being set to false. $obj->delete_value(); SOAP::WSDL::XSD::Typelib::Builtin::byte byte integer objects. SOAP::WSDL::XSD::Typelib::Builtin::date date values are automatically converted into XML date strings during setting: YYYY-MM-DD+zz:zz The time zone is set to the local time zone if not included. All input variants supported by Date::Parse are supported. You may even pass in dateTime strings - the time part will be ignored. Note that set_value is around 100 times slower when setting non-XML-time strings When setting dates before the beginning of the epoch (negative UNIX timestamp), you should use the XML date string format for setting dates. The behaviour of Date::Parse for dates before the epoch is system dependent. SOAP::WSDL::XSD::Typelib::Builtin::dateTime dateTime values are automatically converted into XML dateTime strings during setting: YYYY-MM-DDThh:mm:ss.nnnnnnn+zz:zz The fraction of seconds (nnnnnnn) part is optional. Fractions of seconds may be given with arbitrary precision The fraction of seconds part is excluded in converted values, as it would always be 0. All input variants supported by Date::Parse are supported. Note that set_value is around 100 times slower when setting non-XML-time strings SOAP::WSDL::XSD::Typelib::Builtin::decimal decimal is the base of all non-float numbers SOAP::WSDL::XSD::Typelib::Builtin::double SOAP::WSDL::XSD::Typelib::Builtin::duration SOAP::WSDL::XSD::Typelib::Builtin::ENTITY SOAP::WSDL::XSD::Typelib::Builtin::float SOAP::WSDL::XSD::Typelib::Builtin::gDay SOAP::WSDL::XSD::Typelib::Builtin::gMonth SOAP::WSDL::XSD::Typelib::Builtin::gMonthDay SOAP::WSDL::XSD::Typelib::Builtin::gYear SOAP::WSDL::XSD::Typelib::Builtin::gYearMonth SOAP::WSDL::XSD::Typelib::Builtin::hexBinary SOAP::WSDL::XSD::Typelib::Builtin::ID SOAP::WSDL::XSD::Typelib::Builtin::IDREF SOAP::WSDL::XSD::Typelib::Builtin::IDREFS List of SOAP::WSDL::XSD::Typelib::Builtin::IDREF objects. Derived by SOAP::WSDL::XSD::Typelib::Builtin::list. SOAP::WSDL::XSD::Typelib::Builtin::int SOAP::WSDL::XSD::Typelib::Builtin::integer SOAP::WSDL::XSD::Typelib::Builtin::language SOAP::WSDL::XSD::Typelib::Builtin::list SOAP::WSDL::XSD::Typelib::Builtin::long SOAP::WSDL::XSD::Typelib::Builtin::Name SOAP::WSDL::XSD::Typelib::Builtin::NCName SOAP::WSDL::XSD::Typelib::Builtin::negativeInteger SOAP::WSDL::XSD::Typelib::Builtin::nonNegativeInteger SOAP::WSDL::XSD::Typelib::Builtin::nonPositiveInteger SOAP::WSDL::XSD::Typelib::Builtin::normalizedString Tab, newline and carriage return characters are replaced by whitespace in set_value. SOAP::WSDL::XSD::Typelib::Builtin::NOTATION SOAP::WSDL::XSD::Typelib::Builtin::positiveInteger SOAP::WSDL::XSD::Typelib::Builtin::QName SOAP::WSDL::XSD::Typelib::Builtin::short SOAP::WSDL::XSD::Typelib::Builtin::string String values are XML-escaped on serialization. The following characters are escaped: <, >, & SOAP::WSDL::XSD::Typelib::Builtin::time time values are automatically converted into XML time strings during setting: hh:mm:ss.nnnnnnn+zz:zz hh:mm:ss+zz:zz The time zone is set to the local time zone if not included. The optional nanoseconds part is not included in converted values, as it would always be 0. All input variants supported by Date::Parse are supported. You may even pass in dateTime strings - the date part will be ignored. Note that set_value is around 100 times slower when setting non-XML-time strings. SOAP::WSDL::XSD::Typelib::Builtin::token SOAP::WSDL::XSD::Typelib::Builtin::unsignedByte SOAP::WSDL::XSD::Typelib::Builtin::unsignedInt SOAP::WSDL::XSD::Typelib::Builtin::unsignedLong SOAP::WSDL::XSD::Typelib::Builtin::unsignedShort CAVEATS
o set_value In contrast to Class::Std-generated mutators (setters), set_value does not return the last value. This is for speed reasons: SOAP::WSDL never needs to know the last value when calling set_calue, but calls it over and over again... BUGS AND LIMITATIONS
o Thread safety SOAP::WSDL::XSD::Typelib::Builtin uses Class::Std::Fast::Storable which uses Class::Std. Class::Std is not thread safe, so SOAP::WSDL::XSD::Typelib::Builtin is neither. o XML Schema facets No facets are implemented yet. AUTHOR
Replace whitespace by @ in e-mail address. Martin Kutter E<gt>martin.kutter fen-net.deE<lt> LICENSE AND COPYRIGHT
Copyright 2004-2007 Martin Kutter. This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself perl v5.10.1 2010-12-21 SOAP::WSDL::XSD::Typelib::Builtin(3pm)
All times are GMT -4. The time now is 05:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy