[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Problems with XALAN parsing an xml with a namespac

Subject: Re: Problems with XALAN parsing an xml with a namespace having a #
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Wed, 11 Feb 2004 21:45:13 +0100
urn schemas microsoft com rowset
Your conclusions about the cause of the problem are highly unlikely. It is
impossible (or requires big luck) to guess the actual reason without seeing
a complete (but minimal, please) example (of the stylesheet(s)) that exhibit
the problem.


Cheers,

Dimitre Novatchev
FXSL developer,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html


"Satish Terala" <saterala@xxxxxxxxxxx> wrote in message
news:B01D18C737644343B0F5E05B8BF2111B07793509@xxxxxxxxxxxxxxxxxxxxxxxx
> I decalre the complete name space as it is present in the XML i get. My
> name space declaration looks like this :
>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:fo="http://www.w3.org/1999/XSL/Format"
> 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">
> As seen "xmlns:rs="urn:schemas-microsoft-com:rowset" is present. The
> error appears for some other reason.
> I guess it is because of the xmlns:z="#RowsetSchema", coz whenever i
> knock off the # in both my xml and XSL , it works fine.
>
> -Satish
>
>
>
>
> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of David
> Carlisle
> Sent: Wednesday, February 11, 2004 3:44 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Problems with XALAN parsing an xml with a namespace
> having a #
>
>
>
> The error message is quite cler it seems:
>    Unable to resolve prefix 'rs'.
> your XPath uses an rs prefix, so you need to declare that as a namespace
>    prefic in your stylesheet.
> Add
> xmlns:rs="urn:schemas-microsoft-com:rowset"
> to your xsl:stylesheet element.
>
> David
>
> -- 
> http://www.dcarlisle.demon.co.uk/matthew
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________
>
>  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.