Guest Varun Posted August 22, 2006 Share Posted August 22, 2006 I want to map a from one .xsd to another .xsd with if conditionlike if /ns0:OrderReport/ns0:Item/ns0:ItemPrice/ns0:Component/ns0:Type='Shipping'then map <attribute12> <xsl:value-of select="/ns0:OrderReport/ns0:Item/ns0:ItemPrice/ns0:Component/ns0:Amount/@currency"/> </attribute12>Else dont.How can we do that. Link to comment Share on other sites More sharing options...
Reg Edit Posted August 22, 2006 Share Posted August 22, 2006 http://www.w3schools.com/xsl/el_when.asp Link to comment Share on other sites More sharing options...
boen_robot Posted August 22, 2006 Share Posted August 22, 2006 Um... have you read the XSLT tutorial? The xsl:if part to be more precise. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now