[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: using different xsl based on xml

Subject: RE: using different xsl based on xml
From: "John Wang" <jwang@xxxxxxxxxxx>
Date: Wed, 2 May 2001 09:24:50 -0500
mqseries john wang
Hi, Mike

I might not make myself clear at first mail. I have a web application, see,
customer order form, which is in xml format. But different customer has
their own format.

I would like to get your opinion. Is it a good way that I use different DTD
to validate
each xml that customer uploads through the web application (Servlet maybe)?
If it passes certain DTD validation, I will use the xsl especially for that
DTD to do
the transformation. But this sounds like I need to do java programming. Can
I use XSLT to do similar thing without bothering to write Java program?

Thank you,


-----Original Message-----
From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay
Sent: Wednesday, May 02, 2001 3:21 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  using different xsl based on xml

> My question is, how can I tell where the xml comes from...

That rather depends on how your customers are sending it.

Typically, you could ask different customers to send it to different
mailboxes, or you could look at the email headers, or you could use a proper
messaging service like MQSeries or MSMQ.

If none of those mechanisms are possible, then you will have to work it out
from the XML content: sounds as if the first phase should be an XSLT
stylesheet that examines a document, determines what type it is, and adds
this information to some kind of envelope.

Mike Kay

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.