Re: schematron can output a well formatted data
Pedro Salazar <[email protected]> 06 May 2004 10:38:19 +0100
| Newsgroups | gmane.text.xml.schematron |
|---|---|
| Message-ID | <[email protected]> |
--=-EVTYWbDtxIv5OlXte1KX Content-Type: text/plain Content-Transfer-Encoding: 7bit > Just add the required newline character ;-) > <assert test="sch:pattern">BLA BLA BLA > </assert> > > > If I try to insert < or >, to try to simulate a XML file, these > > will be handled as text and not as < or >. > > Ouch, you don't have to simulate XML, you have to insert real XML! > For example > <assert test="sch:pattern"><msg>BLA BLA BLA</msg></assert> > Oliver, No, it doesn't help because every <xml> element I add inside the text, I will get a warning when applying the skeleton-1.5.xsl, and that element will be omitted from the resulting xsl. However I already get a solution to my problem. But the amazing of that solution is that it was developed by *you* (and Anna Hovhannisian). I attached a patch of the skeleton to the original version (1.5). It works just fine because I can build well formed XML from it, and retrieve my values from the nodes ASSERT/REPORT. I got it from: http://www.informatik.hu-berlin.de/~obecker/SchematronAPI/ Can you comment this solution with the original schematron? I only have time to analyze it very quickly but I don't know if is OK. In my tests it works just fine. Regards, Pedro Salazar. -- /ps --=-EVTYWbDtxIv5OlXte1KX Content-Disposition: attachment; filename=skeleton1-5.xsl.patch.gz Content-Type: application/x-gzip; name=skeleton1-5.xsl.patch.gz Content-Transfer-Encoding: base64 H4sICLEBmkAAA3NrZWxldG9uMS01LnhzbC5wYXRjaADdVW1v2zYQ/hz/iptQoA4gRrYcOYmRBMgG A+3QNUWSDfvKSGebCEUKJG3H7frfdxQl2wISp/24CbBlSvfyPHfPndNxno57l+Cvv9BYodUE0sFg yAZjNkx7jLHe9UtvR2x41ssu+HgQn43I5PIXxiCYNpaN4SkbpOE5PjtUBRYw0waWls8RuIWKGwd6 Bm6B8DtfcbjPF1hyZyjCzZePwbVfGf0osZzA31xyCn0yOBkk/nsIhUar3jtYcFVIhGcrJ4qXaCue I+NScBti5NoYzF2dXZSVNo6gWLeRaBeIzh4HswfCUSP1HCz0S26eyJCQ3v/2YfrHzcPd7WdGwI7B LvRSFjDXIJTTwIO/xQoNdwglOs528U/odVuHXC4LZAbtUjpWGZyJZ7RXkc0XEfSlUAhn58fAC18s R1nmCxDuvQWlXQhhkEu5AYU5WsvNpia11uZJqDmshVvsyhlqGNymO16PG7hRisMHvaLCKWEFVzHc SrFCA79i/oSGfBi79s7j0/zsnFRy9FxKZSclFlfRwrlqkiTr9fqkckLpFc+5pp+JmgtF7UrIKrFo VoIwJlGjpKOD5HtpepGnpyOf6tI30mFZSV9MIEXki9pq8oQb+Af8dwSlLvAqKjSjo43guk1z2PsF v1GW5qPxOB6dD3z2oxCBV5XcsDaOTdr4PgWZeM13VQGPSPRtUzhvw32cFTeCk4DBK/MqyrWiRjgb NUYh0mftcFI3bqal1Gvfy1oMjyi1mltwujGvB9IbWkei54Z0/IQSHY2M03qX/DUSAVnSgdbBK2ge 0bqrSGlT0gx9RVbPU/9dC/14h732oPQlPW8Ifvvm7/3j79+jxipghu1ktjZhTJdG1MZtzCZorqsN o91gKXpOaLbZI0i26ZP9/F1uYnb9eqdoF7V96mWDLM4G4zwbjeIs6C/4LNXS0hDSkuKlncCsEjE4 4STGIAr6EKAYaCPNY1iFtReDrRdYuwV9hjrcYUJbaTWWdcammnXCqGH8KqyfwLON0y3JBNaGV9Bi Cmvtbnr/56eHnVs4Xzf/Ci9dlx0FvQvoDzlsHR8+Pnya/ohlJ9WKyyV2qhpSBo28GSJ5M+tl0hXT m52sC5W0lcqGaZwNszw7vYizLNtTAy3x7Vw2vabN6Xc6K/1in/u67baRX+xsXxgVdw6NivaYU809 ggNORvvabD3qY+MRiHZg7cnyVcE0WBvB3NzfT+/2BBPOndr9EO+9DfYTxA95vcK82RgvUA99bAlk 6TDO0tM8G9N9fPZ/7+Pd9MvtXWfw/fk/3MeWwL9jOzfG9AoAAA== --=-EVTYWbDtxIv5OlXte1KX-- ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3