View Full Version : Calling XML geeks!
Any around?
Just been told I need to be able to parse XML and to look to see if Windows has an inbuilt parser. Now that I've written all I know about XML, anyone out there know anything to do with XML?
Open the XML file in Firefox or Opera (I think IE does it too)... it'll display it nicely for you.
Would you consider that parsed? Or do you need to do something more with the file?
SoulKiss
08-11-06, 01:43 PM
Cant help you myself - like to stick to standard HTML in what I do (If I am feeling exotic I will add some CSS)
But Wikipedia may help you get a handle on things
Clicky (http://en.wikipedia.org/wiki/Xml)
yeah, got to do stuff to the XML. I am sending stuff out of Lotus Notes as XML to interrogate another system and am receiving the results in XML, I need to be able to access the XML to get the info out again in a readable format to put back into Notes.
Depends on what the other system is.
All major program langs have support for XML.
http://directory.google.com/Top/Computers/Data_Formats/Markup_Languages/XML/Tools/Parsers/
Sounds like you're doing EDI (Electronic Data Interchange), which is basically 90% of what I'm paid to support. There's nothing in Windows natively to alter the contents of the XML file unfortunately.
All you can do really is export to the right dir, then import.
squirrel_hunter
08-11-06, 01:54 PM
Sounds like a job for BizTalk!
Depending on the set up/ company/ costing/ development time etc this might be something to look at. Its a Microsoft product aimed at the B2B market that takes in XML or any format and sends it back out in XML to your specification.
But the development cost would probably be quite high, so it depends on what type of manipulation you need to do to the XML. Its possible a bit of UNIX shell scripting may even work...
hmmm.
Essentially I'm writing some XML to interrogate some system (haven't a clue what the system is) and I get the results in a blob of XML that could be 10 documents/rows or 200 documents/rows. I need to be able to get a handle on the data in the XML. There isn't something in Windows that can do that?
SoulKiss
08-11-06, 01:56 PM
Sounds like a job for Perl......
hmmm.
Essentially I'm writing some XML to interrogate some system (haven't a clue what the system is) and I get the results in a blob of XML that could be 10 documents/rows or 200 documents/rows. I need to be able to get a handle on the data in the XML. There isn't something in Windows that can do that?
Nothing in windows as such, IE has a com object that handles XML. But mabey as SoulKiss said, something in perl or php, which can be run command line may be easier. What langs are you good with?
Filipe M.
08-11-06, 01:59 PM
hmmm.
Essentially I'm writing some XML to interrogate some system (haven't a clue what the system is) and I get the results in a blob of XML that could be 10 documents/rows or 200 documents/rows. I need to be able to get a handle on the data in the XML. There isn't something in Windows that can do that?
Nothing in windows as such, IE has a com object that handles XML. But mabey as SoulKiss said, something in perl or php, which can be run command line may be easier. What langs are you good with?
English! :lol:
Personally, I'd use Java to compile a standalone binary to do it. NetBeans 5.5 comes with JDK1.5 & is free!
Then just use DOM to process the XML as a basic array, manipulate, then spit it out.
Not hard at all, but nothing in Windows itself will do it.
Cheers for your help guys! I need to write this from Lotus Notes so that it can programmatically jig around with the data in the XML so this should be interesting. :?
timwilky
08-11-06, 02:33 PM
Of course most modern languages support XML. It really depends what you want to do. In the past I would scream java java java. But I have also found that .net enables some neat trickery with xml files.
But from the sound of things. I would guess your first port of call is somewhere like amazon. You need to learn what XML is all about. how to manipulate xml, slt, to define xml schemas etc.
Form the little you have posted. I would suggest you need to look to designing a web services approach to managing your xml transfers between different systems. it is then simply a matter of of using the appropriate parser for your requirement.
I believe domino designer 7 is probably your friend as it has reasonable support for xml according to my notes colleagues
Yeah, Notes 6.5 + seems to deal with XML ok so I'm currently looking at that, looks like its using Java. The web service has already pretty much been developed, I've been given the task of creating the interface.
Cheers for the info!
I'm looking at it as a challenge :D
Yeah, Notes 6.5 + seems to deal with XML ok so I'm currently looking at that, looks like its using Java. The web service has already pretty much been developed, I've been given the task of creating the interface.
Cheers for the info!
I'm looking at it as a challenge :D
WebObjects (expensive licence though) is beautiful for this. Funnily enough, I've JUST installed it on my new development machine.
ALL it does is draws a screen in a browser, with various fields (either display to the user, or allow the user to respond etc), and talks to the Java behind it to do manipulations of data.
P.S. Oracle 9i takes forever to install, but 10g has too many bugs IMO!
first thing, have you checked the compatability of the check squares against the furthest point of intacted bus points?
no? simple mistake to make that.
once that has been conjoined PLEASE make sure that the offeltipbung has been married corretly to the shuffle board, if not your crackerpow-wows wont ignite. but duh everybody knows that :roll:
lol!
Argh, I have to do it all in LotusScript, for which there is very limited documentation or support. Most of the IBM documentation only discusses doing it with java which isn't an option, nor is doing it in anything else. Ho hum, should keep me quiet for a while.
Carsick
08-11-06, 03:26 PM
'points and laughs ala Nelson'
Not a difficult project in a proper language, but it sounds like you're going to have heaps of fun.
Argh, I have to do it all in LotusScript, for which there is very limited documentation or support. Most of the IBM documentation only discusses doing it with java which isn't an option, nor is doing it in anything else. Ho hum, should keep me quiet for a while.
http://www-128.ibm.com/developerworks/lotus/library/ls-LS_XML1/index.html
Only mentions the word Java once!
Also take a look here:
http://www.dominopower.com/issues/issue199908/xml001.html
HTH.
chazzyb
08-11-06, 03:40 PM
IE on Windows has a XML parser. The later versions support both DOM and SAX. It's all documented in the SDK or on MSDN. We use DOM via the OLE Automation interface from Delphi. It's not too fast and only suitable for smaller files, but works and is easy to get into. For bigger files use SAX, which is harder work to get going, a totally different object model, but *much* faster.
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.