IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: Rince2
About
User Name: Rince2
Forum Rank: Member
Real Name:
Location Germany
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Thursday, July 24, 2008
Last Visit: Thursday, January 30, 2020 5:21:43 PM
Number of Posts: 10
[0.06% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: Encrypted PDF, PDF 3D
Posted: Thursday, January 30, 2020 5:21:26 PM
Hi, I was wondering,

- if StyleVision is able to generate an encrypted PDF (where the User has to provide a password to open it).
- if StyleVision is able to generate a 3D PDF (where an 3D Object (e.g. an STL file) is shown and rotateable by the user).

Thank you for your information!
Topic: DIVs side by side
Posted: Friday, June 9, 2017 12:55:58 PM
Thank you! Grouping did the trick - I didn't knew about that one. You made my day :-)
Topic: DIVs side by side
Posted: Friday, June 9, 2017 8:05:11 AM
Hi Vlad, this is my document structure:

Code:

<?xml version="1.0" encoding="UTF-8"?>
<document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
    <imagesA path=".\images\A">
        <image view="Title1">p1.png</image>
        <image view="Title2">p2.png</image>
        <image view="Title3">p3.png</image>
    </imagesA >
    <imagesB path=".\images\B">
        <image view="Title4">cf1.png</image>
        <image view="Title5">cf2.png</image>
        <image view="Title6">cf3.png</image>
        <image view="Title7">cf4.png</image>      <!-- this image should cause a "line" break in the table -->
        <image view="Title8">cf5.png</image>
        <image view="Title9">cf1.png</image>
        <image view="Title10">cf2.png</image>    <!-- as should this -->
    </imagesB>
    <imagesC path=".\images\C">
        <image view="Title1">cf1.png</image>
        <image view="Title1">cf2.png</image>
    </imagesC>
</document>
Topic: DIVs side by side
Posted: Thursday, June 8, 2017 12:21:30 PM
I have a series of images with an accourding text. I want to lay them out like this:

Code:
ImageText1   ImageText2  ImageText3
+----------+  +------------+ +------------+
|              |   |                 |  |                |
|      I1     |   |      I2       |  |     I3        |
|              |   |                 |  |                |
+----------+  +------------+ +------------+

ImageText4   ImageText5
+----------+  +------------+
|              |   |                 |
|      I4     |   |    I5         |
|              |   |                 |
+----------+  +------------+


I don't know how many Images will be in the input, but I know max. three images fit side by side. I tried to achieve this with div's, but they always end up being rendered vertically, not side by side until the page margin.

Any ideas how to achieve this?
Topic: Generate PDF with 3D Content
Posted: Tuesday, August 4, 2015 4:39:59 PM
Hi,

I am looking for a way to generate a PDF with 3D Content from XML data. We're are already using Stylevision to generate documents from our XML-Data and are quite happy with the results. Now additionally to our XML data, 3D Content shall be embedded in the PDF to get a 3D PDF. The 3D content will be in u3d format (originally, it will be STL data, but I am sure we will manage to convert these files).

I know there is a FO3D project that provides this functionality for Apache FOP, but has anyone ever integrated this in Stylevision?

Thanks for any feedback.

Regards,
Rince2
Topic: Localization of a SPS File
Posted: Tuesday, July 22, 2014 4:17:12 PM
It's working now in the StyleVision user interface, I chose the second input file approach. But now I am having troubles to generate the report on the command line via the AltovaXML.exe tool. How to specifiy the second input file (my XML File containig the translations) to the processor? It seems only one input file is recognized via the -in parameter. In the generated XSLT I see

<xsl:variable name="Translation" select="document($Translation)"/>

which matches the name of the translation XML in the sources tab of the UI, and

<xsl:value-of-select="$Translation/id("TITLE")/Translation[@Language=$XML/data/language]"/>

where a to be translated text is matched. The target language is referenced in $XML/data/language.

When I do

AltovaXML.exe -xslt2 Report.xslt -in Data.xml -out Report.fo

Nothing is being output for the to be translated strings and no error message is produced...

What am I missing now?
Topic: Localization of a SPS File
Posted: Tuesday, July 22, 2014 1:33:40 PM
Thanks! I have no idea how I could not notice this - the example projects answered my question. Case closed :-)
Topic: Localization of a SPS File
Posted: Tuesday, July 22, 2014 10:22:03 AM
Hi!

I am using StyleVision 2011 Enterprise R3 SP1 and I am searching for a way to localize the static text in the SPS file.

The idea would be to have a language selection field in the working XML data file like

<language>en</language>

and then to output a localized version for e.g. a heading based on the value of that language field.

Any ideas?! How do you localize your SPS files?

I do not want to manage a seperate SPS file for each language, which would be another solution, because I don't like to change numerous SPS files if there will be a change in the design.

Thank you for your feedback!

Topic: Disable escaping in CDATA?
Posted: Wednesday, August 13, 2008 10:18:33 AM
Hi,

my data looks something like this:

<data>
<title>Title 1</title>
<description><![CDATA[
<table border="1" ..>

.. section with more HTML Code ..

</table>
]]></description>
</data>

To get the unescaped HTML in manual coded XSLT I would use

<xsl:value-of disable-output-escaping="yes" select="description">

which works just fine. How do I that in Stylevision? When I drag the description tag from the schema tree into the design, I can't switch off the escaping of the CDATA section.. any ideas?
Topic: Showing content based on attribute
Posted: Friday, July 25, 2008 12:06:49 AM
Hi. Beginner question: I have some xml code like

<custom fields>
<custom name="a">Data1</custom>
<custom name="b">Data2</custom>
<custom name="c">Data3</custom>
</custom fields>

I only want to display the content of the <custom> node with attribute name = "b" ("Data2") - how do I this?

Regards, Rince

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.