transformation

Is there a Transformation engine or libary using .NET ?

Hi We're looking for a Transformation library or engine which can read any input (EDIfact files, CSV, XML, stuff like that. So files (or webservices results) that contain data which must be transformed to a known business object structure.) This data should be transformed this to a existing business object using custom rules. XSLT is ...

Transforming HTML with XSL and modifying form attributes

I would like to parse HTML document and replace action attribute of all the forms and add some hidden fields with XSL. Can someone show some examples of XSL that can do this? ...

OpenGL: Multiple user vector by modelview matrix?

Is there a way to make OpenGL transform a general vector I give it with the current modelview matrix and get the result back? The obvious way is to query the modelview matrix and do the multiplication myself but I am almost sure there should be a way to make OpenGL do this for me. ...

linear transformation function

Problem: I need to write a function that takes 4 bytes as input, performs a reversible linear transformation on this, and returns it as 4 bytes. But wait, there is more: it also has to be distributive, so changing one byte on the input should affect all 4 output bytes. The issues: if I use multiplication it won't be reversible after ...

How do I transform a List<T> into a DataSet?

Given a list of objects, I am needing to transform it into a dataset where each item in the list is represented by a row and each property is a column in the row. This DataSet will then be passed to an Aspose.Cells function in order to create an Excel document as a report. Say I have the following: public class Record { public int I...

Fading to a Vanishing Point in Flash, Programatically (of course)

I'm trying to do a vanishing Star Wars type thing like this, but programatically. Most of what they've done is easy to program (make a motion tween), but I wish to generate the text-based graphic programatically as well (from text using a dynamic text obj, for example). The question, as I see it (but I'm open to other ways of seeing i...

Transforming 3D text using OpenGL

I'm currently studying this tutorial: and I understand completely how to rotate/scale/translate each of the strings in that tutorial. But does anyone know what steps are necessary to shear/taper/twist each of the strings in a user-configurable manner? As far as I know, those are not part of OpenGL calls, so normally how are such trans...

View Transformations: Is there an better explanation of the one from Apple?

Apple says: Translating a view shifts all subviews along with the drawing of the view's content. Because coordinate systems of subviews inherit and build on these alterations, scaling also affects the drawing of the subviews. Like I understand, when I do a transformation on a view, this will effect all subviews as well. B...

Looking for data integration tool

Hi, I was wondering what ETL tool you would recommend as middleware, ETL, to create data transformation between multiple relational databases, flat and other type of files. Ideally, we are looking for windows based software which is flexible enough to work with different databases and platforms should we switch to a different rdbms. I h...

Is it a good practice to embed mappings for errorcodes inside JSON ?

Have a glance at this snippet of JSON. Motivation: The JSON is generated by a REST service & later on will be converted to XML. Simple Question: I am currently embedding the map for the error codes inside the JSON snippet, with the intention of helping the transformation to XML. The XML format does not use numeric codes. Should I plac...

Idiomatic Ruby: data structure transformation

What's the "Rubyist" way to do the following data structure transformation: I have incoming = [ {:date => 20090501, :width => 2}, {:date => 20090501, :height => 7}, {:date => 20090501, :depth => 3}, {:date => 20090502, :width => 4}, {:date => 20090502, :heigh...

Regular expression to transform 1.2.3 to 1.02.03

Hi guys, i'm really not good with regular expressions and i need one to transform "1.2.3" to "1.02.03" in a way that first part stays always as it was and second and third one will transform 2 to 02, 7 to 07 and so on but if there is 10, 15, 17 and so on it will leave it as it is. I want to use it in msbuild. samples: 2.5.7 -> 2.05....

Actionscript Translation transformation

Hi I am working on actionscript 3 which I have to use translation rotation scaling to a movieclip. I have the rotation and scaling working properly but when I dealing with translation I find the problem that the translation will move the object outside of the origin so when I wanted to rotate the object, the object no longer rotate as ex...

XSLT Transformation

How would I convert the following using xslt <blogger> <post> <text>...</text> <categories>Engineering, Internet, Sausages</catgories> </post> <post> <text>...</text> <categories>Internet, Sausages</catgories> </post> <post> <text>...</text> <categories>Sausages</catgories> </post> </blogger> into...

Transformation using MovieClip.transform.matrix problem

I have problem when dealing with transform in Flash cs4 .... When I rotate my movieclip and trace the output, my movieclip's width also changed.... ...

Determine transformation matrix

As a followup to my previous question about determining camera parameters I have formulated a new problem. I have two pictures of the same rectangle: The first is an image without any transformations and shows the rectangle as it is. The second image shows the rectangle after some 3d transformation (XYZ-rotation, scaling, XY-translati...

Transformation (rotation) of image using matrix - design-time vs. run-time rendering results

Hi, I have a 48x48 image which is rotated using a transformation matrix. For some reason, the rotated image in design-time differs from the rotated image in run-time as you can see from this screenshot (design-time on the left, run-time on the right): It might be a little bit difficult to spot, but if you look closely at the right e...

Generic Xml Document manipulation

We have xml documents that contain lots of flagged nodes like isProduct, isActive , isMandatory where the node text may be True or False. It is needed to manipulate the documents and keep their structure but convert the above nodes into a verbal representation like below: < isProduct >True</ isProduct > ===> <Type>Product<Type> < ...

OpenGL: Help with camera transformation

I'm trying to implement a camera-model in Delphi/OpenGL after the description given in OpenGL SuperBible. The camera has a position, a forward vector and a up vector. Translating the camera seems to work OK, but when I try to rotate the camera according to the forward vector, I loose sight of my object. function TCamera.GetCameraOrienta...

Maya .ma matrix scale translation

A perhaps slightly off-topic subject, but Maya is giving me serious grief on a specific scale translation matrix transformation, and I have nowhere else to turn. Everything works fine with my Maya .ma (Maya ASCII) importer until Maya descides to add an .spt attribute (typically setAttr ".spt" -type "double3" 1 2 3 ;). From this somewhat...