1. Information Systems
  2. PowerBuilder
  3. Monday, 24 July 2023 15:29 PM UTC

Hi all,

I have a question about the exporting function of a datawindow in XHTML.

I have built a small DLL in C# that allows me to convert a group datawindow, exported as XHTML, into a docx file. I use the export to XHTML only because it is a format that facilitates the conversion: it allows me to recognize the different fields as header, groupheaders, details, footer, etc. (I doubt it is a good idea overall, but I wanted another method apart from using an OLE object).

Long story short, I encountered what seems to me a contradiction in the guide for pb2022 about exporting a datawindow as XHTML:

- on this page, it seems ok: https://docs.appeon.com/pb2022/datawindow_programmers_guide/dwprgug-webdw-exporting.html#d0e5939

- but on this other page, it seems that the same instruction is marked as obsolete: https://docs.appeon.com/pb2022/datawindow_reference/XREF_70072_Data_XHTML.html

So, I wanted to ask: is it safe (that is "not counterproductive") using the Data.XHTML method?

And if it is the case, is it safe to modify the default configuration on the Web Generation tab in the datawindow's properties? Because I don't need the generation of the js files. I know that it is "preserved for the backward compatibility only", but those properties affect the XHTML exportation.

Thanks in advance

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 25 July 2023 16:29 PM UTC
  2. PowerBuilder
  3. # 1

Hi ;

  AFAIK  - the "XHTML" feature is now obsolete. It "might" still work but it would be "use at own risk" IMHO.

Regards .. Chris

Comment
  1. Information Systems
  2. Wednesday, 26 July 2023 07:24 AM UTC
Thanks
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.