MichalAugustyniak
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by MichalAugustyniak
-
-
That's the thing, what kind of extension do I need on the xmlns namespace?Thansk for the reply though.I'm not sure, but I think that by placing xmlns without :some-kind-of-extension you are killing the XSLT namespace, because by placing the xmlns you are making every child of <xsl:styleshhet> use the namespace www.mine.com instead of making every element which begins with xsl be part of the XSLT stylesheet.As for the irrelavant schema... I have no idea. -
Northwind.mdb
in ASP
I need the db, could someone tell me where I can find it on the site?
-
Hi. I've got a tiny little database, it could be anything, I'm just testing right now. It displays with my xsl all fine, until I add my root namespace value:XSL
<?xml version = "1.0" ?><xsl:stylesheet version = "1.0" xmlns="http://www.mine.com" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"><xsl:template match="/">
XSD
<xs:schema xmlns="http://www.mine.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="Container_Namespace" elementFormDefault="qualified">
XML
<?xml version="1.0" encoding="ISO-8859-1" ?><?xml-stylesheet type="text/xsl" href="db_ss.xsl"?><database xmlns="http://www.mine.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mine.com Container_Namespace%20molecular_db_schema.xsd">
Everything appears fine UNTIL I add the root namespace for the root node: xmlns="http://www.mine.com"Remove it, to get this
<?xml version="1.0" encoding="ISO-8859-1" ?><?xml-stylesheet type="text/xsl" href="db_ss.xsl"?><database xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mine.com Container_Namespace%20molecular_db_schema.xsd">
And all seems to look good, but it's like the schema is irrelevant. I can write anything in the schema or in the xml file and it displays only what's defined in the xsl. How do you fix this?Thanks in advance...MikePS: I did take the XML tutorial, it seems to me as though I've placed the namespaces where they were supposed to be. Could someone help me out with this one?
Namespace Problems
in XML
Posted