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: K101
About
User Name: K101
Forum Rank: Advanced Member
Real Name:
Location
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Friday, February 27, 2009
Last Visit: Wednesday, April 24, 2024 9:45:34 AM
Number of Posts: 565
[3.12% of all post / 0.10 posts per day]
Avatar
Last 10 Posts
Topic: XML-element with maxOccurs="unbounded" to MS Excel
Posted: Monday, April 22, 2024 7:49:34 AM
Yes, that's certainly possible. While the typical use case for Excel is to write to a defined range of columns (e.g., something like "Product ID" in column A, then "Description" in column B, etc.), one can also write them dynamically so that each occurrence of an element writes to the next column. The two column modes are described in the documentation as "Show separate items for columns" and "Show a single Cells item for all columns"

The attached example demonstrates this and also demonstrates even writing to worksheets dynamically. Each foo element denotes a new worksheet, and each bar element a new column.

Technical Support
Altova GmbH
Topic: Messages window
Posted: Thursday, April 18, 2024 12:25:10 PM
They're described in the MapForce documentation:

Quote:
When you work with multiple mapping files simultaneously, you might want to display information, warning, or error messages in individual tabs for each mapping. In this case, click the numbered tabs available on the left side of the Messages window before validating the mapping.


Technical Support
Altova GmbH
Topic: How to deal with OADate values
Posted: Wednesday, April 10, 2024 8:03:00 AM
Set the type of that column to 'date' or 'dateTime' as appropriate. MapForce will automatically interpret the date as demonstrated by the attached example.

Technical Support
Altova GmbH
Topic: MapForce - Mapping 2 different input files to 1 output file
Posted: Wednesday, April 10, 2024 7:56:21 AM
Almost certainly. In general, the concept of processing multiple input or output files is described in the documentation.

You should probably just contact Altova Support directly and provide them with actual examples.

Technical Support
Altova GmbH
Topic: MapForce table extraction question
Posted: Friday, April 5, 2024 9:44:28 AM
The PDF Extractor's a very new part of MapForce. You're really better off contacting Altova Support directly for help with that.

Regarding a library, Altova's doesn't offer MapForce as a library, but you can generate program code based on some mappings (not those which use the PDF Extractor, I'm afraid) or use MapForce Server for automation since it offers API access via .NET, COM, and Java (and does support the PDF Extractor).

Technical Support
Altova GmbH
Topic: How to use result from Tokenize at the same time?
Posted: Wednesday, April 3, 2024 6:28:19 AM
nixfont wrote:
Thanks for the explanation, your examples made it clearer to me what to do. I made it work, the only difference with your version is that mine only worked after putting the input of the tokenize through a .txt file as passthrough. No idea why, otherwise it would not work and be NULL


Sounds good. I'm pretty sure Altova Support could help you figure out how to do it without the pass-through, though.

Technical Support
Altova GmbH
Topic: How to use result from Tokenize at the same time?
Posted: Tuesday, April 2, 2024 7:40:26 AM
The tokenize function will definitely work in that scenario, as will the use of substring-before and substring-after as demonstrated by the attached example. The output is the same in both cases:

Quote:
first,last
2134,123


Obviously, in your case the input isn't exactly what you think it is. You should probably contact Altova Support directly with your actual input file for help.

Technical Support
Altova GmbH
Topic: Download file with HTTP- GET
Posted: Friday, March 22, 2024 7:46:18 AM
You should contact Altova Support directly for this sort of help.

Technical Support
Altova GmbH
Topic: Download file with HTTP- GET
Posted: Wednesday, March 20, 2024 9:34:28 AM
The simplest way is simply to use read-binary-file to get a URL from a constant (or wherever else), then send that straight to write-binary-file to save it to some location on your local filesystem. This example saves the logo from Altova's own web site in this way.

If your call's any more complicated you'll need to use the proper REST request functionality.

Technical Support
Altova GmbH
Topic: EXCEL to XML
Posted: Monday, March 18, 2024 8:32:01 AM
Please contact Altova Support directly in this case as I previously advised.

Technical Support
Altova GmbH

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