Subject: RE: Using XSLT for SAP R/3 IDocs Transformation From: "Kaganovich, Yevgeniy (Eugene)" <ykaganovich@xxxxxxxxxxx> Date: Thu, 12 Oct 2000 15:58:56 -0700 |
If you have a way to convert between real IDoc and the "XML version", you should be able to define a stylesheet to transform between different XML representations fairly easily (although with large amounts data you'd probably want to either split your data stream into multiple XML documents prior to tranformation, or use estensions like saxon:preview for memory management). The tricky part is to convert between non-XML and XML. It's possible (although probably not too much fun) to go from XML to a flat data standard like IDoc using XSLT. It is virtually impossible to use pure XSLT to convert from custom flat data to XML, although some limited support can be provided using XSLT extensions. http://www.unicorn-enterprises.com/ XSLT processor does this. If you need a solution for that, there are various other tools that can help you to different degrees. You can just use a good RegEx language like Perl or Omnimark or Python, or Java with a RegEx package (e.a. http://www.savarese.org/oro/ ), or define a grammar for your data using a compiler compiler like http://www.antlr.org or http://www.metamata.com/javacc, or parse it with http://www.unidex.com/xflat.htm There are also some enterprise-level tools that specialize in data conversion and B2B integration. <plug> Netfish XDI Server, http://www.netfish.com/products/, can convert data between many different standards, XML and non-XML, as well as do many other things with it. We have an SAP adapter among many others.</plug> Cheers, - Eugene : -----Original Message----- : From: S Mir [mailto:smfore@xxxxxxxxxxx] : Sent: Thursday, October 12, 2000 11:02 AM : To: xsl-list@xxxxxxxxxxxxxxxx : Subject: Using XSLT for SAP R/3 IDocs Transformation : : : : : I am looking for any experiences of using XSLT for : transforming XML versions : of SAP R/3 IDocs into other data formats. : : Baically, as a solution to interfacing SAP R/3 with external : systems I want : to use XSLT templates in the middleware for transforming : XMLized IDoc data : into other proprietary data formats. : : Thanks in advance for sharing any experiences with having done this. : : -SMir : ______________________________________________________________ : ___________ : Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. 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 -> |
---|---|---|
Using XSLT for SAP R/3 IDocs Transf, S Mir | Thread | XML -> Java Properties -> XML, Dylan Parker |
Re: Table question/was Re: Whitespa, Nikolai Grigoriev | Date | Re: Variable names *as* variables, John E. Simpson |
Month |