xsl-list
[Top] [All Lists]

Re: MSXML 4 - RowSetSchema XML

2004-02-06 07:45:39
Hi Tom

I don't think that you can.  I have a seperate XML doc which I pass to the
stylesheet as a parameter.  This seperate XML doc serves as a *template* for
the resulting data.  I have code samples, infact I have an entire ASP class
that I have written to support classic ASP and ADO XSLT transformations.

Karl

----- Original Message -----
From: <tbstewart(_at_)mho(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Friday, February 06, 2004 6:04 AM
Subject: [xsl] MSXML 4 - RowSetSchema XML


Hi,

I am using MSXML 4.0 to perform server-side (memory resident)
transformations in my Classic ASP Web application. The default XML that
ADO generates is a combination of the schema and the XML in what MS calls
a RowSetSchema. The problem with using the XML as is, is that when a data
item is null the node's attribute is not included in the rowset. Hence,
the report's table cell is not preserved and the remaining data columns
shift one or more columns to the left.

Q: How do I write the XSL to detect a missing rowset attribute? I want to
add whitespace to the cell to keep the data set lined up in the correct
columns.

Thanks for your help.

Cheers,
--Tom



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>