Re: [xsl] Attribute's default value in xsd doesn't show in xslt

Subject: Re: [xsl] Attribute's default value in xsd doesn't show in xslt
From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx>
Date: Thu, 29 May 2003 16:56:46 +0200
Eran Hammer-Lahav wrote:

Thanks for your quick reply. Can you tell my how I can modify my code to
turn validation on? I am using xalan from the command line, not through
the Java API.

Xalan's command line does validate by default, but usually if you want to validate you have to specify schema document, so try this:


<structure xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="abc abc.xsd" xmlns="abc"></structure>

--
Oleg Tkachenko
http://www.tkachenko.com/blog
Multiconn Technologies, Israel


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread