Re: [U2] [UV] XML Parser
You still need to be careful, we use the udt xml processing extensively in a couple of my companies, both on redhat. We have had issues, esp with utf-8 encoding and large files. However since udt just uses the available redhat libxml library, many other tools are also faulty as they also use that library. Hopefully your pearl/python comes with a new rebuild xml library. From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Perry Taylor Sent: 24 February 2011 13:23 To: U2 Users List Subject: Re: [U2] [UV] XML Parser Thanks to everyone who offered their suggestions. The xpath command-line executable which ships with the perl XML::XPath package looks promising for my needs. Perry -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Perry Taylor Sent: Wednesday, February 23, 2011 6:50 AM To: U2 Users List Subject: [U2] [UV] XML Parser Can someone recommend an XML parser to run on RHEL? I'm tired of fighting trying to get the XML support in BASIC to work. Any suggestions? Thanks. Perry Taylor Zirmed, Inc. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _ No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1204 / Virus Database: 1435/3466 - Release Date: 02/24/11 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] XML Parser
Thanks to everyone who offered their suggestions. The xpath command-line executable which ships with the perl XML::XPath package looks promising for my needs. Perry -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Perry Taylor Sent: Wednesday, February 23, 2011 6:50 AM To: U2 Users List Subject: [U2] [UV] XML Parser Can someone recommend an XML parser to run on RHEL? I'm tired of fighting trying to get the XML support in BASIC to work. Any suggestions? Thanks. Perry Taylor Zirmed, Inc. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] [UV] XML Parser
Can someone recommend an XML parser to run on RHEL? I'm tired of fighting trying to get the XML support in BASIC to work. Any suggestions? Thanks. Perry Taylor Zirmed, Inc. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] XML Parser
There is always the XML parsing module for PERL, that will take an XML file and parse it into an array type structure. It's fairly quick, and any perl programs would pretty much run under windows or *nix since the modules are available for both platforms. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Perry Taylor Sent: Wednesday, February 23, 2011 8:50 AM To: U2 Users List Subject: [U2] [UV] XML Parser Can someone recommend an XML parser to run on RHEL? I'm tired of fighting trying to get the XML support in BASIC to work. Any suggestions? Thanks. Perry Taylor Zirmed, Inc. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] XML Parser
Hi, For big interchange, we use Altova MapForce, - you build xml mapping from/to other structure in wyswyg, - MapForce build a java jar Library you can deliver as free runtime executable . - you start java ... from uv -- the source can be a sql source, a text file, ... -- the result can be text, sql, ... other format Else, more programatically, we build function with python called from uv. Under UV, we store the complete xml CLOB, the use a xpath query to read a value. (detail available off list) I hope this help. Manu -Message d'origine- De : u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] De la part de Perry Taylor Envoyé : mercredi 23 février 2011 14:50 À : U2 Users List Objet : [U2] [UV] XML Parser Can someone recommend an XML parser to run on RHEL? I'm tired of fighting trying to get the XML support in BASIC to work. Any suggestions? Thanks. Perry Taylor Zirmed, Inc. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] XML Parser
On 2/23/2011 8:49 AM, Perry Taylor wrote: Can someone recommend an XML parser to run on RHEL? I'm tired of fighting trying to get the XML support in BASIC to work. Any suggestions? Thanks. Perry Taylor Zirmed, Inc. CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. ZirMed, Inc. has strict policies regarding the content of e-mail communications, specifically Protected Health Information, any communications containing such material will be returned to the originating party with such advisement noted. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users I like the lxml python module. I use it frequently. http://lxml.de/ If the rhel python packages are still ~2.4, you can use the EPEL repo to get pytyhon 2.6 alongside of 2.4. http://fedoraproject.org/wiki/EPEL I also have xml starlet installed, which may be faster (but not as flexible.) http://xmlstar.sourceforge.net/docs.php ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] XML Parser
Is python 2.6 needed? I did the easy_install lxml , and it didn't give any install errors, and did install the latest lxml 2.3 My RHEL is runining python 2.4.3 I haven't done much with python, but might consider playing with it, as I have some XML project in mind. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Steve Romanow Sent: Wednesday, February 23, 2011 10:07 AM To: U2 Users List Subject: Re: [U2] [UV] XML Parser I like the lxml python module. I use it frequently. http://lxml.de/ If the rhel python packages are still ~2.4, you can use the EPEL repo to get pytyhon 2.6 alongside of 2.4. http://fedoraproject.org/wiki/EPEL I also have xml starlet installed, which may be faster (but not as flexible.) http://xmlstar.sourceforge.net/docs.php ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] XML Parser
On 2/23/2011 10:30 AM, George Gallen wrote: Is python 2.6 needed? I did the easy_install lxml , and it didn't give any install errors, and did install the latest lxml 2.3 My RHEL is runining python 2.4.3 I haven't done much with python, but might consider playing with it, as I have some XML project in mind. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Steve Romanow Sent: Wednesday, February 23, 2011 10:07 AM To: U2 Users List Subject: Re: [U2] [UV] XML Parser I like the lxml python module. I use it frequently. http://lxml.de/ If the rhel python packages are still ~2.4, you can use the EPEL repo to get pytyhon 2.6 alongside of 2.4. http://fedoraproject.org/wiki/EPEL I also have xml starlet installed, which may be faster (but not as flexible.) http://xmlstar.sourceforge.net/docs.php ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users It may not be, but I do quite a bit with python so I am addicted to new. I am eagerly trying to get 2.7.1 rpms for aix. 2.6+ has a LOT of great new things (with statement, argparse, umm) 2.4 is just too old for my use. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] XML Parser
On 2/23/2011 10:30 AM, George Gallen wrote: Is python 2.6 needed? I did the easy_install lxml , and it didn't give any install errors, and did install the latest lxml 2.3 My RHEL is runining python 2.4.3 I haven't done much with python, but might consider playing with it, as I have some XML project in mind. George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Steve Romanow Sent: Wednesday, February 23, 2011 10:07 AM To: U2 Users List Subject: Re: [U2] [UV] XML Parser I like the lxml python module. I use it frequently. http://lxml.de/ If the rhel python packages are still ~2.4, you can use the EPEL repo to get pytyhon 2.6 alongside of 2.4. http://fedoraproject.org/wiki/EPEL I also have xml starlet installed, which may be faster (but not as flexible.) http://xmlstar.sourceforge.net/docs.php ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users Not a parser, but a streaming generator, check out ElementFlow. It is really nice. I just wish I could figure a way to use this from U2. The XML DOM stuff in 6.1 is infuriating with memory leaks. http://pypi.python.org/pypi/elementflow ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [UV] XML Parser
From: Perry Taylor Can someone recommend an XML parser to run on RHEL? I'm tired of fighting trying to get the XML support in BASIC to work. Any suggestions? I recommend you look in the open market (FOSS/commercial) for software that satisfies your business and technical requirements. You can interface anything to your UV system. So asking for ideas in a U2-specific forum is a nice gesture but it unnecessarily restricts responses to a small pool of possible respondents. For example, in addition to other recommendations posted so far, I suggest you take a look at the XML handling in Mono and Java, where your code is portable across many OS's, and maintainable by some millions of people in the open market: http://www.mono-project.com/Using_XML http://download.oracle.com/javase/6/docs/technotes/guides/xml/in dex.html I've blogged on my approach to this kind of thing: nospamNebula-RnD.com/blog/tech/mv/2009/08/mv-to-anything.html (Copy everything after nospam) HTH T Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET worldwide and provides related development services remove.pleaseNebula-RnD.com/blog Visit PickWiki.com! Contribute! http://Twitter.com/TonyGravagno ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users