Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6737917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:18:18+00:00 2026-05-26T11:18:18+00:00

Source Input <SiebelMessage MessageId=1-18J35 IntObjectName=XRX R5 Letter Instance MessageType=Integration Object IntObjectFormat=Siebel Hierarchical> <LetterInstance Id=1-1RUYIF

  • 0

Source Input

<SiebelMessage MessageId="1-18J35" IntObjectName="XRX R5 Letter Instance"  MessageType="Integration Object" IntObjectFormat="Siebel Hierarchical">
<LetterInstance  Id="1-1RUYIF" Language="ENU" TemplateType="SA">
<Field  Value="CO Last Name"  Datatype="String" Name="ContractingOfficerLastName">
</LetterInstance>
</SiebelMessage>

Expected Outcome:

<?xml version="1.0" encoding="UTF-8"?>
<SiebelMessage MessageId="1-18J35" IntObjectName="XRX R5 Letter Instance" MessageType="Integration Object" IntObjectFormat="Siebel Hierarchical">
<LetterInstance  Id="1-1RUYIF" Language="ENU" TemplateType="SA">
<ContractingOfficerLastName>CO Last Name</ContractingOfficerLastName>
<PONumber>POTest000001</PONumber>
</LetterInstance>
</SiebelMessage>

Basically getting the value of Name attribute of Field element and construct a new element and then get the value of “Value” attribute and using it as value of new element.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:18:19+00:00Added an answer on May 26, 2026 at 11:18 am

    This XSL Stylesheet:

    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:output indent="yes"/>
      <xsl:strip-space elements="*"/>
    
      <xsl:template match="node()|@*">
        <xsl:copy>
          <xsl:apply-templates select="node()|@*"/>
        </xsl:copy>
      </xsl:template>
    
      <xsl:template match="Field">
        <xsl:element name="{@Name}">
          <xsl:value-of select="@Value"/>
        </xsl:element>
      </xsl:template>
    
    </xsl:stylesheet>
    

    Applied to well-formed input:

    <SiebelMessage MessageId="1-18J35" IntObjectName="XRX R5 Letter Instance"  MessageType="Integration Object" IntObjectFormat="Siebel Hierarchical">
      <LetterInstance  Id="1-1RUYIF" Language="ENU" TemplateType="SA">
        <Field  Value="CO Last Name"  Datatype="String" Name="ContractingOfficerLastName"/>
      </LetterInstance>
    </SiebelMessage>
    

    Produces:

    <SiebelMessage MessageId="1-18J35" IntObjectName="XRX R5 Letter Instance" MessageType="Integration Object" IntObjectFormat="Siebel Hierarchical">
       <LetterInstance Id="1-1RUYIF" Language="ENU" TemplateType="SA">
          <ContractingOfficerLastName>CO Last Name</ContractingOfficerLastName>
       </LetterInstance>
    </SiebelMessage>
    

    I’m not sure where <PONumber> is supposed to be generated from.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a component by giving XML source input directly using core
I'm trying to write a function : Input: Source range, Source value, output range,
I have next function for autocomplete an input: $(#auto).autocomplete({ source:/autocomplete.php, minLength: 5, _renderItem: function(
I want to parse an input file that has syntax similar to c++ source.
I have a IHttpHandler that acts as a source to a jQuery Autocomplete input
I am generating some Xaml based on some other source of input. In some
At work our Java applications use all sorts of non-Java source (input) files (XML,
I actually get the input source from PostgreSQL. The table column type is bytea.
I have the following JSON string coming from external input source: {value: "82363549923gnyh49c9djl239pjm01223", id:
I would like to create a new International Text Input Source along the lines

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.