xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James House <jho...@part.net>
Subject Re: Problem with Xalan or with Micro$oft format?
Date Wed, 19 Sep 2001 19:03:31 GMT

Sure... Here's test.xsl in it's entirety.

=================================================
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
         xmlns:s='uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882'
         xmlns:rs='urn:schemas-microsoft-com:rowset'
         xmlns:z='#RowsetSchema'>
<xsl:output method="xml" indent="yes"/>

<xsl:template match="s:Schema">
</xsl:template>

<xsl:template match="rs:data">
         <xsl:apply-templates select="z:row"/>
</xsl:template>

<xsl:template match="z:row">
Order is:  <xsl:value-of select="@PurchaseOrderNumber"/>
</xsl:template>

</xsl:stylesheet>
=================================================

At 9/19/2001 02:13 PM -0400, you wrote:

> ><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'>
> >Because this is in the output XML, I obviously need to define the same
> >namespaces in my style sheet....
> >The thing that is causing me grief is the entry: xmlns:z='#RowsetSchema'.
> >I get the following exception while trying to transform the document:
> >; SystemID: file:///D:/projects/eb/test.xsl; Line#: 12; Column#: 39
> >...
> >Extra illegal tokens: '#RowsetSchema', ':', 'row'
>
>Can you show us the first 12 lines (at least) of test.xsl?
>There might be something like a quoting problem.
>.................David Marston


Mime
View raw message