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 7861841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:54:02+00:00 2026-06-02T22:54:02+00:00

I am facing problem with my xslt transformation. Where the source xml has multilevel

  • 0

I am facing problem with my xslt transformation. Where the source xml has multilevel nodes.

I want to transform xml from one form to other

Here is my xslt

  <?xml version="1.0" encoding="UTF-8"?>
  <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
  <xsl:template match="text() | @*">
    <xsl:apply-templates select="text() | @*"/>
  </xsl:template>
  <xsl:template match="SalesOrder">
    <SalesOrder z:Id="i1" xmlns="http://schemas.datacontract.org/2004/07/Eurofins.Genomics.Egsp.Xbo.OrderManagement" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
      <BillTo>
        <xsl:value-of select="BillTo"/>
      </BillTo>
      <OrderReferenceCustomer>
        <xsl:value-of select="OrderID"/>
      </OrderReferenceCustomer>
      <OrderStatus>
        <xsl:value-of select="OrderStatus"/>
      </OrderStatus>
      <Contact>
        <xsl:value-of select="BillTo"/>
      </Contact>
      <ShipTo>
        <xsl:value-of select="ShipTo"/>
      </ShipTo>
      <SoldTo>
        <xsl:value-of select="SoldTo"/>
      </SoldTo>
      <SoldBy>
        <xsl:value-of select="SoldBy"/>
      </SoldBy>
      <Site>
        <xsl:value-of select="OrderSite"/>
      </Site>
      <ConfirmedDate>
        <xsl:value-of select="ConfirmedDate"/>
      </ConfirmedDate>
      <xsl:apply-templates/>
    </SalesOrder>
  </xsl:template>
  <xsl:template match="FulfilmentInfo">
    <FulfillmentInfo>
      <TestOrder>
        <xsl:value-of select="TestOrder"/>
      </TestOrder>
      <PromotionCode>
        <xsl:value-of select="PromotionCode"/>
      </PromotionCode>
      <FirstConfirmedDate>
        <xsl:value-of select="FirstConfirmedDate"/>
      </FirstConfirmedDate>
      <DocumentationLanguage>
        <xsl:value-of select="DocumentationLanguage"/>
      </DocumentationLanguage>
    </FulfillmentInfo>
  </xsl:template>
  <xsl:template match="PaymentOptions">
    <PaymentInformations>
        <xsl:apply-templates />
    </PaymentInformations>
  </xsl:template>
  <xsl:template match="PaymentOptions">
    <PaymentInformation>
      <PaymentMethod>
        <xsl:value-of select="PaymentMethod"/>
      </PaymentMethod>
    </PaymentInformation>
  </xsl:template>
</xsl:stylesheet>

My destination transformed xml is like this

<SalesOrder>
      <BillTo>anyType</BillTo>
      <OrderReferenceCustomer>anyType</OrderReferenceCustomer>
      <OrderStatus>InCart</OrderStatus>
      <Contact>anyType</Contact>
      <ShipTo>anyType</ShipTo>
      <SoldTo>anyType</SoldTo>
      <SoldBy>anyType</SoldBy>
      <Site>TKY</Site>
      <ConfirmedDate>1900-01-01T01:01:01+05:30</ConfirmedDate>
      <FulfillmentInfo xmlns="">
        <TestOrder>true</TestOrder>
        <PromotionCode>anyType</PromotionCode>
        <FirstConfirmedDate>1900-01-01T01:01:01+05:30</FirstConfirmedDate>
        <DocumentationLanguage>anyType</DocumentationLanguage>
      </FulfillmentInfo>
      <PaymentInformation xmlns="">
        <PaymentMethod>CC</PaymentMethod>
      </PaymentInformation>
      <PaymentInformation xmlns="">
        <PaymentMethod>PO</PaymentMethod>
      </PaymentInformation>
      <PaymentInformation xmlns="">
        <PaymentMethod>EVO</PaymentMethod>
      </PaymentInformation>
    </SalesOrder>

This the expected outcome, i wanted from my transformation

