Connecting Tech Pros Worldwide Help | Site Map

to get values from an XML to an XSL

Newbie
 
Join Date: Oct 2006
Posts: 1
#1: Oct 5 '06
This is my response XML,i want to fetch these values to my XSL.Do i need to write any Java code or can i directly fetch to my XSL??



<ns0:VINValidationResult xmlns:ns0="http://xmlns.example.com/unique/default/namespace/1107340988874
">
<ns0:VIN>1FTZX1729WNA44087</ns0:VIN>
<ns0:isVINValid>VALID</ns0:isVINValid>
<ns0:NumOfFuelType>1</ns0:NumOfFuelType>
<ns0:FuelType/>
<ns0:NumOfMOC>1</ns0:NumOfMOC>
<ns0:LngCode>EN</ns0:LngCode>
<ns0:CountryCode>US</ns0:CountryCode>
<ns0:VCode>1FTZX172</ns0:VCode>
<ns0:VCodeYr>W</ns0:VCodeYr>
<ns0:Variation>4x2 Super Cab Styleside 138.5 in. WB;4x2 Super Cab Styleside 157.1 in. WB</ns0:V
ariation>
Newbie
 
Join Date: Oct 2006
Posts: 2
#2: Oct 6 '06

re: to get values from an XML to an XSL


I think you posted partial XML since it is not well formed as it is. I assume you get this response XML in your java code. You'll then need a few more lines to apply your xsl. The exact syntax might differ for different java parsers.
Reply