Subject: Re: xsi:schemaLocation
From: "George Cristian Bina" <george@xxxxxxx>
Date: Tue, 31 Aug 2004 23:05:01 +0300
|
> <Blog xmlns="http://tempuri.org/Blog.xsd">
The Blog element belongs to http://tempuri.org/Blog.xsd namespace.
> <?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">...
The template matches the Blog element from the http://tempuri.org/Blog.xsd
namespace.
> <Blog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://limpens.com/blog
> http://localhost/LimpensCom/webXML/Data/BlogSpy.xsd">
Here the Blog element is in no namespace so it will not be matched by your
template.
|