Reading XSL docs

Hi,
I'm currently using a basic SAX Handler to read elements into a map to populate a drop down. For historical reasons, I need to read this info from an xsl fle. The info I want is specifed in teh doc like this:-
<xsl:template match="dropDowndata">
        <xsl:choose>
        <xsl:when test="context()[.='001']">blah blah blah</xsl:when>
  etc ...

How can I  do this?
mikehalfsheenAsked:
Who is Participating?
 
CEHJConnect With a Mentor Commented:
An xsl file is just an xml file. Read it as such
0
 
Giant2Commented:
Here for other examples:
http://javaalmanac.com/egs/javax.xml.parsers/pkg.html?l=rel#DOM%20Parsing%20Options

Hope this could help you.
Bye, Giant.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
mikehalfsheenAuthor Commented:
oooerr. is split the points time, any objections to half each as I've used all 3 answers ?
0
 
CEHJCommented:
No ;-)
0
 
Giant2Commented:
ok.
Thanks. :-)
0
 
CEHJCommented:
:-)
0
 
mikehalfsheenAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.