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

Re: No html if XSD present?

Subject: Re: No html if XSD present?
From: "David Brown" <lists@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 28 Jan 2004 11:15:54 +0000
schema david brown
> do you _really_ want the namespace of your elements to be the same as
> the location of the schema?

Not sure. I'm making first steps to understand how to construct a good XML 
document and took the namespace to be the place where structure and form are 
defined.. the little I know suggested to me that schemas are now used where 
DTD's where once defined, as they provide data types etc and are XML 
themselves.

?

davidpbrown

--


---------- Original Message -----------
From: David Carlisle <davidc@xxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Sent: Wed, 28 Jan 2004 09:51:02 GMT
Subject: Re:  No html if XSD present?

> The problem is not the xsd reference it is
> xmlns="http://www.example.com/ns/file.xsd"
> 
> which is a namespace declaration, which changes the name of every
> element in your file.
> 
> To refer to an element in that namespace in Xpath you must declare
>  xmlns:x="http://www.example.com/ns/file.xsd"
> in your stylesheet, and then use x:abc/x:zzz  everywhere.
> 
> do you _really_ want the namespace of your elements to be the same as
> the location of the schema?
> 
> 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
------- End of Original Message -------


 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.