|
Scott, It's nice to know that with XML a person can be an expert and a novice at the same time. :) Your XML explanation got me thinking--what can you tell me in 50 words or less about CGI? From my understanding I believe that it's used to process input to web pages. Is it a language? Is it OS-specific and different for OS/400, Linux, etc.? I've created basic web pages with HTML before but never anything that processed or saved user input. Dave Parnin Nishikawa Standard Company Topeka, IN 46571 daparnin@xxxxxxxxxxxxxxxxxx Scott Klement <midrange-l@scottkle To: Midrange Systems Technical Discussion ment.com> <midrange-l@xxxxxxxxxxxx>@SMTP@CTB Sent by: cc: (bcc: David A Parnin/Topeka/NISCO/SPCO) midrange-l-bounces@m Subject: Re: XML: PDA device --> BigMagicBox --> AS400 native idrange.com database file (& v.v.) 09/09/2004 05:36 PM Please respond to Midrange Systems Technical Discussion <midrange-l@midrange .com> Hi Dan, > I've seen what XML looks like and how it compares (or doesn't) to HTML, but > don't really understand how I can harness (?) it on the AS/400. I scan for > XML at InfoCenter and get 814 hits, so I imagine that there's a lot of > possibilities. I guess I'm wondering just how much I need the MW for > translating. Is there a XML-to/from-NativeDB/400 conversion tool in the > operating system? If the Win2k server is converting the file to CSV or SQL, why do you need to work with the XML directly? The thing you have to understand about XML is that all of the tags are user-defined. That's not true of HTML! In HTML, you have specific tags like <p> or <table> or <img>. In XML, you can put anything you want in there... you could have: <MidrangeDotCom> <MidrangeL> <Readers> <personName> <first>Dan</first> <last>Bale</last> </personName> <personName> <first>Scott</first> <last>Klement</last> </personName> </Readers> </MidrangeL> </MidrangeDotCom> Even though I just made those tags up off the top of my head, it's perfectly valid XML. Anyone can write their XML code any way they want to! That makes it hard to have a simple "XML to DB2" conversion tool. Sure, you could have a more generic tool that let you map the values in certain tags to certain tools, but you'd have to create a "map" of some sort that explained which elements are mapped to which fields. Tools like this already exist... XSLT, which itself is a set of valid XML tags, is a language for transforming from XML to something else -- or a different XML. The problem with XML is the more you learn, the more you'll find that you still don't know. :) There are some iSeries-centric training sessions coming up for XML: Susan Gantner will be doing an XML presentation at RPG World later this month. This is a good place to get your feet wet with a beginner's introduction. http://www.rpgworld.com If you want to go a bit more in-depth, Sharon Hoffman has an e-learning class coming up on the iSeries Network. (e-learning is a series of web conferences that act like an on-line classroom) Although I haven't seen Sharon's class -- it's a 5-week ongoing training session, so I suspect that it goes further in depth than Susan's. Sharon's class requires orientation by Sep 15th. http://www.iseriesnetwork.com/edu/e-learning//index.cfm?fuseaction=CourseInfo§ion_id=1122 There are also some (non-iSeries-centric) tutorials as well as lots of XML specifications hosted by w3c.org. http://www.w3c.org/ --- Scott Klement http://www.scottklement.com -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.