xsl-list
[Top] [All Lists]

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

2003-05-29 07:56:46
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