how to add the second Preprocessing instruction usingXMLport

kokkok Member Posts: 10
Hi, ALL!
I have a problem.

I use XML port and one codeunit

When I get xml file the first Preprocessing instructions is

<?xml version="1.0" encoding="UTF-16" standalone="no" ?>

And then posted xml-structure(or xml-body).

Ex.:
<?xml version="1.0" encoding="UTF-16" standalone="no" ?>
<Example></Example>
...

The question is - is it possible add the second line of Preprocessing instuctions

<?xml-stylesheet type="text/xsl" href="example.xslt?>

between

<?xml version="1.0" encoding="UTF-16" standalone="no" ?>
and xml-body to get (see below):

<?xml version="1.0" encoding="UTF-16" standalone="no" ?>
<?xml-stylesheet type="text/xsl" href="example.xslt?>
<Example></Example>
...

or it is impossible using xml-port and its triggers? ](*,) maybe somebody explains?

Comments

  • kokkok Member Posts: 10
    :shock: is it so difficult for clever guys?
  • kokkok Member Posts: 10
    ок. maybe somebody answer how to parse XML file when you load it Navision and use XML DOM?
  • kokkok Member Posts: 10
    thanks for your attention to my problem i solve it.
  • arcullarcull Member Posts: 191
    hi kok, I,ve got the same problem, would you be so kind, to share your solution, thanks
Sign In or Register to comment.