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

RE: xsi:schemaLocation

Subject: RE: xsi:schemaLocation
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 31 Aug 2004 20:54:53 +0100
xsi schemalocation
(a) what exactly goes wrong? It's hard to diagnose a problem when all you
know about the symptoms is "it doesn't work".

(b) how are you invoking the transformation? I wouldn't expect the
xsi:schemaLocation to make any difference unless you are invoking schema
validation, and with an XSLT 1.0 processor I wouldn't expect schema
validation to make any difference unless either (i) it fails, or (ii) it
adds default attribute values that you don't want.

Michael Kay 

> -----Original Message-----
> From: Jan Limpens [mailto:jan.limpens@xxxxxxxxx] 
> Sent: 31 August 2004 20:40
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  xsi:schemaLocation
> 
> hi,
> 
> i've gout a xsd -> xml -> xsl -> html chain
> when i use
> 
> xml:
> <?xml version="1.0" encoding="utf-8"?>
> <Blog xmlns="http://tempuri.org/Blog.xsd">
> 	<BlogInfo lang="de">...
> 
> with xsl
> <?xml version="1.0" encoding="UTF-8" ?>
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:myns="http://tempuri.org/Blog.xsd">
> 	<xsl:template match="myns:Blog">...
> 
> everything is fine. but when my xml looks like
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <Blog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://limpens.com/blog
> http://localhost/LimpensCom/webXML/Data/BlogSpy.xsd">
> 	<BlogInfo lang="de">...
> 
> it doesn't. What am I supposed to do? I guess it's the
> xsi:schemaLocation, but this does not help me too much...
> 
> thanks!
> 
> -- 
> Jan Limpens
> http://www.limpens.com

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.