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

xml-xsl transform error

Subject: xml-xsl transform error
From: nalopaleaahu@xxxxxxx
Date: Sat, 01 Oct 2005 09:28:32 -0400
xsl transform error
Can anyone tell me why I am getting this error?
"XSLT processing error: XML parser error 4: not well-formed (invalid token)"


I know the parameters in expat/php/sablotron are correct. I can get other things to parse.

the xsl:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:DC="http://purl.oclc.org/dc/documents/rec-dces-199809.htm#"
xmlns:Technical="http://www.w3.org/2000/PhotoRDF/technical-1-0#"
version="1.0">
<xsl:output method="html" indent="no"/>
<xsl:template match="DC:Description">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>

the xml:
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns="http://www.w3.org/1999/09/28-Photo-ns#"
    xmlns:DC="http://purl.oclc.org/dc/documents/rec-dces-199809.htm#"
    xmlns:Technical="http://www.w3.org/2000/PhotoRDF/technical-1-0#">
 <rdf:Description about="for awhile">
   <DC:Description>Take one</DC:Description>
   <DC:Type>image/jpeg</DC:Type>
   <DC:Subject>computers</DC:Subject>
   <DC:Source>ccd</DC:Source>
   <DC:Rights>public domain</DC:Rights>
   <DC:Title>Lets get this working</DC:Title>
   <DC:Date>2005-04-20</DC:Date>
   <DC:Coverage>USA</DC:Coverage>
   <DC:Creator>Me</DC:Creator>
   <Technical:devel-date>2005-05-01</Technical:devel-date>
   <Technical:lens>Minolta AF70-210</Technical:lens>
   <Technical:camera>Minolta800i</Technical:camera>
   <Technical:film>Fuji</Technical:film>
 </rdf:Description>
</rdf:RDF></xml>

aloha, nichols

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.