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

A problem was solved.Thanks guys!

Subject: A problem was solved.Thanks guys!
From: anjali chipalkatti <anjalibc@xxxxxxxxx>
Date: Mon, 11 Feb 2002 18:41:37 +0000 (GMT)
anjali chipalkatti
Hi Sachi,Corey,Seema,

Am really sorry for this late reply.

Thanks for taking time out for helping me.
I was able to solve the problem.

This is how:
I tried to load the xml doc with <!DOCTYPE...> with
validateOnParse = false. This loaded the document
correctly.
But when this property is set to true, it was trying
to validate the xml doc with the dtd, that's where it
was failing and returning an empty document.
I could find the validation error using parseError
object which was about not able to find the
corresponding namespaces in dtd.

The xsl transformation  was 'copying' all the
namespace-prefixes to the output xml which were not
declared in the dtd. After adding 
exclude-result-prefixes="msxsl z rs" 
to the xsl, it removed all namespace-prefixes and the
xml could validate with the dtd without any error!

Thank you very much!
Anjali


__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

 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.