Wesley: Hey. Hey, Gunn. Is something weird going on? … Charles, you just peed on my shoes. Gunn: I'll be damned. That's weird.

'Life of the Party'


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!


Laga - May 05, 2011 7:41:00 am PDT #16700 of 25501
You should know I'm a big deal in the Resistance.

If there are no paradoxes, Toddson, you were already at the first f2f, you just won't remember you were until ND gets the sonic oscillator to sync with the flux capacitor.


tommyrot - May 05, 2011 7:47:46 am PDT #16701 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Anyone familiar with xsl? I have questions.


Tom Scola - May 05, 2011 7:49:14 am PDT #16702 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

I'm somewhat familiar.


tommyrot - May 05, 2011 7:51:58 am PDT #16703 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

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....


Tom Scola - May 05, 2011 7:54:59 am PDT #16704 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

Getting rid of the rowset stuff is a start; there's probably a lot more that needs to be done.


tommyrot - May 05, 2011 7:58:53 am PDT #16705 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

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.)


Tom Scola - May 05, 2011 8:01:16 am PDT #16706 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

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.


tommyrot - May 05, 2011 8:05:12 am PDT #16707 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

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.


Tom Scola - May 05, 2011 8:10:17 am PDT #16708 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

When I run xsl it's from the command-line on a Unix system. I don't think I can help you with this.


tommyrot - May 05, 2011 8:13:27 am PDT #16709 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

OK, thanks anyway.