<SalesOrder>
  <BillTo>anyType</BillTo>
  <OrderReferenceCustomer>anyType</OrderReferenceCustomer>
  <OrderStatus>InCart</OrderStatus>
  <Contact>anyType</Contact>
  <ShipTo>anyType</ShipTo>
  <SoldTo>anyType</SoldTo>
  <SoldBy>anyType</SoldBy>
  <Site>TKY</Site>
  <ConfirmedDate>1900-01-01T01:01:01+05:30</ConfirmedDate>
  <FulfillmentInfo xmlns="">
    <TestOrder>true</TestOrder>
    <PromotionCode>anyType</PromotionCode>
    <FirstConfirmedDate>1900-01-01T01:01:01+05:30</FirstConfirmedDate>
    <DocumentationLanguage>anyType</DocumentationLanguage>
  </FulfillmentInfo>
<PaymentInformations>
  <PaymentInformation xmlns="">
    <PaymentMethod>CC</PaymentMethod>
  </PaymentInformation>
  <PaymentInformation xmlns="">
    <PaymentMethod>PO</PaymentMethod>
  </PaymentInformation>
  <PaymentInformation xmlns="">
    <PaymentMethod>EVO</PaymentMethod>
  </PaymentInformation>
</PaymentInformations>
</SalesOrder>

I also would like to know if this is the right approach in transforming xml from one format to the other which has multi level nodes.

Here is my input XML :

