[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Using 'validation' in xsl:result-document
Hi Can anyone tell me what exactly the options (strict, lax, strip, preserve) for attribute validation under element <xsl:result-document> mean? When I use validation=strict, I get XTTE1550 error in XML Spy. My XSL snippet is as follows: <xsl:template match="/"> <xsl:for-each select="."> <xsl:result-document method="xml" href="{$in}.xml" validation="s" doctype-public="card" doctype-system="system"> <xsl:apply-templates/> </xsl:result-document> </xsl:for-each> </xsl:template> where I have a rule for variable $in. What am I doing wrong here? Should I not be using validation=strict here? I have also declared the schema to be used by inclusing this statement at the beginning of the style sheet. <xsl:import-schema schema-location="test.xsd"/>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|