Re: [U2] Extracting XML attributes

2012-01-12 Thread Bobby Worley
. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bobby Worley Sent: Wednesday, November 16, 2011 7:34 AM To: U2 Users List Subject: Re: [U2] Extracting XML attributes Turns out it is a memory issue. My XML file is 16Mb

Re: [U2] Extracting XML attributes

2012-01-12 Thread Joshua Gallant
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bobby Worley Sent: Wednesday, November 16, 2011 7:34 AM To: U2 Users List Subject: Re: [U2] Extracting XML attributes Turns out it is a memory issue. My XML file is 16Mb. Setting ulimit -d 75 resolved the issue. -Original Message

Re: [U2] Extracting XML attributes

2012-01-12 Thread Bobby Worley
...@listserver.u2ug.org] On Behalf Of Joshua Gallant Sent: Thursday, January 12, 2012 10:30 AM To: U2 Users List Subject: Re: [U2] Extracting XML attributes When working with large XML files in the past I've always run into issues like this but I use a combination of xmapopen, xmapreadnext, and xmapclose. I

Re: [U2] Extracting XML attributes

2012-01-12 Thread Symeon Breen
) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bobby Worley Sent: 12 January 2012 16:10 To: U2 Users List Subject: Re: [U2] Extracting XML attributes Does anybody have an experience reading in very large XML files

Re: [U2] Extracting XML attributes

2012-01-12 Thread Charlie Noah
Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Joshua Gallant Sent: Thursday, January 12, 2012 10:30 AM To: U2 Users List Subject: Re: [U2] Extracting XML attributes When working with large XML files in the past I've always run

Re: [U2] Extracting XML attributes

2011-11-16 Thread Bobby Worley
Users List Subject: Re: [U2] Extracting XML attributes My latest challenge: PREPARE.XML FEED.XML MYXML Prepare the XMLDOM failed. XMLParser error message: A DOM error occured during parsing. UNIVERSE RELLEVEL 001 X 002 11.1.0 003 PICK 004 PICK.FORMAT 005 11.1.0 Aix Version 5.3.0.0 FEED.XML is 16mb

Re: [U2] Extracting XML attributes

2011-11-11 Thread Symeon Breen
Of Bobby Worley Sent: 09 November 2011 23:02 To: U2 Users List Subject: Re: [U2] Extracting XML attributes The xsl would be much appreciated, thanks! Bob bwor...@coburns.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf

Re: [U2] Extracting XML attributes

2011-11-11 Thread Bobby Worley
My latest challenge: PREPARE.XML FEED.XML MYXML Prepare the XMLDOM failed. XMLParser error message: A DOM error occured during parsing. UNIVERSE RELLEVEL 001 X 002 11.1.0 003 PICK 004 PICK.FORMAT 005 11.1.0 Aix Version 5.3.0.0 FEED.XML is 16mb. It prepares just fine on UV 10.1.17.

Re: [U2] Extracting XML attributes

2011-11-11 Thread Steve Romanow
Try opening the xml file with firefox or chrome to make sure it is a well formed file. On Fri, Nov 11, 2011 at 11:41 AM, Bobby Worley bwor...@coburns.com wrote: My latest challenge: PREPARE.XML FEED.XML MYXML Prepare the XMLDOM failed. XMLParser error message: A DOM error occured during

Re: [U2] Extracting XML attributes

2011-11-11 Thread Symeon Breen
] Extracting XML attributes My latest challenge: PREPARE.XML FEED.XML MYXML Prepare the XMLDOM failed. XMLParser error message: A DOM error occured during parsing. UNIVERSE RELLEVEL 001 X 002 11.1.0 003 PICK 004 PICK.FORMAT 005 11.1.0 Aix Version 5.3.0.0 FEED.XML is 16mb. It prepares just fine on UV

Re: [U2] Extracting XML attributes

2011-11-09 Thread Robert Houben
It would look like this: /*/Data/Products/Product/@ProductId Note that the document element has a namespace attached so if you assigned the namespace-uri urn_someurl to the prefix pr you could make that: /pr:Feed/Data/Products/Product/@ProductId The '@' specifies an attribute as opposed to an

Re: [U2] Extracting XML attributes

2011-11-09 Thread Chris Austin
I found this article, and thought it may be of use to you: https://u2devzone.rocketsoftware.com/accelerate/articles/u2-xml/u2-xml Chris Date: Wed, 9 Nov 2011 12:44:44 -0600 From: bwor...@coburns.com To: u2-users@listserver.u2ug.org Subject: [U2] Extracting XML attributes Does anyone

Re: [U2] Extracting XML attributes

2011-11-09 Thread Symeon Breen
Your start is the Feed element in the pr namespace. The u2 xml extraction does not always work too well with namespaces. If required I can supply you an xsl to 'de namepsace' an xml - it is then simple preprocessing task using xmltproc to give you a cleaner (in u2 regards) xml. -Original

Re: [U2] Extracting XML attributes

2011-11-09 Thread Bobby Worley
] Extracting XML attributes Your start is the Feed element in the pr namespace. The u2 xml extraction does not always work too well with namespaces. If required I can supply you an xsl to 'de namepsace' an xml - it is then simple preprocessing task using xmltproc to give you a cleaner (in u2 regards