hellodineshgarg
06-07-2008, 09:22 AM
hello friends i have to write the xsl file so that when i will open file1.xml it will not show the bold lines of file1.xml.
file1.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="catalogxsl.xsl"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<cras:CRAS_Submit_Order xmlns:cras="http://cras.eai.o2c.ibm.com"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<request xsi:type="xsd:string">
<cras:submitOrder
xmlns:gshop="http://gshop.eai.o2c.ibm.com"
xmlns:Common="http://CommonCompanionElements.eai.o2c.ibm.com"
xmlns:products="http://products.eai.o2c.ibm.com"
xmlns:cs="http://companion.eai.o2c.ibm.com"
xmlns:cras="http://cras.eai.o2c.ibm.com">
<gshop:salesOrder>
<orderNumber>c-68660032</orderNumber>
<gshop:country>UK</gshop:country>
<gshop:orderType>NE</gshop:orderType>
<gshop:orderMethod>RT</gshop:orderMethod>
</request>
</cras:CRAS_Submit_Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
file2.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="catalogxsl.xsl"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<cras:CRAS_Submit_Order xmlns:cras="http://cras.eai.o2c.ibm.com"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<request xsi:type="xsd:string">
<cras:submitOrder
xmlns:gshop="http://gshop.eai.o2c.ibm.com"
xmlns:Common="http://CommonCompanionElements.eai.o2c.ibm.com"
xmlns:products="http://products.eai.o2c.ibm.com"
xmlns:cs="http://companion.eai.o2c.ibm.com"
xmlns:cras="http://cras.eai.o2c.ibm.com">
<gshop:salesOrder>
<gshop:orderType>NE</gshop:orderType>
<gshop:orderMethod>RT</gshop:orderMethod>
</request>
</cras:CRAS_Submit_Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
file1.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="catalogxsl.xsl"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<cras:CRAS_Submit_Order xmlns:cras="http://cras.eai.o2c.ibm.com"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<request xsi:type="xsd:string">
<cras:submitOrder
xmlns:gshop="http://gshop.eai.o2c.ibm.com"
xmlns:Common="http://CommonCompanionElements.eai.o2c.ibm.com"
xmlns:products="http://products.eai.o2c.ibm.com"
xmlns:cs="http://companion.eai.o2c.ibm.com"
xmlns:cras="http://cras.eai.o2c.ibm.com">
<gshop:salesOrder>
<orderNumber>c-68660032</orderNumber>
<gshop:country>UK</gshop:country>
<gshop:orderType>NE</gshop:orderType>
<gshop:orderMethod>RT</gshop:orderMethod>
</request>
</cras:CRAS_Submit_Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
file2.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="catalogxsl.xsl"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<cras:CRAS_Submit_Order xmlns:cras="http://cras.eai.o2c.ibm.com"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<request xsi:type="xsd:string">
<cras:submitOrder
xmlns:gshop="http://gshop.eai.o2c.ibm.com"
xmlns:Common="http://CommonCompanionElements.eai.o2c.ibm.com"
xmlns:products="http://products.eai.o2c.ibm.com"
xmlns:cs="http://companion.eai.o2c.ibm.com"
xmlns:cras="http://cras.eai.o2c.ibm.com">
<gshop:salesOrder>
<gshop:orderType>NE</gshop:orderType>
<gshop:orderMethod>RT</gshop:orderMethod>
</request>
</cras:CRAS_Submit_Order>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>