Discussions tagged XML

How to create XML files in UTF-8? It seems that windows always produces UTF-16LE files, but I need it to produce in UTF-8. Example code I've already tried: PBDOM_Document xml_doc PBDOM_ProcessingInstruction xml_process PBDOM_Element xml_root co...
Hello,   Is a simple way to generate a DataWindow object from an XML file? I have an XML file and can I quickly create/generate DataWindow based on this file structure ? Regards Pawel...
Hello, We are testing Powerbuilder 2022 before installing it on our working environment. When we generate XML files through the datastore's SAveAs feature using an xml template, the first line of the XML file always ends with character LF (Unix mod...
Hi all, I use Powerbuilder 2021, build 1506 I want to export Data once datastore is retrieved. Simple as that. I got XML Template like this (this is extraction from Edit source of datawindow): export.xml(usetemplate="efaktura_avans" headgroups="1...
Can anybody suggest a solution to apply c14n11 canonical algorithm in a xml file....
PowerBuilder 2019 R3 build 2728 Windows 10   I am having a silly isue that is probably all my fault, but I can't seem to work it out. I am exporting four datastores to an XML file using this command      ads.SaveAs(as_file, XML!, true, EncodingU...
Does anyone have either any successful examples of using HTTPClient to consume a .Net Web API that requires XML to be passed to it? OR know why I’m receiving the error\issues below when trying to pass the XML? I’m using PowerBuilder 2021 Profe...
We have a complex (400 item) menu built in PB 2017. This menu is also viewable as a tree view. I am trying to convert the menu to a ribbonbar.   The security code for the menu looks hierarchically through the menu at the tag of each menu item and ...
Are there any alternatives available in PowerBuilder that assist us in creating XSLT for a Datawindow? I've been experimenting with the XML Template in the DataWindow Painter and it appears to be able to rename the elements, add attributes and some ...
I have a problem with new Chromium based WebBrowser to show XML-files in spite I have used constructor and  WebBrowserSet("allow-file-access-from-files","true") seems that it only reads first row. Files like *.pdf or *.jpg are shown correctly. XML-f...
Hi.   Is there a way for pretty print XML? We receive on long string of XML data, but want to pretty print this in a MLE og RTF edit for better viewing. An online REST solution could work, but I cannot seem to find any.   br,   Bjarne Anker ...
Hello all   I am trying to read an xml file from my app - just using the standard way . fileopen , fileread , pos and mid to get the data . The file contains Hebrew letters which shown on screen as symbols .  I have tried encoding ans so on but n...
Hello everyone!   I have request to create XML invoice file and electronically sign it with general electronic signature (xmldsig) or advanced electronic signature (XAdES). Did anyone worked on something similar in PB and could give me any advice?...
I'm attempting to use the LoadXml() method of an MSXML Dom Document in an azure environment and it simply isn't working. When running on non-azure environments it works fine.There is no dev environment for our azure server yet so I can't view the err...
Hi Team, We currently connect to SAPGUI 7.5 with saplogon.ini file. We need assistance in connection Powerbuilder to SAPGUI 7.6 with xml file.Thanks....
So I have the following XML string: <Result><Status><ReplyStatus>1</ReplyStatus><ReplyText>Success</ReplyText></Status><Data /></Result> With the following PowerScript I create a PBDOM document ...
In the process of migrating from 2017R2 to 2019R3.  My application implements PBDOM and we have PBDOM170.PBD in our lib list. seems simple enough I'll just grad a copy of the PBDOM190.PDB and adjust the library list.... Turns out I can't find the l...
Hi guys! I have PB 2019 R2 and for the first time I have to create XML document with PBDOM. So at  the beginning of new xml file I have to write Processing instruction: <? xml version="1.0" encoding="utf-8" standalone="yes"?> My sample cod...
Hi All! How sign a xml file with a certificate x.509? Here we use many many xml files to exchange information between companies and we need sign with certificate x.509 (A1, A3...) these files to guarantee the security... Is there a resource in PB ...
Hi all ,    I am consuming api ws with httpclient .POST : url + xml string formatted . I build the xml string my self ( not dw export ) The problem is when i want to use the character & in the string the ws return an error : Illegal xml . Th...
  • Page :
  • 1