Subject: Re: [xsl] No html if XSD present? From: "David Brown" <lists@xxxxxxxxxxxxxxxxxxxxx> Date: Wed, 28 Jan 2004 11:15:54 +0000 |
> 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: [xsl] 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] No html if XSD present?, David Carlisle | Thread | Re: [xsl] No html if XSD present?, David Carlisle |
[xsl] Table performace, Mark Williams | Date | Re: [xsl] No html if XSD present?, David Carlisle |
Month |