[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Didier PH Martin" <martind@n...>
  • To: "'XML Dev'" <xml-dev@i...>
  • Date: Wed, 24 Nov 1999 09:00:15 -0500

Hi,

Is the following XML document a valid XML 1.0 document?

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE greeting [
  <!ELEMENT test (greeting)>
  <!ELEMENT greeting (#PCDATA)>
]>
<?xml-stylesheet href="#Style" type="text/xsl"?>
<test>
<xsl:stylesheet version="1.0"
			xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<html>
<title>this is a test</title>
<body><xsl:value-of select="//greeting"></body>
</html>
</xsl:stylesheet>
<greeting>Hello, world!</greeting>
</test>

According to the XSLT recommendation section 2.7 it should be. But according
to the XML 1.0 recommendation is it?

Cheers
Didier PH Martin
mailto:martind@n...
http://www.netfolder.com


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@i... the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member