Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to extract data from database to XSLT?

Status
Not open for further replies.

flowertang

Programmer
Sep 27, 2002
9
HK
I want to generate a report by XSLT, but the data is extracted from the database. I will use Access/SQL server for my database. Can i write SQL in XSLT to extract data from database? Have any sample code or reference website to show how it work?
THX
 
XSLT is simply a text file that can be processed with an XSLT parser. It does not access the filesystem.
You have to extract the data, convert it to some XML format and transform it using an existing XSLT template.

Check DataML, at it might help you
Build web applications faster with a few lines of XML Code using DataML[tm]
 
hey,
i have done this with java servlets.
servlet connect database, read datas building DOMTree, write XML file from DOMTree,transform xml by xsl into html.
i can give you my code.
bepepi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top