Subject: RE: MSXML3 XSL namespace conflict? From: "Simon Polz" <Simon.Polz@xxxxxxxxx> Date: Wed, 4 Oct 2000 13:26:58 +0200 |
not very useful but you asked for it :) - transformed with MSXML3 September 2000 - simon <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:rs='urn:schemas-microsoft-com:rowset'> <xsl:template match="/"> <xsl:copy-of select="//rs:*"/> </xsl:template> </xsl:stylesheet> results in <?xml version="1.0" encoding="UTF-16"?> <rs:data xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema"> <z:row TOTAL_DECLINES="0" TOTAL_PURCHASES="275" /> <z:row TOTAL_DECLINES="214" TOTAL_PURCHASES="0" /> </rs:data> -----Original Message----- From: Friedlander, Hal [mailto:Hal@xxxxxxxxxxxx] Sent: Dienstag, 03. Oktober 2000 20:02 To: 'xsl-list@xxxxxxxxxxxxxxxx' Subject: MSXML3 XSL namespace conflict? I have been successfully using the old "defunct namespace http://www.w3.org/TR/WD-xsl . I have also successfully used the current namespace http://www.w3.org/1999/XSL/Transform. However, having no success trying to transform the XML doc below with an XSL using the current namespace. The XML doc below may look familiar to MS developers. Does anyone know if there is some namespace "conflict" that may prevent transformations using the current XSL namespace? If not can someone please show a sample XSL doc (using the current namespace) that can perform any transformation with this XML. Thank you, Hal Friedlander example XML Doc --------------------------------------------------------------------- <xml xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882' xmlns:dt='uuid:C2F41010-65B3-11d1-A29F-00AA00C14882' xmlns:rs='urn:schemas-microsoft-com:rowset' xmlns:z='#RowsetSchema'> <s:Schema id='RowsetSchema'> <s:ElementType name='row' content='eltOnly'> <s:AttributeType name='TOTAL_DECLINES' rs:number='1' rs:nullable='true' rs:writeunknown='true'> <s:datatype dt:type='number' rs:dbtype='varnumeric' dt:maxLength='20' rs:scale='0' rs:precision='38'/> </s:AttributeType> <s:AttributeType name='TOTAL_PURCHASES' rs:number='2' rs:nullable='true' rs:writeunknown='true'> <s:datatype dt:type='number' rs:dbtype='varnumeric' dt:maxLength='20' rs:scale='0' rs:precision='38'/> </s:AttributeType> <s:extends type='rs:rowbase'/> </s:ElementType> </s:Schema> <rs:data> <z:row TOTAL_DECLINES='0' TOTAL_PURCHASES='275'/> <z:row TOTAL_DECLINES='214' TOTAL_PURCHASES='0'/> </rs:data> </xml> ------------------------------------------------------------------------ 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
MSXML3 XSL namespace conflict?, Friedlander, Hal | Thread | [ANN] PassiveTeX XSL FO implementat, Sebastian Rahtz |
RE: Including JavaScript, Wendell Piez | Date | Re: Fixed-length String Output, Wendell Piez |
Month |