Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am looking for a XSL Parser which parse the contents of the file.

For example this is xsl file:

XML
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="xml" />
 <xsl:template match="/dataset">
    <destinations>
       <xsl:if test="attr[@tag='12345678']='ABC'">
        <destination path="Some_text" />
      </xsl:if>
    </destinations>
  </xsl:template>
</xsl:stylesheet>



I want to parse it in such a way that I should get some thing like 12345678='ABC' , path='Some_text

I am using JAVA for my back end.

Any king of help will be appreciated.
Thanks.
Posted
Updated 3-Jan-11 21:32pm
v3
Comments
Hiren solanki 4-Jan-11 3:32am    
Just formatted.

1 solution

Here is one of the best Xerces[^] from the Apache foundation.

Regards
Espen Harlinn
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900