This discussion is archived
1 Reply Latest reply: Apr 18, 2013 2:15 PM by Anuj Dwivedi RSS

How to map Internal-Properties in XSLT.

Ismail-m Newbie
Currently Being Moderated
Hi gurus,

I am having hard time mapping the internal properties in transformation. I have created ecs for EDI 855 outbound. In the transformation, I dont see the complete internal property structure on the target side. All I can see it a basic structure as listed below:

ns1:Internal-Properties
ns1:Data-Structure
Name
GUID
ns1:Lookup
Name
ns1:Property
Name
ns1:Data-Structure

Can someone post XSLT code where you have mapped the internal properties.

Thanks
Ismail.
  • 1. Re: How to map Internal-Properties in XSLT.
    Anuj Dwivedi Guru
    Currently Being Moderated
    For X12, Internal-Properties structure looks like below -
    <Internal-Properties>
     <Data-Structure Name="Interchange">
       <Lookup Name="InterchangeControlVersion">00401</Lookup>
       <Lookup Name="InterchangeReceiverID">Interchange Rec</Lookup>
       <Lookup Name="InterchangeReceiverQual">01</Lookup>
       <Lookup Name="InterchangeSenderID">Interchange Sen</Lookup>
       <Lookup Name="InterchangeSenderQual">01</Lookup>
       <Lookup Name="InterchangeUsageIndicator">I</Lookup>
       <Lookup Name="Standard">X12</Lookup>
       <Property Name="ElementDelimiter">0x7e</Property>
       <Property Name="InterchangeAckRequested">0</Property>
       <Property Name="InterchangeAuthorizationInfo">Authorizat</Property>
       <Property Name="InterchangeAuthorizationInfoQual">00</Property>
       <Property Name="InterchangeChildCount">1</Property>
       <Property Name="InterchangeComponentElementSep">0x5c</Property>
       <Property Name="InterchangeControlNumber">000000001</Property>
       <Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property>
       <Property Name="InterchangeControlVersion">00401</Property>
       <Property Name="InterchangeDate">110303</Property>
       <Property Name="InterchangeReceiverID">Interchange Rec</Property>
       <Property Name="InterchangeReceiverQual">01</Property>
       <Property Name="InterchangeSecurityInfo">Security I</Property>
       <Property Name="InterchangeSecurityInfoQual">00</Property>
       <Property Name="InterchangeSenderID">Interchange Sen</Property>
       <Property Name="InterchangeSenderQual">01</Property>
       <Property Name="InterchangeTime">1445</Property>
       <Property Name="InterchangeTrailerControlNumber">000000001</Property>
       <Property Name="InterchangeUsageIndicator">I</Property>
       <Property Name="SegmentDelimiter">0x0d0x0a</Property>
       <Property Name="Standard">X12</Property>
       <Property Name="SubelementDelimiter">0x5c</Property>
     </Data-Structure>
    </Internal-Properties>
    Instead of using loops or any other complex logic, just use create a simple XSL which has this structure defined and just pull the dynamic values at runtime from variables. You may hardcode the static values in XSL.

    Please remember that Internal-Properties are optional and should only be used when you need to override Document Protocol parameters defined in B2B by sending the values from middleware.

    You may like to refer -

    http://www.oracle.com/technetwork/middleware/soasuite/b2b-tu001-edi-133051.pdf (section Outbound EDI Processing)

    Regards,
    Anuj

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points