Re: [xsl] MSXML 4 - RowSetSchema XML

Subject: Re: [xsl] MSXML 4 - RowSetSchema XML
From: tbstewart@xxxxxxx
Date: Fri, 6 Feb 2004 11:21:05 -0700 (MST)
Karl,

So the XML doc that you pass to the stylesheet as a parameter is an XML
schema? I remember from my last job that we used an XML schema with XSL
when transforming XML to display the resulting data correctly. Is that
what you are doing?

Tom

> 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@xxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> 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




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


Current Thread