‎2012 Feb 23 6:50 AM
Trying to use simple transformation to convert data from SAP to below XML format.
please help me with examples..
Desired output
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ePASSRequest SYSTEM "D:\ePASS3.dtd">
<ePASSRequest requestID="RFP-PR003456_1329892182870"
submitterOrganization="Goa" submitterPassword="Test" submitterUser="manish">
<RFxRequest>
<createRFx>
<RFx OrganizationCode="SesaGoa" RFxCode="RFP-PR003456"
RFxName="RFP-PR003456" RFxTemplateCode="Sesa_RFP_Template" RFxType="RFP">
<Attachment AttachmentEntityType="rfx"
AttachmentFolderName="RFP"
AttachmentLocation="RFx_attachment_Header_LOC.pdf" AttachmentName="RFx_attachment_Header"/>
<Requisition RequisitionCode="lot1"
RequisitionDescription="lot 1 desc" RequisitionName="lot1">
<LineItem LineItemCategoryCode="root category"
LineItemCode="item1" LineItemDescription="desc"
LineItemMinimumDesiredQuantity="10.0" LineItemName="item1"
LineItemType="single" LineItemUnitOfMeasure="Box"/>
</Requisition>
</RFx>
</createRFx>
</RFxRequest>
</ePASSRequest>
‎2012 Feb 23 9:08 AM
Hi,
if you want to transform something to something else, you should declare, what is your source.
I would prefer to use plain XSL-Transformations, because you have a lot more options to transform your source and you can even better determine, how your output should looks like.
Kind regards,
Hendrik