<Brad>
Oh I know what you're talking about.  :)  But you don't
pass all of that data at once.  You pass the appropriate
price for the prod and point company that are working
together.  

If you're trying to implement a pricing scheme into XML,
IMHO that's bass ackwards.  Business logic has no place in
XML, or any data transfers.
</Brad>

Nope, just passing information that needs to be retained for business
reasons.  Some information we just hold on to until we send the
confirmations back to the customer so they can see their PO number or their
item numbers.

>Who says XML is widley accepted?  I would say more don't use it than do.

In the RPG/iSeries world it isn't very widely accepted, but overall _I know_
it is.  

>And as you know with each trading partner you DO have to recreate the
process. 
 
Ah, yes.  And now the beauty of XML shines.  That is what XSL
transformations are for.  Now XSL wont solve all your translation problems,
but it will get you from one companies format to another if they share the
same relative structure.  I have yet to use that in RPG (because I don't
have it built into my parser) but I have used it in Java and it works quite
slick.  I have done all the XSL writing by hand up to this point, but I hope
to make use of my copy of XMLSpy pretty soon to do that stuff.

>XML isn't magic.  It has it's place... but there is no magic.

You are absolutely right.  But there is a heck of a lot of development going
into making XML work.  Just take a gander through www.w3schools.com,
http://w3.org, http://xml.com.

I am not saying XML is your solution to all problems, but it is getting a
lot more development time than any other tool of the same category, and it
shows.  The tools to use XML still have a way to go, but I think there is a
future in it.

Aaron Bartell

-----Original Message-----
From: Brad Stone [mailto:brad@xxxxxxxxxxxx]
Sent: Friday, September 05, 2003 8:54 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] RE: XML vs. Name Value pair 


On Fri, 5 Sep 2003 08:22:52 -0500 
 "Bartell, Aaron L. (TC)" <ALBartell@xxxxxxxxxxxxxx> wrote:
> Multiple orders was just an example of having one
> repeating structure within
> another.  For instance within our corporation we can have
> passed multiple
> prices and item numbers because we store it at the
> customer level, point
> company level, and prod company level.  And being a
> printing company we also
> have a lot of text within each item telling us what to
> print on the product.

Oh I know what you're talking about.  :)  But you don't
pass all of that data at once.  You pass the appropriate
price for the prod and point company that are working
together.  

If you're trying to implement a pricing scheme into XML,
IMHO that's bass ackwards.  Business logic has no place in
XML, or any data transfers.

> It gets
> to a point where
> you say, "Do I want to use a widely accepted industry
> standard like XML or
> do I want to recreate this process for each method I
> receive orders?"

Who says XML is widley accepted?  I would say more don't
use it than do.  And as you know with each trading partner
you DO have to recreate the process.  

We even experienced that trading with the same company
while I was working there!  

XML isn't magic.  It has it's place... but there is no
magic.

> <Brad>
> Who wants to put forth the effort, make source available
> only to have it criticized because:
> 
> "Its only RPG" or
> "You whould use DOW instead of DOU" or...
> </Brad>
> 
> I wish I had that problem.  I can't even get anybody to
> help with the code
> outside of my corporation.  

Exactly my point.  :)  But, if Leo Laportte and Patrick
Norton talk about those languages, they must be cool and
worth talking about in an AS/400 forum, right?

_______________________________________________
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.