Subject: RE: [xsl] using different xsl based on xml From: "John Wang" <jwang@xxxxxxxxxxx> Date: Wed, 2 May 2001 09:24:50 -0500 |
Hi, Mike I might not make myself clear at first mail. I have a web application, see, take 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, -John -----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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] using different xsl based, Michael Kay | Thread | RE: [xsl] using different xsl based, Michael Kay |
Re: [xsl] How can I ask for a speci, David Carlisle | Date | RE: [xsl] Plse Help! something to d, John Wang |
Month |