Re: A couple of questions about using Schematron.

Mark Woon <[email protected]> Mon, 15 Dec 2003 12:51:55 -0800
Newsgroups gmane.text.xml.schematron
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------030000000005020107010807
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Chad Williamson wrote:

> I changed to schematron-basic.xsl and found that my output is much 
> nicer now :)
>
> RE: [Schematron-love-in] A couple of questions about using Schematron.
>
> I haven't been able to find a decent example on the web on how to embed
> Schematron with XML schema.  I would love to see how the namespaces 
> are setup if
> you happen to have an example.
>

Eddie Robertson has an excellent article on this:  
http://www.topologi.com/public/Schtrn_XSD/Paper.html.


> Alternately, is there an easy way in Schematron to validate attributes 
> as to
> whether they are valid integers, strings, etc?
>

If you're embedding it in XML schema, wouldn't you just use XML schema 
to validate attributes?  In any case, check out the schematron tutorial 
on ZVON:  http://www.zvon.org/xxl/SchematronTutorial/General/toc.html.


-Mark

--------------030000000005020107010807
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Chad Williamson wrote:<br>
<blockquote type="cite" cite="[email protected]">
  <p></p>
  <p><font size="2">I changed to schematron-basic.xsl and found that my
output is much nicer now :)</font>
  </p>
RE: [Schematron-love-in] A couple of questions about using Schematron.
  <p><font size="2">I haven't been able to find a decent example on the
web on how to embed</font>
  <br>
  <font size="2">Schematron with XML schema.&nbsp; I would love to see how
the namespaces are setup if</font>
  <br>
  <font size="2">you happen to have an example.</font></p>
</blockquote>
<br>
Eddie Robertson has an excellent article on this:&nbsp;
<a class="moz-txt-link-freetext" href="http://www.topologi.com/public/Schtrn_XSD/Paper.html">http://www.topologi.com/public/Schtrn_XSD/Paper.html</a>.<br>
<font size="2"><br>
<br>
</font>
<blockquote type="cite" cite="[email protected]">
  <p><font size="2">Alternately, is there an easy way in Schematron to
validate attributes as to</font>
  <br>
  <font size="2">whether they are valid integers, strings, etc?</font></p>
</blockquote>
<br>
If you're embedding it in XML schema, wouldn't you just use XML schema
to validate attributes?&nbsp; In any case, check out the schematron tutorial
on ZVON:&nbsp; <a class="moz-txt-link-freetext" href="http://www.zvon.org/xxl/SchematronTutorial/General/toc.html">http://www.zvon.org/xxl/SchematronTutorial/General/toc.html</a>.<br>
<br>
<br>
-Mark<br>
</body>
</html>

--------------030000000005020107010807--



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click