Skip to content

Commit

Permalink
XML directory move (#37960)
Browse files Browse the repository at this point in the history
xml move
  • Loading branch information
Rumyra authored Feb 5, 2025
1 parent 3cecb79 commit 3e1b527
Show file tree
Hide file tree
Showing 168 changed files with 1,777 additions and 1,608 deletions.
1,415 changes: 777 additions & 638 deletions files/en-us/_redirects.txt

Large diffs are not rendered by default.

682 changes: 341 additions & 341 deletions files/en-us/_wikihistory.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion files/en-us/glossary/xinclude/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ The XInclude mechanism is not supported natively by any major browsers.
## See also

- [XInclude standard](https://www.w3.org/TR/xinclude-11/)
- [`XPath`](/en-US/docs/Web/XPath)
- [`XPath`](/en-US/docs/Web/XML/XPath)
2 changes: 1 addition & 1 deletion files/en-us/glossary/xml/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ XML tags resemble HTML tags, but XML is much more flexible because it lets users

## See also

- [XML introduction](/en-US/docs/Web/XML/XML_introduction)
- [XML introduction](/en-US/docs/Web/XML/Guides/XML_introduction)
2 changes: 1 addition & 1 deletion files/en-us/glossary/xpath/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ page-type: glossary-definition

## See also

- [XPath documentation on MDN](/en-US/docs/Web/XPath)
- [XPath documentation on MDN](/en-US/docs/Web/XML/XPath)
- [XPath specification](https://www.w3.org/TR/xpath-30/)
- [Official website](https://www.w3.org/TR/?tag=xml)
- [XPath](https://en.wikipedia.org/wiki/XPath) on Wikipedia
2 changes: 1 addition & 1 deletion files/en-us/glossary/xslt/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ XSLT has its own processor that accepts XML input, or any format convertible to
## See also

- [XSLT](https://en.wikipedia.org/wiki/XSLT) on Wikipedia
- [XSLT documentation on MDN](/en-US/docs/Web/XSLT)
- [XSLT documentation on MDN](/en-US/docs/Web/XML/XSLT)
Original file line number Diff line number Diff line change
Expand Up @@ -185,21 +185,21 @@ This section lists `page-type` values for pages under [Web/Manifest](/en-US/docs

### XPath page types

This section lists `page-type` values for pages under [Web/XPath](/en-US/docs/Web/XPath). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.
This section lists `page-type` values for pages under [Web/XPath](/en-US/docs/Web/XML/XPath). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `xpath-function`: a function, like [`ceiling()`](/en-US/docs/Web/XPath/Reference/Functions/ceiling)
- `xpath-function`: a function, like [`ceiling()`](/en-US/docs/Web/XML/XPath/Reference/Functions/ceiling)

### XSLT page types

This section lists `page-type` values for pages under [Web/XSLT](/en-US/docs/Web/XSLT). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.
This section lists `page-type` values for pages under [Web/XSLT](/en-US/docs/Web/XML/XSLT). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `xslt-element`: an element of XSLT, like [`<xsl:message>`](/en-US/docs/Web/XSLT/Reference/Element/message).
- `xslt-element`: an element of XSLT, like [`<xsl:message>`](/en-US/docs/Web/XML/XSLT/Reference/Element/message).

### EXSLT page types

This section lists `page-type` values for pages under [Web/EXSLT](/en-US/docs/Web/EXSLT). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.
This section lists `page-type` values for pages under [Web/EXSLT](/en-US/docs/Web/XML/EXSLT). Every page in that part of the tree must have a `page-type`, and its value must be one of those listed below or one of the [generic page type](#generic_page_types) values.

- `xslt-function`: a function of EXSLT, like [`exsl:node-set()`](/en-US/docs/Web/EXSLT/exsl/node-set).
- `xslt-function`: a function of EXSLT, like [`exsl:node-set()`](/en-US/docs/Web/XML/EXSLT/exsl/node-set).

### Firefox page types

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Values of this type are strings. Possible values are:
- `xmlhttprequest`
- : Requests sent by an {{domxref("XMLHttpRequest")}} object or through the [Fetch API](/en-US/docs/Web/API/Fetch_API).
- `xslt`
- : [XSLT](/en-US/docs/Web/XSLT) stylesheets loaded for transforming an XML document.
- : [XSLT](/en-US/docs/Web/XML/XSLT) stylesheets loaded for transforming an XML document.
- `other`
- : Resources that aren't covered by any other available type.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Values of this type are strings. Possible values are:
- `xmlhttprequest`
- : Requests sent by an {{domxref("XMLHttpRequest")}} object or through the [Fetch API](/en-US/docs/Web/API/Fetch_API).
- `xslt`
- : [XSLT](/en-US/docs/Web/XSLT) stylesheets loaded for transforming an XML document.
- : [XSLT](/en-US/docs/Web/XML/XSLT) stylesheets loaded for transforming an XML document.
- `other`
- : Resources that aren't covered by any other available type.

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/mozilla/firefox/releases/1.5/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ Firefox support for Web standards continues to lead the industry with consistent
- Document Object Model ([DOM](/en-US/docs/Web/API/Document_Object_Model)): [DOM Level 1](https://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/), [DOM Level 2](https://www.w3.org/DOM/DOMTR#dom2) and parts of [DOM Level 3](https://www.w3.org/DOM/DOMTR#dom3)
- Mathematical Markup Language: [MathML Version 2.0](https://www.w3.org/Math/)
- Extensible Markup Language ([XML](/en-US/docs/Web/XML)): [XML 1.0](https://www.w3.org/TR/REC-xml/), [Namespaces in XML](https://www.w3.org/TR/REC-xml-names/), [Associating Style Sheets with XML Documents 1.0](https://www.w3.org/TR/xml-stylesheet/), [Fragment Identifier for XML](https://lists.w3.org/Archives/Public/www-xml-linking-comments/2001AprJun/att-0074/NOTE-FIXptr-20010425.htm)
- XSL Transformations ([XSLT](/en-US/docs/Web/XSLT)): [XSLT 1.0](https://www.w3.org/TR/xslt/)
- XML Path Language ([XPath](/en-US/docs/Web/XPath)): [XPath 1.0](https://www.w3.org/TR/xpath/)
- XSL Transformations ([XSLT](/en-US/docs/Web/XML/XSLT)): [XSLT 1.0](https://www.w3.org/TR/xslt/)
- XML Path Language ([XPath](/en-US/docs/Web/XML/XPath)): [XPath 1.0](https://www.w3.org/TR/xpath/)
- Resource Description Framework ([RDF](/en-US/docs/Glossary/RDF)): [RDF](https://www.w3.org/RDF/)
- Simple Object Access Protocol (SOAP): [SOAP 1.1](https://www.w3.org/TR/2000/NOTE-SOAP-20000508/)
- [JavaScript](/en-US/docs/Web/JavaScript) 1.6, based on [ECMA-262, revision 3](https://ecma-international.org/publications-and-standards/standards/ecma-262/)
Expand Down
4 changes: 2 additions & 2 deletions files/en-us/mozilla/firefox/releases/2/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Firefox 2 introduces a vast array of new features and capabilities. This article
- : A tutorial on creating a microsummary generator.
- [Microsummary XML grammar reference](/en-US/docs/Microsummary_XML_grammar_reference)
- : A reference guide to the XML grammar used for creating microsummary generators.
- [Creating OpenSearch plugins for Firefox](/en-US/docs/Web/OpenSearch)
- [Creating OpenSearch plugins for Firefox](/en-US/docs/Web/XML/Guides/OpenSearch)
- : Firefox 2 supports the OpenSearch search engine format.
- [Creating MozSearch plugins](/en-US/docs/Creating_MozSearch_plugins)
- : Firefox 2 supports MozSearch, a search plugin format based on OpenSearch, but intended only for internal use.
Expand All @@ -45,7 +45,7 @@ Firefox 2 introduces a vast array of new features and capabilities. This article
- : API that lets developers access and parse RSS and Atom feeds.
- [SAX support](/en-US/docs/SAX)
- : Event-based XML parser API.
- [Adding search engines from web pages](/en-US/docs/Web/OpenSearch)
- [Adding search engines from web pages](/en-US/docs/Web/XML/Guides/OpenSearch)
- : JavaScript code can instruct Firefox to install a new search engine plugin, which can be written using either OpenSearch or Sherlock format.
- [Using spell checking in XUL](/en-US/docs/Using_spell_checking_in_XUL)
- : How to check the spelling of words or get a list of suggested spellings from code.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/mozilla/firefox/releases/3.6/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Gecko 1.9.2 introduces JavaScript 1.8.2, which adds a number of language feature
### XPath

- The choose() XPath method is now supported
- : The [`choose()`](/en-US/docs/Web/XPath/Reference/Functions/choose) method is now supported by our implementation of [XPath](/en-US/docs/Web/XPath).
- : The [`choose()`](/en-US/docs/Web/XML/XPath/Reference/Functions/choose) method is now supported by our implementation of [XPath](/en-US/docs/Web/XML/XPath).

## For XUL and add-on developers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ The DOM Level 2 views to HTML and XHTML documents are now unified per HTML 5.
- `document.createElementNS(null, "FOO")` no longer creates an HTML element node in HTML documents. `document.createElement("FOO")`
or `document.createElementNS("http://www.w3.org/1999/xhtml", "foo")` continue
to work in HTML documents.
- The [`name`](/en-US/docs/Web/XPath/Reference/Functions/name) and the [`local-name`](/en-US/docs/Web/XPath/Reference/Functions/local-name) functions in XPath returns the name of HTML elements in lower case. Previously, in HTML documents, they returned it in upper case.
- The [`name`](/en-US/docs/Web/XML/XPath/Reference/Functions/name) and the [`local-name`](/en-US/docs/Web/XML/XPath/Reference/Functions/local-name) functions in XPath returns the name of HTML elements in lower case. Previously, in HTML documents, they returned it in upper case.

The most probable upgrade problem is the pattern `if (elt.localName === "FOO")`.

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/mozilla/firefox/releases/3/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ If you're a developer trying to get a handle on all the new features in Firefox
- : Firefox 3 offers a number of new features in Firefox 3's DOM implementation, including support for several Internet Explorer extensions to the DOM.
- [JavaScript 1.8 support](/en-US/docs/New_in_JavaScript_1.8)
- : Firefox 3 offers JavaScript 1.8.
- [EXSLT support](/en-US/docs/Web/EXSLT)
- : Firefox 3 provides support for a substantial subset of the [EXSLT](/en-US/docs/Web/EXSLT) extensions to [XSLT](/en-US/docs/Web/XSLT).
- [EXSLT support](/en-US/docs/Web/XML/EXSLT)
- : Firefox 3 provides support for a substantial subset of the [EXSLT](/en-US/docs/Web/XML/EXSLT) extensions to [XSLT](/en-US/docs/Web/XML/XSLT).
- [SVG improvements in Firefox 3](/en-US/docs/Mozilla/Firefox/Releases/3/SVG_improvements)
- : SVG support in Firefox 3 has been upgraded significantly, with support for over two dozen new filters, several new elements and attributes, and other improvements.
- [Animated PNG graphics](/en-US/docs/Web/Media/Guides/Formats/Image_types#apng_animated_portable_network_graphics)
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/mozilla/firefox/releases/4/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ In addition to the specific changes referenced below, it's important to note tha
- The `accessibility.disablecache` preference is no longer supported; it was only exposed for debugging purposes and is no longer used.
- Addons whose GUID changes from one version to another can now be updated properly.
- As a side effect of the removal of platform-specific directories in add-on bundles, you can no longer provide different default preferences for each platform.
- By default, [extensions are no longer unpacked when they are installed](https://web.archive.org/web/20130707104214/https://blog.mozilla.org/mwu/2010/09/10/extensions-now-installed-packed/), but are instead run directly from the XPI file. Extensions can use the [unpack](/en-US/docs/Install_Manifests#unpack) property in the [install manifest](/en-US/docs/Install_Manifests) to choose the old behavior. Extensions that use binary components, DLLs loaded using [js-ctypes](/en-US/docs/js-ctypes), [search plugins](/en-US/docs/Web/OpenSearch), dictionaries, and window icons must specify that they need to be unpacked. Extensions that [create SQLite database](/en-US/docs/XUL_School/Local_Storage#sqlite), or do copy things from the filesystem relatively to the extension's directory, may also need to change their code.
- By default, [extensions are no longer unpacked when they are installed](https://web.archive.org/web/20130707104214/https://blog.mozilla.org/mwu/2010/09/10/extensions-now-installed-packed/), but are instead run directly from the XPI file. Extensions can use the [unpack](/en-US/docs/Install_Manifests#unpack) property in the [install manifest](/en-US/docs/Install_Manifests) to choose the old behavior. Extensions that use binary components, DLLs loaded using [js-ctypes](/en-US/docs/js-ctypes), [search plugins](/en-US/docs/Web/XML/Guides/OpenSearch), dictionaries, and window icons must specify that they need to be unpacked. Extensions that [create SQLite database](/en-US/docs/XUL_School/Local_Storage#sqlite), or do copy things from the filesystem relatively to the extension's directory, may also need to change their code.
- You may now include extensions that [automatically get installed at application startup](/en-US/docs/Mozilla/Developer_guide/Customizing_Firefox#including_extensions_with_your_distribution_of_firefox) within a customized Firefox.

## Other changes
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/mozilla/firefox/releases/44/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Highlights:
#### DOM & HTML DOM

- For compatibility with specific existing sites, the property `Document.charset` has been implemented as an alias of {{domxref("Document.characterSet")}} ([Firefox bug 647621](https://bugzil.la/647621)).
- Support for the [`window.sidebar.addSearchEngine()`](/en-US/docs/Web/OpenSearch#installing_sherlock_plugins) method, which allowed Web pages to invoke an installation of a Sherlock plugin, has been dropped and now it just logs a warning in the Web Console ([Firefox bug 862148](https://bugzil.la/862148)).
- Support for the [`window.sidebar.addSearchEngine()`](/en-US/docs/Web/XML/Guides/OpenSearch#installing_sherlock_plugins) method, which allowed Web pages to invoke an installation of a Sherlock plugin, has been dropped and now it just logs a warning in the Web Console ([Firefox bug 862148](https://bugzil.la/862148)).
- To fight unwanted pop-ups, prompts requested in {{domxref("Window/beforeunload_event", "beforeunload")}} events of pages that have not been interacted with are no more displayed ([Firefox bug 636905](https://bugzil.la/636905)).
- The deprecated method {{domxref("MessageEvent.initMessageEvent()")}} has been reimplemented for backward compatibility ([Firefox bug 949376](https://bugzil.la/949376)).
- The obsolete property `DocumentType.internalSubset` has been removed ([Firefox bug 801545](https://bugzil.la/801545)).
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/mozilla/firefox/releases/63/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ _No changes._
### Other

- Corrected the behavior of {{DOMxRef("PerformanceObserver.observe()")}} to do nothing if no valid entry types are found in the specified array of entry types to observe, or if the array is empty or missing. Previously, Firefox was incorrectly throwing a `TypeError` ([Firefox bug 1403027](https://bugzil.la/1403027)).
- In [OpenSearch](/en-US/docs/Web/OpenSearch), Firefox now accepts `application/json` as a search URL type, as an alias of `application/x-suggestions+json` ([Firefox bug 1425827](https://bugzil.la/1425827)).
- In [OpenSearch](/en-US/docs/Web/XML/Guides/OpenSearch), Firefox now accepts `application/json` as a search URL type, as an alias of `application/x-suggestions+json` ([Firefox bug 1425827](https://bugzil.la/1425827)).

## Changes for add-on developers

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/mozilla/firefox/releases/75/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ This article provides information about the changes in Firefox 75 that will affe
### Developer tools

- It is now possible to resize the rectangle of the [Measuring Tool](https://firefox-source-docs.mozilla.org/devtools-user/measure_a_portion_of_the_page/index.html) ([Firefox bug 1152321](https://bugzil.la/1152321)).
- In the [inspector](https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/index.html), you can now use [XPath](/en-US/docs/Web/XPath) expressions to locate elements, in addition to locating elements using CSS selectors as before ([Firefox bug 963933](https://bugzil.la/963933)).
- In the [inspector](https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/index.html), you can now use [XPath](/en-US/docs/Web/XML/XPath) expressions to locate elements, in addition to locating elements using CSS selectors as before ([Firefox bug 963933](https://bugzil.la/963933)).
- You can now filter [WebSocket](/en-US/docs/Web/API/WebSockets_API) messages using [regular expressions](/en-US/docs/Web/JavaScript/Guide/Regular_expressions), in addition to plain text search, by writing the regular expression in slashes ([Firefox bug 1593837](https://bugzil.la/1593837)).

### HTML
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/related/imsc/basics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ IMSC is a markup language you can use to define timed text for adding subtitles

If you are not already familiar with XML or HTML, read up on them first and then come back here:

- [XML Introduction](/en-US/docs/Web/XML/XML_introduction)
- [XML Introduction](/en-US/docs/Web/XML/Guides/XML_introduction)
- [HTML Basics](/en-US/docs/Learn_web_development/Getting_started/Your_first_website/Creating_the_content)

> [!NOTE]
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/document/creatensresolver/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ createNSResolver(nodeResolver)
## See also

- {{domxref("Document.evaluate()")}}
- [Introduction to using XPath in JavaScript](/en-US/docs/Web/XPath/Guides/Introduction_to_using_XPath_in_JavaScript)
- [Introduction to using XPath in JavaScript](/en-US/docs/Web/XML/XPath/Guides/Introduction_to_using_XPath_in_JavaScript)
4 changes: 2 additions & 2 deletions files/en-us/web/api/document/evaluate/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ browser-compat: api.Document.evaluate

{{ ApiRef("DOM") }}

The **`evaluate()`** method of the {{domxref("Document")}} interface selects elements based on the [XPath](/en-US/docs/Web/XPath)
The **`evaluate()`** method of the {{domxref("Document")}} interface selects elements based on the [XPath](/en-US/docs/Web/XML/XPath)
expression given in parameters.

XPath expressions can be evaluated on both HTML and XML documents.
Expand Down Expand Up @@ -142,7 +142,7 @@ context node, document.body. If the "." was left out (leaving `//h2`) the
query would start from the root node (`html`) which would be more
wasteful.)

See [Introduction to using XPath in JavaScript](/en-US/docs/Web/XPath/Guides/Introduction_to_using_XPath_in_JavaScript) for more information.
See [Introduction to using XPath in JavaScript](/en-US/docs/Web/XML/XPath/Guides/Introduction_to_using_XPath_in_JavaScript) for more information.

### Getting element by xml:id

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/domparser/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ The documentation for {{domxref("DOMParser.parseFromString()")}}, this interface

## See also

- [Parsing and serializing XML](/en-US/docs/Web/XML/Parsing_and_serializing_XML)
- [Parsing and serializing XML](/en-US/docs/Web/XML/Guides/Parsing_and_serializing_XML)
- {{domxref("XMLHttpRequest")}}
- {{domxref("XMLSerializer")}}
- {{jsxref("JSON.parse()")}} - counterpart for {{jsxref("JSON")}} documents.
2 changes: 1 addition & 1 deletion files/en-us/web/api/processinginstruction/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The **`ProcessingInstruction`** interface represents a [processing instruction](

> **Warning:** `ProcessingInstruction` nodes are only supported in XML documents, not in HTML documents. In these, a process instruction will be considered as a comment and be represented as a {{domxref("Comment")}} object in the tree.
A processing instruction may be different than the [XML declaration](/en-US/docs/Web/XML/XML_introduction#xml_declaration).
A processing instruction may be different than the [XML declaration](/en-US/docs/Web/XML/Guides/XML_introduction#xml_declaration).

> [!NOTE]
> User-defined processing instructions cannot begin with `"xml"`, as `xml`-prefixed processing-instruction target names are reserved by the XML specification for particular, standard uses (see, for example, `<?xml-stylesheet ?>`.
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/window/external/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The `External` object has the following methods:
</td>
<td>
Dummy function; does nothing. See
<a href="/en-US/docs/Web/OpenSearch#autodiscovery_of_search_plugins"
<a href="/en-US/docs/Web/XML/Guides/OpenSearch#autodiscovery_of_search_plugins"
>Autodiscovery of search plugins</a
>.
</td>
Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/xmlhttprequest/responsexml/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ xhr.send();
- {{domxref("XMLHttpRequest")}}
- {{domxref("XMLHttpRequest.response")}}
- {{domxref("XMLHttpRequest.responseType")}}
- [Parsing and serializing XML](/en-US/docs/Web/XML/Parsing_and_serializing_XML)
- [Parsing and serializing XML](/en-US/docs/Web/XML/Guides/Parsing_and_serializing_XML)
- Parsing XML into a DOM tree: {{domxref("DOMParser")}}
- Serializing a DOM tree into XML: {{domxref("XMLSerializer")}} (specifically, the
{{domxref("XMLSerializer.serializeToString", "serializeToString()")}} method)
Loading

0 comments on commit 3e1b527

Please sign in to comment.