<?xml version="1.0" encoding="utf-8"?>
<GenomicOrder>
  <SalesOrder>
    <OrderID>anyType</OrderID>
    <ProductionOrderCount>1</ProductionOrderCount>
    <OrderStatus>InCart</OrderStatus>
    <Contact>anyType</Contact>
    <ShipTo>anyType</ShipTo>
    <SoldTo>anyType</SoldTo>
    <BillTo>anyType</BillTo>
    <SoldBy>anyType</SoldBy>
    <OrderSite>TKY</OrderSite>
    <ConfirmedDate>1900-01-01T01:01:01+05:30</ConfirmedDate>
    <OrderRef>
      <Type>ERP</Type>
      <OrderRef>OrderRef1</OrderRef>
    </OrderRef>
    <OrderRef>
      <Type>CUSTOMER</Type>
      <OrderRef>OrderRef2</OrderRef>
    </OrderRef>
    <OrderRef>
      <Type>EXT</Type>
      <OrderRef>OrderRef3</OrderRef>
    </OrderRef>
    <FulfilmentInfo>
      <TestOrder>true</TestOrder>
      <PromotionCode>anyType</PromotionCode>
      <Comment>
        <CommentType>anyType</CommentType>
        <CommentText>anyType</CommentText>
        <CommentDate>1900-01-01T01:01:01+05:30</CommentDate>
        <InternalComment>true</InternalComment>
      </Comment>
      <Comment>
        <CommentType>anyType</CommentType>
        <CommentText>anyType</CommentText>
        <CommentDate>0001-01-01T00:00:00+05:30</CommentDate>
        <InternalComment>false</InternalComment>
      </Comment>
      <Comment>
        <CommentType>anyType</CommentType>
        <CommentText>anyType</CommentText>
        <CommentDate>9999-12-31T23:59:59.9999999+05:30</CommentDate>
        <InternalComment>true</InternalComment>
      </Comment>
      <Shipment>
        <shippingMethod>anyType</shippingMethod>
        <shippingCarrier>anyType</shippingCarrier>
        <shippingAccount>anyType</shippingAccount>
        <condolidatedShipment>anyType</condolidatedShipment>
        <ShippingCost>
          <NetPrice>1</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </ShippingCost>
      </Shipment>
      <FirstConfirmedDate>1900-01-01T01:01:01+05:30</FirstConfirmedDate>
      <DocumentationLanguage>anyType</DocumentationLanguage>
      <GiftCertificate>anyType</GiftCertificate>
      <GiftCertificate>anyType</GiftCertificate>
      <GiftCertificate>anyType</GiftCertificate>
    </FulfilmentInfo>
    <PaymentOptions>
      <PaymentMethod>CC</PaymentMethod>
      <TransactionId>anyType</TransactionId>
      <CardID>anyType</CardID>
      <PoNumber>PoNumber1</PoNumber>
      <Amount>1</Amount>
    </PaymentOptions>
    <PaymentOptions>
      <PaymentMethod>PO</PaymentMethod>
      <TransactionId>anyType</TransactionId>
      <CardID>anyType</CardID>
      <PoNumber>PoNumber2</PoNumber>
      <Amount>-3.40282347E+38</Amount>
    </PaymentOptions>
    <PaymentOptions>
      <PaymentMethod>EVO</PaymentMethod>
      <TransactionId>anyType</TransactionId>
      <CardID>anyType</CardID>
      <PoNumber>PoNumber3</PoNumber>
      <Amount>3.40282347E+38</Amount>
    </PaymentOptions>
  </SalesOrder>
  <ProductionOrder>
    <extpectedDeliveryDate>anyType</extpectedDeliveryDate>
    <ProductionSite>TKY</ProductionSite>
    <ProductionSystem>anyType</ProductionSystem>
    <BusinessUnit>GSY</BusinessUnit>
    <Comment>
      <CommentType>anyType</CommentType>
      <CommentText>anyType</CommentText>
      <CommentDate>1900-01-01T01:01:01+05:30</CommentDate>
      <InternalComment>true</InternalComment>
    </Comment>
    <Comment>
      <CommentType>anyType</CommentType>
      <CommentText>anyType</CommentText>
      <CommentDate>0001-01-01T00:00:00+05:30</CommentDate>
      <InternalComment>false</InternalComment>
    </Comment>
    <Comment>
      <CommentType>anyType</CommentType>
      <CommentText>anyType</CommentText>
      <CommentDate>9999-12-31T23:59:59.9999999+05:30</CommentDate>
      <InternalComment>true</InternalComment>
    </Comment>
    <Price>
      <NetPrice>1</NetPrice>
      <Tax>anyType</Tax>
      <Currency>anyType</Currency>
      <CalculationDate>anyType</CalculationDate>
    </Price>
    <Shipment>
      <shippingMethod>anyType</shippingMethod>
      <shippingCarrier>anyType</shippingCarrier>
      <shippingAccount>anyType</shippingAccount>
      <condolidatedShipment>anyType</condolidatedShipment>
      <ShippingCost>
        <NetPrice>-3.40282347E+38</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </ShippingCost>
    </Shipment>
    <OrderItems>
      <ItemName>anyType</ItemName>
      <Quantity>anyType</Quantity>
      <UnitPrice>
        <NetPrice>1</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </UnitPrice>
      <KitNumber>anyType</KitNumber>
      <KitComponents>
        <KitComponentNumber>anyType</KitComponentNumber>
        <Quantity>anyType</Quantity>
        <Price>
          <NetPrice>1</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </Price>
      </KitComponents>
      <ProductionInformation>
        <GeneItem>anyType</GeneItem>
      </ProductionInformation>
    </OrderItems>
    <OrderItems>
      <ItemName>anyType</ItemName>
      <Quantity>anyType</Quantity>
      <UnitPrice>
        <NetPrice>-3.40282347E+38</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </UnitPrice>
      <KitNumber>anyType</KitNumber>
      <KitComponents>
        <KitComponentNumber>anyType</KitComponentNumber>
        <Quantity>anyType</Quantity>
        <Price>
          <NetPrice>-3.40282347E+38</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </Price>
      </KitComponents>
      <ProductionInformation>
        <GeneItem>anyType</GeneItem>
      </ProductionInformation>
    </OrderItems>
    <OrderItems>
      <ItemName>anyType</ItemName>
      <Quantity>anyType</Quantity>
      <UnitPrice>
        <NetPrice>3.40282347E+38</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </UnitPrice>
      <KitNumber>anyType</KitNumber>
      <KitComponents>
        <KitComponentNumber>anyType</KitComponentNumber>
        <Quantity>anyType</Quantity>
        <Price>
          <NetPrice>3.40282347E+38</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </Price>
      </KitComponents>
      <ProductionInformation>
        <GeneItem>anyType</GeneItem>
      </ProductionInformation>
    </OrderItems>
    <ProductionOrderStatus>CART</ProductionOrderStatus>
  </ProductionOrder>
  <ProductionOrder>
    <extpectedDeliveryDate>anyType</extpectedDeliveryDate>
    <ProductionSite>EBE</ProductionSite>
    <ProductionSystem>anyType</ProductionSystem>
    <BusinessUnit>OLIGO</BusinessUnit>
    <Comment>
      <CommentType>anyType</CommentType>
      <CommentText>anyType</CommentText>
      <CommentDate>1899-11-30T01:01:01+05:30</CommentDate>
      <InternalComment>false</InternalComment>
    </Comment>
    <Comment>
      <CommentType>anyType</CommentType>
      <CommentText>anyType</CommentText>
      <CommentDate>1900-02-02T01:01:01+05:30</CommentDate>
      <InternalComment>true</InternalComment>
    </Comment>
    <Comment>
      <CommentType>anyType</CommentType>
      <CommentText>anyType</CommentText>
      <CommentDate>0001-02-02T00:00:00+05:30</CommentDate>
      <InternalComment>false</InternalComment>
    </Comment>
    <Price>
      <NetPrice>-3.40282347E+38</NetPrice>
      <Tax>anyType</Tax>
      <Currency>anyType</Currency>
      <CalculationDate>anyType</CalculationDate>
    </Price>
    <Shipment>
      <shippingMethod>anyType</shippingMethod>
      <shippingCarrier>anyType</shippingCarrier>
      <shippingAccount>anyType</shippingAccount>
      <condolidatedShipment>anyType</condolidatedShipment>
      <ShippingCost>
        <NetPrice>3.40282347E+38</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </ShippingCost>
    </Shipment>
    <OrderItems>
      <ItemName>anyType</ItemName>
      <Quantity>anyType</Quantity>
      <UnitPrice>
        <NetPrice>-0.100000024</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </UnitPrice>
      <KitNumber>anyType</KitNumber>
      <KitComponents>
        <KitComponentNumber>anyType</KitComponentNumber>
        <Quantity>anyType</Quantity>
        <Price>
          <NetPrice>0.100000024</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </Price>
      </KitComponents>
      <ProductionInformation>
        <GeneItem>anyType</GeneItem>
      </ProductionInformation>
    </OrderItems>
    <OrderItems>
      <ItemName>anyType</ItemName>
      <Quantity>anyType</Quantity>
      <UnitPrice>
        <NetPrice>2.1</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </UnitPrice>
      <KitNumber>anyType</KitNumber>
      <KitComponents>
        <KitComponentNumber>anyType</KitComponentNumber>
        <Quantity>anyType</Quantity>
        <Price>
          <NetPrice>2.1</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </Price>
      </KitComponents>
      <ProductionInformation>
        <GeneItem>anyType</GeneItem>
      </ProductionInformation>
    </OrderItems>
    <OrderItems>
      <ItemName>anyType</ItemName>
      <Quantity>anyType</Quantity>
      <UnitPrice>
        <NetPrice>3.40282347E+38</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </UnitPrice>
      <KitNumber>anyType</KitNumber>
      <KitComponents>
        <KitComponentNumber>anyType</KitComponentNumber>
        <Quantity>anyType</Quantity>
        <Price>
          <NetPrice>-3.40282347E+38</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </Price>
      </KitComponents>
      <ProductionInformation>
        <GeneItem>anyType</GeneItem>
      </ProductionInformation>
    </OrderItems>
    <ProductionOrderStatus>ORDERED</ProductionOrderStatus>
  </ProductionOrder>
  <ProductionOrder>
    <extpectedDeliveryDate>anyType</extpectedDeliveryDate>
    <ProductionSite>HSV</ProductionSite>
    <ProductionSystem>anyType</ProductionSystem>
    <BusinessUnit>NGS</BusinessUnit>
    <Comment>
      <CommentType>anyType</CommentType>
      <CommentText>anyType</CommentText>
      <CommentDate>9999-11-29T23:59:59.9999999+05:30</CommentDate>
      <InternalComment>true</InternalComment>
    </Comment>
    <Comment>
      <CommentType>anyType</CommentType>
      <CommentText>anyType</CommentText>
      <CommentDate>1899-10-29T01:01:01+05:30</CommentDate>
      <InternalComment>false</InternalComment>
    </Comment>
    <Comment>
      <CommentType>anyType</CommentType>
      <CommentText>anyType</CommentText>
      <CommentDate>1900-03-06T01:01:01+05:30</CommentDate>
      <InternalComment>true</InternalComment>
    </Comment>
    <Price>
      <NetPrice>3.40282347E+38</NetPrice>
      <Tax>anyType</Tax>
      <Currency>anyType</Currency>
      <CalculationDate>anyType</CalculationDate>
    </Price>
    <Shipment>
      <shippingMethod>anyType</shippingMethod>
      <shippingCarrier>anyType</shippingCarrier>
      <shippingAccount>anyType</shippingAccount>
      <condolidatedShipment>anyType</condolidatedShipment>
      <ShippingCost>
        <NetPrice>-0.100000024</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </ShippingCost>
    </Shipment>
    <OrderItems>
      <ItemName>anyType</ItemName>
      <Quantity>anyType</Quantity>
      <UnitPrice>
        <NetPrice>3.40282347E+38</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </UnitPrice>
      <KitNumber>anyType</KitNumber>
      <KitComponents>
        <KitComponentNumber>anyType</KitComponentNumber>
        <Quantity>anyType</Quantity>
        <Price>
          <NetPrice>3.40282347E+38</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </Price>
      </KitComponents>
      <ProductionInformation>
        <GeneItem>anyType</GeneItem>
      </ProductionInformation>
    </OrderItems>
    <OrderItems>
      <ItemName>anyType</ItemName>
      <Quantity>anyType</Quantity>
      <UnitPrice>
        <NetPrice>1.2</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </UnitPrice>
      <KitNumber>anyType</KitNumber>
      <KitComponents>
        <KitComponentNumber>anyType</KitComponentNumber>
        <Quantity>anyType</Quantity>
        <Price>
          <NetPrice>1.2</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </Price>
      </KitComponents>
      <ProductionInformation>
        <GeneItem>anyType</GeneItem>
      </ProductionInformation>
    </OrderItems>
    <OrderItems>
      <ItemName>anyType</ItemName>
      <Quantity>anyType</Quantity>
      <UnitPrice>
        <NetPrice>3.2</NetPrice>
        <Tax>anyType</Tax>
        <Currency>anyType</Currency>
        <CalculationDate>anyType</CalculationDate>
      </UnitPrice>
      <KitNumber>anyType</KitNumber>
      <KitComponents>
        <KitComponentNumber>anyType</KitComponentNumber>
        <Quantity>anyType</Quantity>
        <Price>
          <NetPrice>3.2</NetPrice>
          <Tax>anyType</Tax>
          <Currency>anyType</Currency>
          <CalculationDate>anyType</CalculationDate>
        </Price>
      </KitComponents>
      <ProductionInformation>
        <GeneItem>anyType</GeneItem>
      </ProductionInformation>
    </OrderItems>
    <ProductionOrderStatus>REVIEW</ProductionOrderStatus>
  </ProductionOrder>
