We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<html><head>.... <script src='http://dev.w3.org/2009/dap/ReSpec.js/js/lang/sh_xml.min.js' class='remove'></script> <script src='http://www.w3.org/Tools/respec/respec-w3c-common' class='remove'></script>
<script> function showSchema(doc, content) { // perform transformations to make it render and prettier return '<pre class="dtd sh_xml">Schema Definition:' + doc._esc(content) + '</pre>'; } </script> ...<html> <body> ... <div data-include='snippits/cryptobinary.xsd' data-oninclude='showSchema'></div> ...
produces output
<div><simpletype name="CryptoBinary"> <restriction base="base64Binary"> </restriction> </simpletype> </div>
expected was
<pre class="dtd sh_xml"> Schema Definition: <simpletype name="CryptoBinary"> <restriction base="base64Binary"> </restriction> </simpletype> </pre>
cryptobinary.xsd contains
<simpleType name="CryptoBinary"> <restriction base="base64Binary"> </restriction> </simpleType>
The use of doc._esc might not be exactly correct but we should see a pre instead of a div in the output, no?
The text was updated successfully, but these errors were encountered:
data-oninclude works fine, though I'd like to be able to pass parameters to the function.
Sorry, something went wrong.
Fix multi-line chart linking (issue w3c#67)
f1c2a65
Added new data file for 2nd chart (issue w3c#67)
c1bbe17
No branches or pull requests
<html><head>....
<script src='http://dev.w3.org/2009/dap/ReSpec.js/js/lang/sh_xml.min.js' class='remove'></script>
<script src='http://www.w3.org/Tools/respec/respec-w3c-common' class='remove'></script>
<script> function showSchema(doc, content) {
// perform transformations to make it render and prettier
return '<pre class="dtd sh_xml">Schema Definition:' + doc._esc(content) + '</pre>';
}
</script>
...<html>
<body>
...
<div data-include='snippits/cryptobinary.xsd'
data-oninclude='showSchema'></div>
...
produces output
<div><simpletype name="CryptoBinary">
<restriction base="base64Binary">
</restriction>
</simpletype>
</div>
expected was
cryptobinary.xsd contains
The use of doc._esc might not be exactly correct but we should see a pre instead of a div in the output, no?
The text was updated successfully, but these errors were encountered: