Specifying schema with stylesheet

How can one specify Schema(xsd) and Stylesheet(xsl) together in an xml file?

I tried doing that, but it gave me problems.

I used:

<note xmlns="http://www.w3schools.com"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3schools.com xsd1.xsd">

And also:

<?xml-stylesheet type="text/xsl" href="xsl1.xsl"?>

[397 byte] By [steinvommarsa] at [2007-11-27 5:39:38]
# 1
Looks okay to me. But then I have no idea of what those "problems" are that you mentioned. Was there a particular reason you didn't tell us what they are?
DrClapa at 2007-7-12 15:15:02 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...