on 10-18-2013 8:35 AM
I want to do xslt mapping in one of my scenario. and i want to use <IF> tag in it .
My question is can i use this tag like below in xslt mapping ?
<xsl:if test="PropertyValuationList/PropertyValuation/PropertyReference[text()='/CCM/PRODUCT_ID']/../PropertyValues/SimpleValue/NameSpecification/text()!=''" OR test="PropertyValuationList/PropertyValuation/PropertyReference[text()='/CCM/SUPPLIER_PART_ID']/../PropertyValues/SimpleValue/NameSpecification/text()!=''">
..... some other process...
</xsl:if>
please help me in this.
Try to explain the test you are doing. This is not correct
PropertyValuationList/PropertyValuation/PropertyReference[text()='/CCM/PRODUCT_ID']
because text() is a method of PropertyReference....
Maybe if you post a sample XML file and try to explain the test you want to do I can help you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.