Skip to content
New issue

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

fix: flaws in web/x* #3204

Merged
merged 1 commit into from
Mar 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions files/en-us/web/xml/xml_introduction/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h3 id="Correct_design_rules">Correct design rules</h3>
<ul>
<li>Document must be well-formed.</li>
<li>Document must conform to all XML syntax rules.</li>
<li>Document must conform to semantic rules, which are usually set in an XML schema or a DTD (<strong><a href="/en-US/docs/Glossary/DTD">Document Type Definition</a>)</strong>.</li>
<li>Document must conform to semantic rules, which are usually set in an XML schema or a DTD (<strong><a href="/en-US/docs/Glossary/Doctype">Document Type Definition</a>)</strong>.</li>
</ul>

<h3 id="Example">Example</h3>
Expand Down Expand Up @@ -117,7 +117,7 @@ <h2 id="Entities">Entities</h2>
</tbody>
</table>

<p>Even though there are only 5 declared entities, more can be added using the document's <a href="/en-US/docs/Glossary/DTD">Document Type Definition</a>. For example, to create a new <code>&amp;warning;</code> entity, you can do this:</p>
<p>Even though there are only 5 declared entities, more can be added using the document's <a href="/en-US/docs/Glossary/Doctype">Document Type Definition</a>. For example, to create a new <code>&amp;warning;</code> entity, you can do this:</p>

<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE body [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- XML
- XSLT
---
<a href="/en-US/docs/Transforming_XML_with_XSLT">« Transforming XML with XSLT</a>
<a href="/en-US/docs/Web/XSLT/Transforming_XML_with_XSLT">« Transforming XML with XSLT</a>

<p>The eXtensible Stylesheet Language/Transform is a very powerful language, and a complete discussion of it is well beyond the scope of this article, but a brief discussion of some basic concepts will be helpful in understanding the description of Netscape's capabilities that follows.</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
---
<h2 id="Basic_Example">Basic Example</h2>

<p>The basic example will load an XML file and apply a XSL transformation on it. These are the same files used in the <a href="/en-US/docs/XSLT_in_Gecko/Generating_HTML">Generating HTML</a> example in the <a href="/en-US/docs/XSLT_in_Gecko">XSLT in Netscape Gecko</a> article. The XML file describes an article and the XSL file formats the information for display.</p>
<p>The basic example will load an XML file and apply a XSL transformation on it. These are the same files used in the <a href="/en-US/docs/Web/API/XSLTProcessor/Generating_HTML">Generating HTML</a> example in the <a href="/en-US/docs/Web/API/XSLTProcessor">XSLT in Netscape Gecko</a> article. The XML file describes an article and the XSL file formats the information for display.</p>

<p><small><strong>Figure 4 : XML file</strong></small></p>

Expand Down
14 changes: 7 additions & 7 deletions files/en-us/web/xslt/xslt_js_interface_in_gecko/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
- XSLT
---
<ol>
<li><a href="/en-US/docs/XSLT/XSLT_JS_Interface_in_Gecko/Introduction">Introduction</a></li>
<li><a href="/en-US/docs/XSLT/XSLT_JS_Interface_in_Gecko/JavaScript_XSLT_Bindings">JavaScript/XSLT Bindings</a></li>
<li><a href="/en-US/docs/XSLT/XSLT_JS_Interface_in_Gecko/Basic_Example">Basic Example</a></li>
<li><a href="/en-US/docs/XSLT/XSLT_JS_Interface_in_Gecko/Setting_Parameters">Setting Parameters</a></li>
<li><a href="/en-US/docs/XSLT/XSLT_JS_Interface_in_Gecko/Advanced_Example">Advanced Example</a></li>
<li><a href="/en-US/docs/XSLT/XSLT_JS_Interface_in_Gecko/Interface_List">Interface List</a></li>
<li><a href="/en-US/docs/XSLT/XSLT_JS_Interface_in_Gecko/Resources">Resources</a></li>
<li><a href="/en-US/docs/Web/XSLT/XSLT_JS_interface_in_Gecko/Introduction">Introduction</a></li>
<li><a href="/en-US/docs/Web/XSLT/XSLT_JS_interface_in_Gecko/JavaScript_XSLT_Bindings">JavaScript/XSLT Bindings</a></li>
<li><a href="/en-US/docs/Web/XSLT/XSLT_JS_interface_in_Gecko/Basic_Example">Basic Example</a></li>
<li><a href="/en-US/docs/Web/XSLT/XSLT_JS_interface_in_Gecko/Setting_Parameters">Setting Parameters</a></li>
<li><a href="/en-US/docs/Web/XSLT/XSLT_JS_interface_in_Gecko/Advanced_Example">Advanced Example</a></li>
<li><a href="/en-US/docs/Web/XSLT/XSLT_JS_interface_in_Gecko/Interface_List">Interface List</a></li>
<li><a href="/en-US/docs/Web/XSLT/XSLT_JS_interface_in_Gecko/Resources">Resources</a></li>
</ol>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
---
<h2 id="Introduction">Introduction</h2>

<p>With modern browsers supporting <a href="/en-US/docs/XSLT_in_Gecko">XSLT</a>, developers can now use JavaScript to access the power that XSLT provides. JavaScript can enable a web application to load XML data, process it via XSLT into a presentable form and then add it into an existing document. Since the XML data loaded only contains the raw information without any presentation data, it can load quickly even on dialup.</p>
<p>With modern browsers supporting <a href="/en-US/docs/Web/API/XSLTProcessor">XSLT</a>, developers can now use JavaScript to access the power that XSLT provides. JavaScript can enable a web application to load XML data, process it via XSLT into a presentable form and then add it into an existing document. Since the XML data loaded only contains the raw information without any presentation data, it can load quickly even on dialup.</p>

<p>XSLT allows the author to directly manipulate the structure of a document. For example, it permits the rearranging and sorting of elements; it also provides more fine-grained control of the resulting document's structure.</p>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<h2 id="Resources">Resources</h2>

<ul>
<li><a href="/en/docs/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations">Using the Mozilla JavaScript interface to XSL Transformations</a></li>
<li><a href="/en-US/docs/Web/XSLT/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations">Using the Mozilla JavaScript interface to XSL Transformations</a></li>
<li><a href="https://www.mozilla.org/projects/xslt/">Mozilla.org's XSLT Project Page</a>, which includes a frequently encountered issues section.</li>
<li><a href="https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ms762773(v=vs.85)">MSDN: XSLT Concepts</a></li>
</ul>