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

Using 'validation' in xsl:result-document

Subject: Using 'validation' in xsl:result-document
From: a kusa <akusa8@xxxxxxxxx>
Date: Tue, 10 Nov 2009 15:58:00 -0600
 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"/>

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.