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: island
User Name: island
Forum Rank: Advanced Member
Real Name: island_b
Location AT
Occupation: %2B
Gender: None Specified
Joined: Monday, October 28, 2002
Last Visit: Wednesday, January 23, 2019 6:21:33 AM
Number of Posts: 1,281
[7.47% of all post / 0.21 posts per day]
Last 10 Posts
Topic: Printer tray
Posted: Wednesday, January 23, 2019 6:21:33 AM

XSLT has no control over which printer tray the result of an xslt transformation is sent to.

Topic: FlowForce Service high in CPU
Posted: Wednesday, January 9, 2019 8:16:51 AM
The Flowforce engine was rewritten for version 2019. Therefore you should follow the advice given and download and install the latest available version (2019sp1).

Topic: Problem with line-breaks in PDF transforms
Posted: Wednesday, January 9, 2019 4:20:57 AM

please contact support and provide them with your sps file, your working xml file and xml schema(s).

Topic: Distinct Rows
Posted: Friday, December 14, 2018 7:19:17 AM

I assume that this is supposed to be the header of the file:


Carrier Rate Type Origin Market Origin Country Origin Place Name Origin Dest Market Dest Country Destination Place Name Dest Eff.From Eff.To Equipment Currency Lump Sum Charge Code Charge Name Charge Description Commodity Charge Basis Comments 1 Transit Time Principal Client Name Consignee Consignee Name Consignor Consignor Name Agent Agent Name Movement.Terms Client Type/Group Port Origin Port Dest Carrier2 Carrier Name Clearance Agent Clearance Agent2 Maximum Sailing Schedule Department Supplier Analysis Charge Filt3 Analysis Charge Filt

and these are the values corresponding to the headers:


MAR fak 40HC USD 103 oce-ebaf CONTAINER

seeing as both are space delimited this would infer that "Mar" is a Carrier, "fak" is a Rate, "40hc" is a Type, "USD" is an Origin, "103" is a Market, "oce-ebaf" is another "Origin" (???) and "CONTAINER" is a country.

This doesn't make sense. Please CLARIFY WHICH HEADER each of these values is supposed to correspond to.......

(It may help if you attach the source file you are dealing with. You can attach the file by first POSTING a response and then using the Attachments button)

Topic: Running into error: Tutorial : SimpleType
Posted: Tuesday, November 27, 2018 5:50:16 AM

if you expand the "Details" section in the Messages window it takes you to the pertinent part of the schema specification.


Schema Component Constraint: Element Declarations Consistent

If the {particles} contains, either directly, indirectly (that is, within the {particles} of a contained model group, recursively) or ·implicitly· two or more element declaration particles with the same {name} and {target namespace}, then all their type definitions must be the same top-level definition, that is, all of the following must be true:

1 all their {type definition}s must have a non-·absent· {name}.
2 all their {type definition}s must have the same {name}.
3 all their {type definition}s must have the same {target namespace}.

Basically the two "State" elements have to be of the same type. If this were not the case there may be situations in which it is not clear whether a "State" element in the xml instance document should be validated according to the "State" element which is of type "string" or the "State" element of type "US-State".element.

Topic: Grouping on field value
Posted: Tuesday, November 13, 2018 10:23:45 AM
Try using the "group-starting-with" function

Topic: Conditional EDIFACT mapping
Posted: Thursday, November 8, 2018 11:30:12 AM
You will probably have to use two variables to hold the results of the different filters and then map the result of the variables to the output. If that doesn't help then attach your mapping and your input edi file

Topic: simple custom xslt function issue
Posted: Tuesday, October 23, 2018 10:34:18 AM

only simple return types are supported for custom functions see documentation:

You can extend the XSLT 1.0 and 2.0 function libraries available in MapForce with your own custom functions, provided that your custom functions return simple types.

You can solve the the problem without having to use a custom xslt function however: See attached "test.mfd"

Topic: Map Excel Row and Col to XML
Posted: Friday, October 19, 2018 4:05:57 AM
and the third iteration is even better .....

Topic: Map Excel Row and Col to XML
Posted: Thursday, October 18, 2018 3:50:38 PM

here is an even better variation without the need for an intermediate component.


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