Jump to content

falik

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About falik

  • Rank
    Newbie
  1. falik

    .net Xslt Engine

    Unfrotunately I think that I didn't understand u clearly... This is what I do: I write xslt and xsl-fo in one xsl stylesheet ---> i open AHFormatter ---> I do the transformationThat script embedding that u are talking about is this I think: http://msdn.microsoft.com/en-us/library/533texsx(vs.71).aspxBut it considers the transformation to be done rather much like: I write xslt and xsl-fo in one xsl stylesheet with scripts ---> transform within C# code using .NET ---> put the result in AHFormatter When I was doing some Jscript's I could just put them in <script> tags and just do it with AHFormatter, using an outer C# app is not what I would like.If I am wrong with those script embedding and the C# scripts can be embed just as JScript, correct me please.
  2. falik

    .net Xslt Engine

    The problem is that I'm not supposed to use XSL in .NET but .NET in XSL. So u say that there's no possibillity to do what I want on freeware, only with those commercial versions of processors yes ?
  3. Hello, I need some advice in choosing appropriate processor to include to my AHFormatter. I have to do some crazy stuff with images and there's no way to do it in xslt so I have to implement a function in C# to do these.The problem is that my Formatter has MSXSL 3.0 included, and this xslt engine supports only scripts in JScript or VBScript and those don't offer me necessary functions. In C# I got some Image libraries that would do the job. The problem is that I actually don't know what other xslt engine should I use. The ones I know is Saxon and AltovaXML and I don't know anything about their possibilities.I would appreciate any help.
  4. Hey, I got an issue wiich is making me unable to make my text go from bottom to top. I mean I need to write from the bottom of the page to the top of it.Just like u would turn your page vertically. I tried to use attributes like: writing-mode and direction but I still can't get what I want. There is a lot of attribute values that I can mix to get various results but no matter what I write I get either this one: http://imageshack.us/photo/my-images/252/test1pp.jpg/or this one http://imageshack.us...67/test2jp.jpg/these are the only 2 options that I can get, u know why is that ? I'd like to get something like this:http://imageshack.us...26/test3hi.jpg/ and this:http://imageshack.us...46/test4wk.jpg/ I'd appreciate any help.
  5. I have to maintain the size of an image to fit the page in external pdf. The problem is that scaling in XSL is either by width or by height. The problem is that I don't actually know if the image will fit the page with it's original height or width and I can't determine that the image must be scaled by one of those attributes. The best way of doing what I want is getting to know the original image size and then deiciding to scale it by height or by width after comparing those numbers with the page's attributes. If I'm wrong or something, just tell me. If you have any ideas on solving the issue I'd be grateful.
  6. So you say that if I'd like to stay with my old MSXML I can only write some scripts in javascript or in visualbasicscript am I right ?
  7. Hi ! I have to call an external function in my xslt/xsl-fo stylesheet. I know that I can use <xsl:script> according to the recommendation (http://www.w3.org/TR/xslt11/#define-extension-functions) The question is how to actually use it ? I'm using AHFormatter to transform my stylesheets and I have to add an external function written in a different language than xslt, preferably C++ or C#. Is that possible ? I mean I don't really understand the way that it works. Actually will it work just fine if I use a java code inside the <script> tags ? I don't understand how the code is interpreted or something like that. Can anyone lighten it up a but for me ? In the specification it's stated that my processor must support the language of the script. In AHFormatter the msxml is integrated and I'm not supposed to use any other. What languages are supported by him ? I looked through the internet and found some microsoft references(http://msdn.microsoft.com/en-us/library/533texsx(vs.71).aspx) but the problem is that I don't want to process the xml outside AHFormatter and If I understood that microsoft article clearly they tell me to write a program in C# that will do the transformation outside. It's not my goal 'cause I need something to be done in one step just using my formatter. thanks in advance for any tips.
  8. Alright, I got some answers on other forums and gathering all the information it seems that it's not possible to display this image using only xslt or xsl-fo. The image that my first post contains is encoded in hex and the only way of displaying images in xsl is when they're in base64 using this url-thing just as I thought. I have to translate hex to base64 myself. The problem is that I don't want to use any external applications. The only question that is left:Is someone here using Antenna House Formatter and knows if there are any extensions doing the transformation of that hex to base64 ? I was browsing through the AHFormatter extensions list but couldn't find anything that would be good for what I need.
  9. I know that it's Windows Metafile :)The problem is the encoding of it and how to display it while having only the code in tags - <object-projection>
  10. Hello there, it's my first post on this forum Here's the problem I'm facing: I've got some xml files in which there are wmf images that I have to display using XSL-FO in my pdf. The problem is that those images are encoded somehow and I don't know what the code is. It's a sample tag of this image: <object ident="eqwrd_1" skaluj="1" wys="24.9pt" szer="16.0pt" typ="WMF"><object-projection>D7CDC69A00000000000034027003030900000000565F010009000003d100000002001c00000000000500000009020000000005000000020101000000050000000102ffffff00050000002e0118000000050000000b0200000000050000000c02200300021200000026060f001a00ffffffff000010000000c0ffffffa9ffffffc0010000c90200000b00000026060f000c004d61746854797065000060001c000000fb0220ff0000000000009001000000000402001054696d6573204e657720526f6d616e0040adf37749adf3772040f577d31566a8040000002d01000008000000320a0201bd00010000005e7908000000320ac0020d010100000030791c000000fb0280fe0000000000009001010000a10402001054696d6573204e657720526f6d616e0040adf37749adf3772040f577d31566a8040000002d01010004000000f001000008000000320a6002340001000000e1790a00000026060f000a00ffffffff0100000000001c000000fb021000070000000000bc02000000ee0102022253797374656d00a8d31566a800000a0021008a0100000000000000005cf31200040000002d01000004000000f0010100030000000000</object-projection></object> I found some ways of displaying images encoded in base64 in some RFC's by using this: "data:image;base64,[some base64 code]" as an url.The problem is that the images that I've got to display are not encoded in base64 and I got no idea what to do with them to make them apear in my pdf :(The code looks like some hexadecimals but I haven't come across with something like that before in encoding images. If some one of U people got any idea how to display this image, or how to convert this code, or maybe what this code could be , I would be grateful.
×
×
  • Create New...