</GenomicOrder>

This is my desired outcome i am expecting from my transformation

    <?xml version="1.0" encoding="utf-8"?>
<SalesOrder xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eurofins.Genomics.Egsp.Xbo.OrderManagement" z:Id="i1">
  <CreatedByClient >testString</CreatedByClient>
  <CreatedByUser >testString</CreatedByUser>
  <CreatedOn >2012-04-26T17:44:15.4556116+05:30</CreatedOn>
  <ExchangeableBusinessObjectId >00000000-0000-0000-0000-000000000000</ExchangeableBusinessObjectId>
  <IncrementalId >0</IncrementalId>
  <InstanceStatus >Active</InstanceStatus>
  <ModifiedByClient  i:nil="true"/>
  <ModifiedByUser  i:nil="true"/>
  <ModifiedOn  i:nil="true"/>
  <BillTo>self</BillTo>
  <ConfirmedDate>2012-04-26T17:44:15.4546116+05:30</ConfirmedDate>
  <Contact z:Id="i2">
    <CreatedByClient >TestApplication</CreatedByClient>
    <CreatedByUser >Ram</CreatedByUser>
    <CreatedOn >2012-04-26T17:44:15.4546116+05:30</CreatedOn>
    <ExchangeableBusinessObjectId >00000000-0000-0000-0000-000000000000</ExchangeableBusinessObjectId>
    <IncrementalId >0</IncrementalId>
    <InstanceStatus >Active</InstanceStatus>
    <ModifiedByClient  i:nil="true"/>
    <ModifiedByUser  i:nil="true"/>
    <ModifiedOn  i:nil="true"/>
    <Address z:Id="i3">
      <CreatedByClient  i:nil="true"/>
      <CreatedByUser  i:nil="true"/>
      <CreatedOn >2012-04-26T17:44:15.4556116+05:30</CreatedOn>
      <ExchangeableBusinessObjectId >00000000-0000-0000-0000-000000000000</ExchangeableBusinessObjectId>
      <IncrementalId >0</IncrementalId>
      <InstanceStatus >Active</InstanceStatus>
      <ModifiedByClient  i:nil="true"/>
      <ModifiedByUser  i:nil="true"/>
      <ModifiedOn  i:nil="true"/>
      <AddressType>Contact</AddressType>
      <City>Bangalore</City>
      <Country>India</Country>
      <CustomField1 i:nil="true"/>
      <CustomField2 i:nil="true"/>
      <Fax i:nil="true"/>
      <FirstName i:nil="true"/>
      <LastName i:nil="true"/>
      <Line1 i:nil="true"/>
      <Line2 i:nil="true"/>
      <Line3 i:nil="true"/>
      <Mobile i:nil="true"/>
      <Phone i:nil="true"/>
      <Recipient i:nil="true"/>
      <State i:nil="true"/>
      <Street i:nil="true"/>
      <Title i:nil="true"/>
      <Zip i:nil="true"/>
    </Address>
    <EmailAddress>ramprasad@eurofins.com</EmailAddress>
    <VatId i:nil="true"/>
  </Contact>
  <FulfillmentInfo z:Id="i4">
    <CreatedByClient  i:nil="true"/>
    <CreatedByUser >ram</CreatedByUser>
    <CreatedOn  i:nil="true"/>
    <ExchangeableBusinessObjectId >00000000-0000-0000-0000-000000000000</ExchangeableBusinessObjectId>
    <IncrementalId >0</IncrementalId>
    <InstanceStatus >Active</InstanceStatus>
    <ModifiedByClient  i:nil="true"/>
    <ModifiedByUser  i:nil="true"/>
    <ModifiedOn  i:nil="true"/>
    <Comments i:nil="true"/>
    <DocumentationLanguage>testString</DocumentationLanguage>
    <FirstConfirmedDate>2012-04-26T17:44:15.4536116+05:30</FirstConfirmedDate>
    <GiftCertificate i:nil="true"/>
    <GiftCertificates i:nil="true"/>
    <PromotionCode>testString</PromotionCode>
    <TestOrder>false</TestOrder>
  </FulfillmentInfo>
  <OrderReference>test</OrderReference>
  <OrderReferenceCustomer>Order123456</OrderReferenceCustomer>
  <OrderReferenceExternal>testext</OrderReferenceExternal>
  <OrderStatus>Review</OrderStatus>
  <PaymentInformations>
    <PaymentInformation z:Id="i5">
      <CreatedByClient >testString</CreatedByClient>
      <CreatedByUser >testString</CreatedByUser>
      <CreatedOn >2012-04-26T17:44:15.4536116+05:30</CreatedOn>
      <ExchangeableBusinessObjectId >00000000-0000-0000-0000-000000000000</ExchangeableBusinessObjectId>
      <IncrementalId >0</IncrementalId>
      <InstanceStatus >Active</InstanceStatus>
      <ModifiedByClient  i:nil="true"/>
      <ModifiedByUser  i:nil="true"/>
      <ModifiedOn  i:nil="true"/>
      <Amount>123</Amount>
      <EvoCardId>ER</EvoCardId>
      <PaymentMethod>EvoCard</PaymentMethod>
      <PoNumber i:nil="true"/>
      <TransactionID i:nil="true"/>
    </PaymentInformation>
  </PaymentInformations>
  • 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-06-02T22:54:04+00:00Added an answer on June 2, 2026 at 10:54 pm

    Maybe just have a little more control of your transformation flow? something like this:

     <xsl:template match="/">
        <xsl:apply-templates select="GenomicOrder/SalesOrder"/>
     </xsl:template>
     ...
    
      <xsl:template match="SalesOrder">
        <SalesOrder>
        ...
          <xsl:apply-templates select="FulfilmentInfo"/>
          <PaymentInformations>
              <xsl:apply-templates select="PaymentOptions/PaymentMethod"/>
          </PaymentInformations>
        </SalesOrder>
      </xsl:template>
      ...
      <xsl:template match="PaymentMethod">
        <PaymentInformation>
          <PaymentMethod>
            <xsl:value-of select="."/>
          </PaymentMethod>
        </PaymentInformation>
      </xsl:template>
      ...
    

    if not for the namespace change you could also get away with <xsl:copy-of select=""> instead of re-creating the structure manually.

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

Sidebar

Related Questions

I am facing one problem while writing one xslt: xml: <students> <studentDetails tag=to id=1
I am facing problem while aligning two text, one in center and other text
I am facing problem while generating CAB file. I want to customize the INF
I'm facing problem when migrate my web app project from development server to live
I'm facing problem in showing FolderBrowserDialog instance created and called from a non-UI thread.
I am migrating an applciation from windows to linux. I am facing problem with
I have facing problem in listview i am getting data from server and after
All, I'm new to XSLT and facing a typical problem. Below is the problem
I am facing problem adding and deleting DataRows from a DataTable that is meant
I am facing problem in receiving email. I have a registration form, when form

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.