cancel
Showing results for 
Search instead for 
Did you mean: 

creating an html file in XI using an xsl stylesheet -- two error types

Former Member
0 Kudos
42

Hi

I am working on mapping an xml invoice to an html-file using a stylesheet (xsl-file) in the message mapping in XI 3.0.

Thus the inbound message is an xCBL Invoice and the output message is to be an html file. I name the output file "%supplierid%_%invoiceid%.html using the variable substitution functionality in the communication channel.

I have two problems:

1) the <br/> tags in the stylesheet are changed to "<br>" in the resulting html file causing problems in the output file, as this is not valid XML.

2) I would like to insert the current date and time in the output file and I am using this code, but the date and time is not picked up:

<B>

Received:

<xsl select="xs:string(fn:current-dateTime())"></xsl>

</B>

How do I solve these two problems?

BR

MIkael

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

please note, that it is the tag "br/" that is changed to "br" in the html file.