Link to home
Start Free TrialLog in
Avatar of mikehalfsheen
mikehalfsheen

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Giant2
Giant2

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.
Avatar of mikehalfsheen

ASKER

oooerr. is split the points time, any objections to half each as I've used all 3 answers ?
No ;-)
ok.
Thanks. :-)
:-)
thanks