Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Im using XSLt to transform a table and XML data to show in the UI page, This is my question
XML
<xsl:variable name="Work to do" select="DocumentElement/Working[(worktype='wash' or worktype='clean' worktype='sweep') and (attendance= 'Present' or attendance = 'permit')]"></xsl:variable>



<xsl:variable name="Work to do" select="DocumentElement/Working[(worktype='wash' or worktype='clean' worktype='sweep') and (attendance= 'Present' or attendance = 'permit')]" xmlns:xsl="#unknown">
I would like to externalize the worktype='wash' or worktype='clean' worktype='sweep' from the database I retrieved the data but don't know how to do in XSL. Here worktype is taken from table and I want to load 'wash','clean' dynamically through XML. Please help me
Posted

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