cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT Mapping

Former Member
0 Kudos

Hi Experts,

I'm unable to finish a XSLT Mapping could some one plz help me in finishing the scenario.

In SXMB_MONI I could see the

QStatus -- Stop, some time Error

A Green Flag for the Message

where exactly is the problem, is that in source message or mapping program?

Thanks in advance

Regards

Praveen

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

good

Former Member
0 Kudos

Yes Vijaya,

I got confirmation from Basis people that all the of them are registered and activated.

what else could be wrong.

Regards

Praveen

Former Member
0 Kudos

Dear Vijayalakshi,

See are the details:

My source Structure is

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Sender_MT xmlns:ns0="http://yash.com/YH1077/XSLT_Mapping">

<Person>

<FirstName>ABC</FirstName>

<LastName>XYZ</LastName>

<Gender>Male</Gender>

<Address>

<Street>ABC Street</Street>

<Houseno>1/29</Houseno>

<Postalcode>2131</Postalcode>

<City>Bangalore</City>

<Region>Karnataka</Region>

<CountryCode>91</CountryCode>

</Address>

</Person>

</ns0:Sender_MT>

My target Structure is

<?xml version="1.0" encoding="UTF-8" ?>

- <ns0:Receiver_MT xmlns:ns0="http://yash.com/YH1077/XSLT_Mapping">

<Title></Title>

<Name></Name>

<Street></Street>

<Zipcode></Zipcode>

<City></City>

<Country></Country>

</ns0:Receiver_MT>

My mapping program is:

<?xml version="1.0" ?>

- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://yash.com/YH1077/XSLT_Mapping">

- <xsl:template match="/">

- <ns0:Receiver_MT>

- <Title>

<xsl:value-of select="ns0:Sender_MT/Person/Gender" />

</Title>

- <Name>

<xsl:value-of select="concat(ns0:Sender_MT/Person/FirstName,ns0:Sender_MT/Person/LastName)" />

</Name>

- <Street>

<xsl:value-of select="concat(ns0:Sender_MT/Person/Address/Street,ns0:Sender_MT/Person/Address/Houseno)" />

</Street>

- <Zipcode>

<xsl:value-of select="ns0:Sender_MT/Person/Address/Postalcode" />

</Zipcode>

- <City>

<xsl:value-of select="ns0:Sender_MT/Person/Address/City" />

</City>

- <Country>

<xsl:value-of select="ns0:Sender_MT/Person/Address/CountryCode" />

</Country>

</ns0:Receiver_MT>

</xsl:template>

</xsl:stylesheet>

- <!--

Stylus Studio meta-information - (c) 2004-2005. Progress Software Corporation. All rights reserved.

<metaInformation>

<scenarios ><scenario default="yes" name="Scenario2" userelativepaths="yes" externalpreview="no" url="INPUT.XML" htmlbaseurl="" outputurl="OUTPUT.xml" processortype="internal" profilemode="0" profiledepth="" profilelength="" urlprofilexml="" commandline="" additionalpath="" additionalclasspath="" postprocessortype="none" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext=""/></scenarios><MapperMetaTag><MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="file:///c:/Documents and Settings/sridhar.pitti/Desktop/YH1077/XSLT/OUTPUT.xml" destSchemaRoot="Receiver_MT" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no" ><SourceSchema srcSchemaPath="file:///c:/Documents and Settings/sridhar.pitti/Desktop/YH1077/XSLT/INPUT.XML" srcSchemaRoot="Sender_MT" AssociatedInstance="" loaderFunction="document" loaderFunctionUsesURI="no"/></MapperInfo><MapperBlockPosition><template match="/"><block path="ns0:Receiver_MT/Name/xsl:value&#x2D;of" x="83" y="47"/><block path="ns0:Receiver_MT/Street/xsl:value&#x2D;of" x="140" y="129"/></template></MapperBlockPosition></MapperMetaTag>

</metaInformation>

-->

I hope every thing is good, Sender CC is reading the file and I could see the message in the SXMB_MONI. Apart from this the moni is showing green flag for processed messages.

and Queue as STOP.

Hope you can understand now

Former Member
0 Kudos

hi,

Have you registered the queues here..Basis ppl do this

TCODE: SXMB_ADM - register queues

Your XSLT is fine,I don think there is wrong with that.

Thanks,

Vijaya.

Former Member
0 Kudos

Hi,

Can you be more specific.

Thanks,

Vijaya