Anyone familiar with xsl? I have questions.
Jayne ,'Out Of Gas'
Buffistechnology 3: "Press Some Buttons, See What Happens."
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
I'm somewhat familiar.
I have an xsl file that's designed to work with a recordset. So I have this line:
<xsl:stylesheet xmlns:xsl='http://www.w3.org/1999/XSL/Transform' xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema' version='1.0'>
Now I want to use this xsl transformation on a variable containing xml, not on a recordset. Do I just get rid of the rowset stuff in that line? Or is there other stuff I need to do?
Damn, my xsl knowledge has declined a lot as I haven't done much with it in years....
Getting rid of the rowset stuff is a start; there's probably a lot more that needs to be done.
there's probably a lot more that needs to be done.
Shit. Like what, for example?
(Now I gotta tell my boss that the project he gave me four days to work on is gonna take longer, as today is already day four.)
A recordset is different than an XML document, it probably has a different layout, and needs to be traversed differently. It may just work, but I don't have enough information on what you're trying to do.
Also, I am confused here. Let me back up. The transformation is currently done on the client, in a webpage. It's done in Javascript with the xml in a variable and the xsl embedded in the web page. The code is like this:
xmlTimesheet.loadXML(ip_xmlTimeSheet.xml);
xslSource.loadXML(xslTimesheetFromDB.xml);
xmlTimesheetHTML.loadXML(xmlTimesheet.transformNode(xslSource));
So I don't understand why the xsl document specified the rowset stuff. Anyway, I have to do this on the server, in a VB6 or VB.Net component. That's what I can't get to work.
When I run xsl it's from the command-line on a Unix system. I don't think I can help you with this.
OK, thanks anyway.
I think this is code for "Uses a TARDIS."
If he has a TARDIS and hasn't told me, he is in so much trouble.