You need to be logged in to view a user's profile.
  1. EMILIO GARCIA ANDRES
  2. PowerBuilder
  3. Sunday, 27 February 2022 10:09 AM UTC

Hi all.

I am having a problem when importing an XML to a DW, because I don't know how to make the template for the following case:

The template:

The problem is the repeated tags(derived, code y property). 

I have found a solution to the problem, and it is to parse the XML myself substituting derived for derived1 and derived2, as well as with the other tags, so that there are no duplicate tags. That works fine for me. The only thing is to know if there is any way to make the template to avoid parsing the XML myself.

Thank you very much in advance.

-EGA-

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Sunday, 27 February 2022 15:53 PM UTC
  2. PowerBuilder
  3. # 1

Hi Emilio;

   If the XML is misshapen or too complex for the DWO, you may have to use PB's PBDOM library & classes to read the XML under PowerScript control.

Regards ... Chris

Comment
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.