Jump to content

XSLT for a single "flat" record import


This topic is 4062 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm attempting to import a single XML record set (see attachment)XML_In.bmp.  I've tried using the example XSLT provided by FM msdso_elem.xslt.txtwhich works fine for records that have even the simplest hierarchy.  If I add another layer to the incoming XML , for example, AccountRecord like this:

<Account>

    <AccountRecord>

          <AvailableCashBalance>

. etc.

.

.

    </AccountRecord>

</Account>

 

then the sample XSLT works fine.

 

The XML stream that I get form HTTPS however does not have this kind of hierarchy; I'm always given the structure that you see in the attachment.

 

My question is how should the sample XSLT (also attached)msdso_elem.xslt.txt be modified to handle this XML?  Or if you have an alternative XSLT coding I would use that.

 

This is my first experience in XSLT thus this may seem rather elementary.  Thanks for your understanding and help.

 

Unc

Link to comment
Share on other sites

My issue is resolved.  I abandoned the XML import and solved it with a CSV approach.

 

Thanks.

 

Unc

Link to comment
Share on other sites

This topic is 4062 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.