Search completed in 1.16 seconds.
JavaScript/XSLT Bindings - XSLT: Extensible Stylesheet Language Transformations
javascript/
xslt bindings javascript can run
xslt transformations through the
xsltprocessor object.
... once instantiated, an
xsltprocessor has an
xsltprocessor.importstylesheet() method that takes as an argument the
xslt stylesheet to be used in the transformation.
... the stylesheet has to be passed in as an xml document, which means that the .xsl file has to be loaded by the page before calling
xsltprocessor.importstylesheet().
...And 5 more matches
Common XSLT Errors - XSLT: Extensible Stylesheet Language Transformations
in firefox 6 and forward, you can also use the official
xslt mimetype: application/
xslt+xml.
... namespace the
xslt 1.0 namespace is http://www.w3.org/1999/xsl/transform.
...however these versions also used a draft version of
xslt which is incompatible with what eventually became the
xslt 1.0 specification.
...And 3 more matches
Transforming XML with XSLT - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes an overview the separation of content and presentation is a key design feature of xml.
... our focus here is on the second type of stylesheet that gecko supports: the
xslt stylesheet.
...
xslt stands for extensible stylesheet language/transform and the name is apt.
...And 2 more matches
XSLT elements reference - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes there are two types of elements discussed here: top-level elements and instructions.
... on a related note, any attribute in an lre and some attributes of a limited number of
xslt elements can also include what is known as an attribute value template.
Index - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes found 54 pages: # page tags and summary 1
xslt: extensible stylesheet language transformations landing, web,
xslt extensible stylesheet language transformations (
xslt) is an xml-based language used, in conjunction with specialized processing software, for the transformation of xml documents.
... 2 common
xslt errors
xslt your server needs to send both the source and the stylesheet with a xml mime type, text/xml or application/xml.
... 3 index index, reference,
xslt found 54 pages: 4 pi parameters
xslt no summary!
...And 58 more matches
PI Parameters - XSLT: Extensible Stylesheet Language Transformations
overview
xslt supports the concept of passing parameters to a stylesheet when executing it.
... this has been possible for a while when using the
xsltprocessor in javascript.
... to solve this two new pis are implemented in firefox 2 (see supported versions below for details), <?
xslt-param?> and <?
xslt-param-namespace?>.
...And 14 more matches
An Overview - XSLT: Extensible Stylesheet Language Transformations
« transforming xml with
xslt 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.
... an
xslt stylesheet is an xml document.
... unlike css, which has its own specialized syntax, an
xslt stylesheet is an xml document, which must conform to all xml rules, including well-formedness.
...And 13 more matches
Using the Mozilla JavaScript interface to XSL Transformations - XSLT: Extensible Stylesheet Language Transformations
this document describes the javascript interface in mozilla 1.2 and up to the
xslt processing engine (transformiix).
... creating an
xsltprocessor to start, you need to create an
xsltprocessor object: var processor = new
xsltprocessor(); specifying the stylesheet before you can use it, you must import a stylesheet with the
xsltprocessor.importstylesheet() method.
... it has a single parameter, which is the dom node of the
xslt stylesheet to import.
...And 13 more matches
nsIXSLTProcessor
content/
xslt/public/nsi
xsltprocessor.idlscriptable
xslt processor inherits from: nsisupports last changed in gecko 1.7 implemented by: @mozilla.org/document-transformer;1?type=
xslt.
... to create an instance, use: var
xsltprocessor = components.classes["@mozilla.org/document-transformer;1?type=
xslt"] .createinstance(components.interfaces.nsi
xsltprocessor); method overview void clearparameters(); nsivariant getparameter(in domstring namespaceuri, in domstring localname); void importstylesheet(in nsidomnode style); void removeparameter(in domstring namespaceuri, in domstring localname); void reset(); void setparameter(in domstring namespaceuri, in domstring localname, in nsivariant value); nsidomdocument transformtodocument(in nsidomnode source); nsidomdocumentfragment transformtofragment(in nsidomnode source, in nsidomdocument output); methods clearparameters() removes all set parameters from this nsi
xsltprocessor.
...nsivariant getparameter( in domstring namespaceuri, in domstring localname ); parameters namespaceuri the namespaceuri of the
xslt parameter.
...And 12 more matches
XSLTProcessor - Web APIs
an
xsltprocessor applies an
xslt stylesheet transformation to an xml document to produce a new xml document as output.
... it has methods to load the
xslt stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents.
... new
xsltprocessor() methods [throws] void
xsltprocessor.importstylesheet(node stylesheet) imports the
xslt stylesheet.
...And 12 more matches
EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes e
xslt is a set of extensions to
xslt.
... there are a number of modules; those that are supported by firefox are listed below: common (exsl)the e
xslt common package provides basic functions that expand upon the capabilities of
xslt.math (math)the e
xslt math package provides functions for working with numeric values and comparing nodes.regular expressions (regexp)the e
xslt regular expressions package provides functions that allow testing, matching, and replacing text using javascript style regular expressions.sets (set)the e
xslt sets package offers functions that let you perform set manipulation.strings (str)the e
xslt strings package provides functions that allow the manipulation of strings.
... e
xslt modules to use an e
xslt function, you need to declare the namespace the function is in, and then use the appropriate prefix when calling the function.
...And 11 more matches
XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes extensible stylesheet language transformations (
xslt) is an xml-based language used, in conjunction with specialized processing software, for the transformation of xml documents.
...
xslt is most often used to convert data between different xml schemas or to convert xml data into web pages or pdf documents.
... documentation
xslt element reference reference.
...And 9 more matches
For Further Reading - XSLT: Extensible Stylesheet Language Transformations
« transforming xml with
xslt print books
xslt: programmer's reference, second edition author: michael h.
... kay length: 992 pages publisher: wrox; 2 edition (may 3, 2001) isbn: 0764543814 michael kay is a member of the w3c xsl working group and the developer of his own open-source
xslt processor, saxon.
...this is a very big book, well laid out, and exhaustive, if sometimes exhausting, in detail, covering every possible base in the
xslt story.
...And 7 more matches
<xsl:stylesheet> - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the <xsl:stylesheet> element (or the equivalent <xsl:transform> element) is the outermost element of a stylesheet.
... namespace declaration a pseudo-attribute required to identify the document as an
xslt stylesheet.
... syntax <xsl:stylesheet version="number" xmlns:xsl="http://www.w3.org/1999/xsl/transform" id="name" extension-element-prefixes="list-of-names" exclude-result-prefixes="list-of-names"> entire stylesheet </xsl:stylesheet> required attributes version specifies the version of
xslt required by this stylesheet.
...And 4 more matches
Advanced Example - XSLT: Extensible Stylesheet Language Transformations
using the
xsltprocessor.getparameter() method, the code can figure whether to sort in ascending or descending order.
... it defaults to ascending if the parameter is empty (the first time the sorting happens, as there is no value for it in the
xslt file).
... the sorting value is set using
xsltprocessor.setparameter().
...And 3 more matches
XSLT Basic Example - Web APIs
basic example this first example demonstrates the basics of setting up an
xslt transformation in a browser.
...figure 1 shows the source of the basic
xslt example.
...processing instruction, it links to the
xslt stylesheet (example.xsl) via its href attribute.
...And 2 more matches
Introduction - XSLT: Extensible Stylesheet Language Transformations
introduction with modern browsers supporting
xslt, 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.
...
xslt allows the author to directly manipulate the structure of a document.
...And 2 more matches
XSLT - MDN Web Docs Glossary: Definitions of Web-related terms
extensible stylesheet language transformations (
xslt) is a declarative language used to convert xml documents into other xml documents, html, pdf, plain text, and so on.
...
xslt has its own processor that accepts xml input, or any format convertible to an xquery and xpath data model.
... the
xslt processor produces a new document based on the xml document and an
xslt stylesheet, making no changes to the original files in the process.
... learn more technical reference
xslt on wikipedia
xslt documentation on mdn ...
Basic Example - XSLT: Extensible Stylesheet Language Transformations
these are the same files used in the generating html example in the
xslt in netscape gecko article.
... </myns:body> </myns:article> figure 5 :
xslt stylesheet <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/xsl/transform" xmlns:myns="http://devedge.netscape.com/2002/de"> <xsl:output method="html" /> <xsl:template match="/"> <html> <head> <title> <xsl:value-of select="/myns:article/myns:title"/> </title> <style ty...
...the .xsl file is then imported (
xsltprocessor.importstylesheet(xslstylesheet)) and the transformation run (
xsltprocessor.transformtofragment(xmldoc, document)).
... figure 6 : example var xslstylesheet; var
xsltprocessor = new
xsltprocessor(); var mydom; var xmldoc; function init(){ // load the
xslt file, example1.xsl var myxmlhttprequest = new xmlhttprequest(); myxmlhttprequest.open("get", "example1.xsl", false); myxmlhttprequest.send(null); xslstylesheet = myxmlhttprequest.responsexml;
xsltprocessor.importstylesheet(xslstylesheet); // load the xml file, example1.xml myxmlhttprequest = new xmlhttprequest(); myxmlhttprequest.open("get", "example1.xml", false); myxmlhttprequest.send(null); xmldoc = myxmlhttprequest.responsexml; var fragment =
xsltprocessor.transformtofragment(xmldoc, document); document.getelementbyid("ex...
Setting Parameters - XSLT: Extensible Stylesheet Language Transformations
for example, javascript and
xslt could be used to sort xml data and then display it.
...
xslt provides the xsl:param element, which is a child of the xsl:stylesheet element.
...
xsltprocessor provides three javascript methods to interact with these parameters:
xsltprocessor.setparameter(),
xsltprocessor.getparameter() and
xsltprocessor.removeparameter().
... figure 7 : parameters /*
xslt: <xsl:param name="myorder" /> */ // javascript: var sortval =
xsltprocessor.getparameter(null, "myorder"); if (sortval == "" || sortval == "descending")
xsltprocessor.setparameter(null, "myorder", "ascending"); else
xsltprocessor.setparameter(null, "myorder", "descending"); ...
XSLT 2.0
although
xslt 2.0 is not natively supported in firefox, it is possible via saxon-b (java) or, more recently, saxon-ce (javascript) to perform
xslt 2.0.
... saxon-b the xsl results extension uses the new incarnation of liveconnect (handled by java 1.6v12+ instead of mozilla-specific code) to connect with the java-based saxon-b library, and adds support for having
xslt performed automatically when visiting a page with the appropriate
xslt processing instruction (and which isn't processed by firefox's own
xslt 1.0 processor).
... for developers saxon-ce a javascript api is provided for initiating an
xslt 2.0 transform from a web page.
exsl:object-type() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes exsl:object-type() returns a string that indicates the type of the specified object.
... note: most
xslt object types can be coerced into each other safely; however, certain coercsions to raise error conditions.
... returns the object's type, which will be one of the following: string number boolean node-set rtf external specifications e
xslt - exsl:object-type ...
<xsl:namespace-alias> - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the <xsl:namespace-alias> element is a rarely used device that maps a namespace in the stylesheet to a different namespace in the output tree.
...to prevent a normally xsl:-prefixed literal result element (which should simply be copied as-is to the result tree) from being misunderstood by the processor, it is assigned a temporary namespace which is appropriately re-converted back to the
xslt namespace in the output tree.
... defined
xslt, section 7.1.1 gecko support not supported at this time.
<xsl:variable> - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the <xsl:variable> element declares a global or local variable in a stylesheet and gives it a value.
... because
xslt permits no side-effects, once the value of the variable has been established, it remains the same until the variable goes out of scope syntax <xsl:variable name=name select=expression > template </xsl:variable> required attributes name gives the variable a name.
... defined
xslt, section 11.
exsl:node-set() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes exsl:node-set() returns a node-set from a result tree fragment, which is what you get when you look at the xsl:variable instead of its select attribute to fetch a variable's value.
... specifications e
xslt - exsl:node-set ...
Common (exsl) - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the e
xslt common package provides basic functions that expand upon the capabilities of
xslt.
... the namespace for the common package is http://e
xslt.org/common.
math:highest() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes math:highest() returns the node in the specified node-set with the highest value (where the highest value calculated using math:max()).
... specifications e
xslt - math:highest ...
math:lowest() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes math:lowest() returns the node in the specified node-set with the lowest value (where the lowest value calculated using math:min()).
... specifications e
xslt - math:lowest ...
math:max() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes math:max() returns the maximum value of a node-set.
... specifications e
xslt - math:max ...
math:min() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes math:min() returns the minimum value of a node-set.
... specifications e
xslt - math:min browser compatibility supported in gecko 1.9 and later.
Math (math) - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the e
xslt math package provides functions for working with numeric values and comparing nodes.
... the namespace for the math package is http://e
xslt.org/math.
regexp:match() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes regexp:match() performs regular expression matching on a string, returning the submatches found as a result.
...', '(\w+):\/\/([^/:]+)(:\d*)?([^# ]*)')"> part <xsl:value-of select="position()" /> = <xsl:value-of select="." /> </xsl:for-each> this code generates the following output: part 1 = http://developer.mozilla.org/en/docs/firefox_3_for_developers part 2 = http part 3 = developer.mozilla.org part 4 = part 5 = /en/docs/firefox_3_for_developers specifications e
xslt - regexp:match ...
regexp:replace() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes regexp:replace() replaces the portions of a string that match a given regular expression with the contents of another string.
... specifications e
xslt - regexp:replace ...
regexp:test() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes regexp:test() tests to see whether a string matches a specified regular expression.
... specifications e
xslt - regexp:test ...
Regular expressions (regexp) - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the e
xslt regular expressions package provides functions that allow testing, matching, and replacing text using javascript style regular expressions.
... the namespace for the regular expressions package is http://e
xslt.org/regular-expressions.
set:difference() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes set:difference() returns the difference between two node-sets.
... specifications e
xslt - set:difference ...
set:distinct() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes set:distinct() returns a subset of the nodes in the specified node-set, returning only nodes with unique string values.
... specifications e
xslt - set:distinct ...
set:has-same-node() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes set:has-same-node() determines whether two node-sets have any nodes in common.
... specifications e
xslt - set:has-same-node ...
set:intersection() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes set:intersection() returns the intersection of two node-sets.
... specifications e
xslt - set:intersection ...
set:leading() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes set:leading() returns the nodes in one node-set that come before the first node in the other node-set.
... specifications e
xslt - set:leading ...
set:trailing() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes set:trailing() returns the nodes in one node-set that come after the first node in the other node-set.
... specifications e
xslt - set:trailing ...
Sets (set) - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the e
xslt sets package offers functions that let you perform set manipulation.
... the namespace for these functions is http://e
xslt.org/sets.
str:concat() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes str:concat() returns a string containing all the string values in a node-set concatenated together.
... specifications e
xslt - str:concat ...
str:split() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes str:split() splits a string using a pattern string to determine where the splits should occur, returning a node-set containing the resulting strings.
... example str:split('book, phone, computer, chair', ', ') returns a node set like: <token>book</token> <token>phone</token> <token>computer</token> <token>chair</token> specifications e
xslt - str:split ...
str:tokenize() - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes str:tokenize() splits a string using a set of characters as delimiters that determine where the splits should occur, returning a node-set containing the resulting strings.
... example: str:tokenize('2007-09-14-03t11:40:23', '-t:') returns a node set like this: <token>2007</token> <token>09</token> <token>14</token> <token>11</token> <token>40</token> <token>23</token> specifications e
xslt - str:tokenize ...
Strings (str) - EXSLT
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the e
xslt strings package provides functions that allow the manipulation of strings.
... the namespace for the strings package is http://e
xslt.org/strings.
<xsl:fallback> - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the <xsl:fallback> element specifies what template to use if a given extension (or, eventually, newer version) element is not supported.
... defined
xslt, section 15 gecko support not supported at this time.
<xsl:sort> - XSLT: Extensible Stylesheet Language Transformations
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the <xsl:sort> element defines a sort key for nodes selected by <xsl:apply-templates> or <xsl:for-each> and determines the order in which they are processed.
... defined
xslt, section10.
nsIXSLTException
content/
xslt/public/nsi
xsltexception.idlscriptable please add a summary to this article.
Index - XPath
found 57 pages: # page tags and summary 1 xpath css selectors, dom, jxon, landing, path, xml, xpath,
xslt xpath stands for xml path language.
... 2 axes transforming_xml_with_
xslt, xpath, xpath_reference,
xslt,
xslt_reference for further information on using xpath expressions, please see the for further reading section at the end of transforming xml with
xslt document.
... 17 functions transforming_xml_with_
xslt, xpath, xpath_reference,
xslt,
xslt_reference no summary!
...And 39 more matches
Migrate apps from Internet Explorer to Mozilla - Archive of obsolete content
1, xhtml 1.0 and xhtml 1.1 cascade style sheets (css): css level 1, css level 2.1 and parts of css level 3 document object model (dom): dom level 1, dom level 2 and parts of dom level 3 mathematical markup language: mathml version 2.0 extensible markup language (xml): xml 1.0, namespaces in xml, associating style sheets with xml documents 1.0, fragment identifier for xml xsl transformations:
xslt 1.0 xml path language: xpath 1.0 resource description framework: rdf simple object access protocol: soap 1.1 ecma-262, revision 3 (javascript 1.5): ecma-262 general cross-browser coding tips even though web standards do exist, different browsers behave differently (in fact, the same browser may behave differently depending on the platform).
... xml differences mozilla has strong support for xml and xml-related technologies, such as
xslt and web services.
...
xslt differences mozilla supports xsl transformations (
xslt) 1.0.
...And 22 more matches
XSL Transformations in Mozilla FAQ - Web APIs
the
xslt namespace is http://www.w3.org/1999/xsl/transform.
...mozilla won't load
xslt stylesheets from a different domain for security reasons.
... note: starting in gecko 7.0, both text/xsl and application/
xslt+xml are supported mime types for
xslt media stylesheets.
...And 11 more matches
Connecting to Remote Content - Archive of obsolete content
using
xslt xslt (extensible stylesheet language transformations) is another tool used to manipulate xml documents and transform them into other forms of text output, such as html, xul, and so on.
... first you need to create an
xslt stylesheet that acts as a template.
...the
xslt tutorial contains details for building these templates.
...And 7 more matches
Creating a Microsummary - Archive of obsolete content
we'll build the
xslt transform sheet that converts that page into its microsummary, learn how to specify that the generator applies to that page, and find out how to make the generator available for download and installation.
...since our generator will be creating microsummaries displaying the firefox download count, let's give it the name "firefox download count": <?xml version="1.0" encoding="utf-8"?> <generator xmlns="http://www.mozilla.org/microsummaries/0.1" name="firefox download count"> </generator> adding an
xslt transform sheet generators must include an
xslt transform sheet (also known as an
xslt stylesheet) which transforms the page content into its microsummary.
...
xslt is a powerful language for transforming documents into different representations of the same information.
...And 7 more matches
XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes xpath stands for xml path language.
... xpath is mainly used in
xslt, but can also be used as a much more powerful way of navigating through the dom of any xml-like language document using xpathexpression, such as html and svg, instead of relying on the document.getelementbyid() or parentnode.queryselectorall() methods, the node.childnodes properties, and other dom core features.
... documentation introduction to using xpath in javascript describes a non-
xslt use of xpath.
...And 5 more matches
Microsummary XML grammar reference - Archive of obsolete content
</transform> </template> <pages> <include>http://(www\.)?spreadfirefox\.com/(index\.php)?</include> </pages> </generator> namespace the namespace uri for microsummary generator xml documents is: http://www.mozilla.org/microsummaries/0.1 all elements in a microsummary generator document should be in this namespace except the descendants of the <template> element, which should be in the
xslt namespace: http://www.w3.org/1999/xsl/transform the <generator> element the <generator> element is the root tag for all microsummary generators, and should contain the remainder of the xml code describing the generator.
... the <template> element the <template> element contains the
xslt stylesheet which transforms web pages into their microsummaries.
...child elements: <stylesheet> or <transform> (required) the
xslt stylesheet which performs the transformation.
...And 3 more matches
Index - Web APIs
5279
xsltprocessor api, dom, dom reference, reference,
xslt an
xsltprocessor applies an
xslt stylesheet transformation to an xml document to produce a new xml document as output.
... it has methods to load the
xslt stylesheet, to manipulate <xsl:param> parameter values, and to apply the transformation to documents.
... 5284 xsl transformations in mozilla faq guide,
xslt make sure the mime type for both source and stylesheet are set to an xml mimetype, namely text/xml or application/xml.
...And 3 more matches
document - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the document finds a node-set in an external document, or multiple external documents, and returns the resulting node-set.
...see the
xslt 1.0 documentation for details.
... this function is an
xslt-specific addition to xpath.
... defined
xslt 1.0 12.1 gecko support supported.
Index - Archive of obsolete content
380 building transformiix standalone needshelp, needsrewrite,
xslt no summary!
... 670 transforming xml with
xslt:mozilla
xslt no summary!
... 671 transforming xml with
xslt:the netscape
xslt no summary!
Mozilla Application Framework in Detail - Archive of obsolete content
our platform also can take advantage of other internet standards such as
xslt and rdf.
...
xslt could be used to translate information from web services, rss, soap, or other xml-based languages and convert them into a form that you might display in your user interface.
...success) performinstall(); else { alert("error detected: "+getlasterror()); cancelinstall(); } other features a resource description framework (rdf) parser with support for creating rdf graphs programmatically or by parsing files, compositing multiple sources into a single rdf graph, querying and manipulating graphs, and populating xul widgets (trees, menus, etc.) with graph data; an
xslt/xpath processor; scalable vector graphics (svg) rendering with support for a usable subset of the standard including all basic shapes, beziers, stroking and filling with opacity, and much of the dom; mathml rendering; an ecma-262 edition 3-compliant javascript engine; java integration with a bridge to xpcom, a java dom api, the open jvm integration (oji) facility, a java webclient api, and ja...
XUL Questions and Answers - Archive of obsolete content
support for non-rdf datasources for xul template is planned (bug 321170): xml datasources (bug 321171) storage (sqlite) datasources (bug 321172) when loading an
xslt stylesheet into an xml i get the error: "error loading stylesheet: an
xslt stylesheet load was blocked for security reasons." that error is from a security check that has been put up to safeguard against cross-site-scripting attacks.
...(server can just send the xul code to use for popup - alternatively it can send generic xml describing the attributes of the items in the menu and you generate the xul on client by applying an
xslt transform.) can i change a xul tree cell/row/item background color with javascript?
...you want to do return 0; } // for definitions of the remaining functions see xulplanet.com listobj.onprogresschange = function() { return 0 }; listobj.onstatuschange = function() { return 0 }; listobj.onsecuritychange = function() { return 0 }; listobj.onlinkiconavailable = function() { return 0 }; /* i use the progress listener to trap the end of a local html "template" file loading, and run
xslt transormations.
Index
1103 nsixpcscriptable interfaces, needscontent, xpcom, xpcom api reference, xpcom interface reference inherits from: nsisupports 1104 nsixpconnect interfaces, needscontent, reference, référence(2), xpcom, xpcom interface reference, xpconnect to access the xpconnect service, use code like this: 1105 nsi
xsltexception interfaces, interfaces:scriptable, xpcom, xpcom interface reference,
xslt no summary!
... 1106 nsi
xsltprocessor interfaces, interfaces:scriptable, xpcom, xpcom interface reference,
xslt implemented by: @mozilla.org/document-transformer;1?type=
xslt.
... to create an instance, use: 1107 nsi
xsltprocessorobsolete use nsi
xsltprocessor instead.
Browser Differences - Web APIs
browser differences netscape 7.x (all platforms) and internet explorer 6 (windows) support the w3c
xslt 1.0 standard (http://www.w3.org/tr/
xslt).
... ie 5.0 and 5.5 (both windows) supported only the working draft of
xslt, and thus are not compatible with
xslt 1.0 stylesheets.
... netscape 6.x only partially supported
xslt 1.0.
Generating HTML - Web APIs
generating html one common application of
xslt in the browser is to transform xml into html on the client.
... </myns:body> </myns:article> the xsl stylesheet used will need to have two namespaces - one for the
xslt elements and one for our own xml elements used in the xml document.
... the final
xslt stylesheet looks as follows: figure 6 : final
xslt stylesheetview example | view source xsl stylesheet: <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/xsl/transform" xmlns:myns="http://devedge.netscape.com/2002/de"> <xsl:output method="html" /> <xsl:template match="/"> <html> ...
Introduction - Web APIs
xslt takes an xml document (the content) and creates a brand new document based on the rules in the xsl stylesheet.
... this allows
xslt to add, remove and reorganize elements from the original xml document and thus allows more fine-grain control of the resulting document's structure.
... transformations in
xslt are based on rules that consist of templates.
current - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the current function can be used to get the context node in an
xslt instruction.
... notes this function is an
xslt-specific addition to xpath.
... defined
xslt 1.0 12.4 gecko support supported.
element-available - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the element-available function determines if an element is available and returns true or false.
...if the expanded-name has a namespace uri equal to the
xslt namespace uri, then it refers to an element defined by
xslt.
... defined
xslt 1.0 15 gecko support supported.
format-number - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the format-number function evaluates a number and returns a string representing the number in a given format.
... notes this function is an
xslt-specific addition to xpath.
... defined
xslt 1.0 12.3 gecko support supported.
generate-id - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the generate-id function generates a unique id for the first node in a given node-set and returns a string containing that id.
... this function is an
xslt-specific addition to xpath.
... defined
xslt 1.0 12.4 gecko support supported.
key - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the key function returns a node-set of nodes that have the given value for the given key.
... this function is an
xslt-specific addition to xpath.
... defined
xslt 1.0 12.2 gecko support supported.
system-property - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the system-property function returns an object representing the given system-property.
... notes xsl:version, a number giving the version of
xslt implemented by the processor; for
xslt processors implementing the version of
xslt specified by this document, this is the number 1.0 xsl:vendor, a string identifying the vendor of the
xslt processor xsl:vendor-url, a string containing a url identifying the vendor of the
xslt processor; typically this is the host page (home page) of the vendor's web site.
... defined
xslt 1.0 12.4 gecko support supported.
Functions - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the following is an annotated list of core xpath functions and
xslt-specific additions to xpath, including a description, syntax, a list of arguments, result-type, source in the appropriate w3c recommendation, and degree of present gecko support.
... for further information on using xpath/
xslt functions, please see the for further reading page.
... boolean() ceiling() choose() concat() contains() count() current()
xslt-specific document()
xslt-specific element-available() false() floor() format-number()
xslt-specific function-available() generate-id()
xslt-specific id() (partially supported) key()
xslt-specific lang() last() local-name() name() namespace-uri() normalize-space() not() number() position() round() starts-with() string() string-length() substring() substring-after() substring-before() sum() system-property()
xslt-specific translate() true() unparsed-entity-url()
xslt-specific (not supported) ...
JXON - Archive of obsolete content
the following is a transcription of the parker convention paper (version 0.4), from the page “transformingrules” of the xml2json-
xslt project site.
... this convention was written in order to regulate the conversion to json from
xslt, so parts of it are futile for javascript.
The Business Benefits of Web Standards - Archive of obsolete content
using xhtml will enable web authors to leverage tools from the xml world, such as
xslt, to easily manipulate xml data.
... using xhtml is a way to enter a set of standards composed of xml-based technologies, such as xml,
xslt (transforming data), svg (animated graphics), mathml (describing mathematic expressions)...
Windows Media in Netscape - Archive of obsolete content
exobject("microsoft.xmlhttp"); } else if (window.xmlhttprequest) { req = new xmlhttprequest(); } // req can be used in a cross-browser way -- the actual objects are similar // caveat emptor: look out for the case of methods and properties -- ie uses // capital letters where gecko uses lowercase other popular uses of microsoft's msxml objects are for in-memory manipulation of xml documents via
xslt, perhaps to construct dynamic data for the windows media player.
... netscape gecko based browsers such as netscape 7.1 provide comparable implementations of
xslt transformations in memory via javascript.
Gecko FAQ - Gecko Redirect 1
gecko supports the use of css and
xslt to format xml documents.
... for xml documents without associated css or
xslt, gecko displays the pretty-printed source of the document.
Error codes returned by Mozilla APIs
14) ns_error_xpath_operator_expected (0x80600015) ns_error_xpath_unclosed_literal (0x80600016) ns_error_xpath_bad_colon (0x80600017) ns_error_xpath_bad_bang (0x80600018) ns_error_xpath_illegal_char (0x80600019) ns_error_xpath_binary_expected (0x8060001a) ns_error_xpath_invalid_expression_evaluated (0x8060001c) ns_error_xpath_unbalanced_curly_brace (0x8060001d)
xslt errors errors that can occur when using
xslt.
... ns_error_
xslt_parse_failure (0x80600001) ns_error_
xslt_already_set (0x80600003) ns_error_
xslt_execution_failure (0x80600004) ns_error_
xslt_bad_recursion (0x80600006) ns_error_
xslt_bad_value (0x80600007) ns_error_
xslt_nodeset_expected (0x80600008) ns_error_
xslt_aborted (0x80600009) ns_error_
xslt_network_error (0x8060000a) ns_error_
xslt_wrong_mime_type (0x8060000b) ns_error_
xslt_load_recursion (0x8060000c) ns_error_
xslt_load_blocked_error (0x8060001b) ns_error_
xslt_bad_node_name (0x8060001e) ns_error_
xslt_var_already_set (0x8060001f) miscellaneous errors other errors that can occur.
Resources - Web APIs
resources transforming xml: netscape and
xslt what kind of language is
xslt?
... at ibm developerworks
xslt tutorial at zvon.org xpath tutorial at zvon.org using the mozilla javascript interface to do xsl transformations at mozilla.org mozilla.org's
xslt project page, which includes a frequently encountered issues section.
Axes - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes there are thirteen different axes in the xpath specification.
... for further information on using xpath expressions, please see the for further reading section at the end of transforming xml with
xslt document.
unparsed-entity-url - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the unparsed-entity-url() function returns the uri of the unparsed entity with the given name.
... defined
xslt 1.0 12.4 gecko support not supported.
Index of archived content - Archive of obsolete content
tamarin-central rev 703:2cee46be9ce0 tamarin roadmap tamarin build documentation tamarin mercurial commit hook the download manager schema the life of an html http request the new nsstring class implementation (1999) tracevis transforming xml with
xslt:mozilla
xslt transforming xml with
xslt:the netscape
xslt treehydra treehydra build instructions treehydra manual tuning pageload urischeme uris and urls uriloader using addresses of stack variables with nspr threads on win16 using cross commit ...
Priority Content - Archive of obsolete content
book length works in progress: netscape gecko plugin api reference 1.0 original: netscape gecko plugin api reference 1.0 wiki location: gecko plugin api reference migrators: started: core javascript reference 1.5 original: core javascript reference 1.5 wiki location: core javascript 1.5 reference migrators: deb richardson in progress: transforming xml: netscape and
xslt 1.0 original: transforming xml: netscape and
xslt 1.0 wiki location: transforming xml with
xslt migrators: serge k.
XML in Mozilla - Archive of obsolete content
outside supported xml w3c recommendations specification or technology documentation mozilla project
xslt w3c recommendation
xslt xpath w3c recommendation
xslt xmlhttprequest w3c recommendation xml extras request api (no longer supported) mozilla add-on sdk domparser and xmlserializer mozilla xml extras sax sax soap (no longer suppor...
What XULRunner Provides - Archive of obsolete content
the following features are either already implemented or planned: gecko features xpcom networking gecko rendering engine dom editing and transaction support (no ui) cryptography xbl (xbl2 planned) xul svg
xslt xml extras (xmlhttprequest, domparser, etc.) web services (soap) auto-update support (not yet complete) type ahead find toolbar history implementation (the places implementation in the 1.9 cycle) accessibility support ipc services for communication between gecko-based apps (not yet complete) storage/sqlite interfaces user interface features the following user interface is supplied by xul...
E4X for templating - Archive of obsolete content
vious after a study of the basics of e4x that it can be used for this purpose, if one adds a few common purpose functions (especially along with the convenience of javascript 1.8 expression closures), the templates can function more dynamically, offering the power and readability of templating languages such as smarty for php (though admittedly without the currently wider cross-browser support of
xslt or the strictly-xml approach of phptal or seethrough templating).
MDN Web Docs Glossary: Definitions of Web-related terms
webdav webextensions webgl webidl webkit webm webp webrtc websockets webvtt whatwg whitespace world wide web wrapper x xforms xhr (xmlhttprequest) xhtml xinclude xlink xml xpath xquery
xslt other 404 502 alpn at-rule attack byte-order mark character set client cryptosystem debug digital signature execution flex-direction glsl interface library memory management routers self-executing anonymo...
Rhino downloads archive
if you are looking for js.jar for
xslt or for ibm's bean scripting framework (bsf), please read the following note and then download one of the zip files above and unzip it.
XPCOM changes in Gecko 2.0
constructor-prototype-alias javascript global property javascript-global-property javascript global privileged property javascript-global-privileged-property javascript global static nameset javascript-global-static-nameset javascript global dynamic nameset javascript-global-dynamic-nameset javascript dom class javascript-dom-class javascript dom interface javascript-dom-interface
xslt extension functions
xslt-extension-functions but why?
nsIFeedResult
stylesheet nsiuri an
xslt stylesheet available to transform the source of the feed.
nsIMicrosummaryGenerator
microsummaries generated by
xslt templates need page content, while those which represent the actual microsummary do not.
XPCOM Interface Reference
nsiwindowmediatornsiwindowwatchernsiwindowsregkeynsiwindowsshellservicensiworkernsiworkerfactorynsiworkerglobalscopensiworkermessageeventnsiworkermessageportnsiworkerscopensiwritablepropertybagnsiwritablepropertybag2nsixformsmodelelementnsixformsnsinstanceelementnsixformsnsmodelelementnsixmlhttprequestnsixmlhttprequesteventtargetnsixmlhttprequestuploadnsixpcexceptionnsixpcscriptablensixpconnectnsi
xsltexceptionnsi
xsltprocessornsi
xsltprocessorobsoletensixulappinfonsixulbrowserwindownsixulbuilderlistenernsixulruntimensixulsortservicensixultemplatebuildernsixultemplatequeryprocessornsixultemplateresultnsixulwindownsixmlrpcclientnsixmlrpcfaultnsizipentrynsizipreadernsizipreadercachensizipwriternsmsgfilterfileattribvaluensmsgfolderflagtypensmsgjunkstatusnsmsgkeynsmsglabelvaluensmsgpriorityvaluensmsg...
XPCOM Interface Reference by grouping
nsiaccessiblevalue nsiaccessnode nsisyncmessagesender script nsiscriptableunescapehtml nsiscriptableunicodeconverter nsiscripterror nsiscripterror2 stylesheet nsistylesheetservice url nsiuri nsiurl util nsidomserializer nsidomxpathevaluator nsidomxpathexception nsidomxpathexpression nsidomxpathresult
xslt nsi
xsltexception nsi
xsltprocessor download nsidownload nsidownloadmanager nsidownloadprogresslistener element internal nsiworker nsiworkerglobalscope nsiworkermessageevent nsiworkermessageport nsiworkerscope tree nsitreeboxobject nsitreecolumn nsitreecolumns nsitreecontentview nsitreeselection nsitreeview...
Mozilla technologies
it has multiple language bindings, allowing xpcom components to be used and implemented in javascript, java, and python in addition to c++.xpidlxpidl is an interface description language used to specify xpcom interface classes.xray visiongecko runs javascript from a variety of different sources and at a variety of different privilege levels.
xslt 2.0although
xslt 2.0 is not natively supported in firefox, it is possible via saxon-b (java) or, more recently, saxon-ce (javascript) to perform
xslt 2.0.xtfthe extensible tag framework (xtf) allows adding support for new namespaces using xpcom components to mozilla (written in javascript or c++).
How to create a DOM tree - Web APIs
dom trees can be queried using xpath expressions, converted to strings or written to a local or remote files using xmlserializer (without having to first convert to a string), posted to a web server (via xmlhttprequest), transformed using
xslt, xlink, converted to a javascript object through a jxon algorithm, etc.
Web APIs
tsourceschangeeventinit xrpermissiondescriptor xrpermissionstatus xrpose xrreferencespace xrreferencespaceevent xrreferencespaceeventinit xrreferencespacetype xrrenderstate xrrenderstateinit xrrigidtransform xrsession xrsessionevent xrsessioneventinit xrsessioninit xrsessionmode xrspace xrsystem xrtargetraymode xrview xrviewerpose xrviewport xrvisibilitystate xrwebgllayer xrwebgllayerinit
xsltprocessor ...
Ajax - Developer guides
asynchronous javascript and xml, while not a technology in itself, is a term coined in 2005 by jesse james garrett, that describes a "new" approach to using a number of existing technologies together, including html or xhtml, css, javascript, dom, xml,
xslt, and most importantly the xmlhttprequest object.
CSP: script-src - HTTP
this includes not only urls loaded directly into <script> elements, but also things like inline script event handlers (onclick) and
xslt stylesheets which can trigger script execution.
Index - HTTP
this includes not only urls loaded directly into <script> elements, but also things like inline script event handlers (onclick) and
xslt stylesheets which can trigger script execution.
Sec-Fetch-Dest - HTTP
tch-dest: embed sec-fetch-dest: empty sec-fetch-dest: font sec-fetch-dest: image sec-fetch-dest: manifest sec-fetch-dest: nested-document sec-fetch-dest: object sec-fetch-dest: paintworklet sec-fetch-dest: report sec-fetch-dest: script sec-fetch-dest: serviceworker sec-fetch-dest: sharedworker sec-fetch-dest: style sec-fetch-dest: track sec-fetch-dest: video sec-fetch-dest: worker sec-fetch-dest:
xslt sec-fetch-dest: audioworklet sec-fetch-dest: audioworklet values audio audioworklet document embed empty font image manifest object paintworklet report script serviceworker sharedworker style track video worker
xslt nested-document examples todo specifications specification title fetch metadata request ...
HTTP headers - HTTP
it is a structured header whose value is a token with possible values audio, audioworklet, document, embed, empty, font, image, manifest, object, paintworklet, report, script, serviceworker, sharedworker, style, track, video, worker,
xslt, and nested-document.
HTTP Index - HTTP
this includes not only urls loaded directly into <script> elements, but also things like inline script event handlers (onclick) and
xslt stylesheets which can trigger script execution.
XML introduction - XML: Extensible Markup Language
<?xml-stylesheet type="text/css" href="stylesheet.css"?> there is also another more powerful way to display xml: the extensible stylesheet language transformations (
xslt) which can be used to transform xml into other languages such as html.
Comparison of CSS Selectors and XPath - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes this article seeks to document the difference between css selectors and xpath for web developers to be able to better choose the right tool for the right job.
boolean - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the boolean function evaluates an expression and returns true or false.
ceiling - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the ceiling function evaluates a decimal number and returns the smallest integer greater than or equal to the decimal number.
choose - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the choose function returns one of the specified objects based on a boolean parameter.
concat - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the concat function concatenates two or more strings and returns the resulting string.
contains - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the contains function determines whether the first argument string contains the second argument string and returns boolean true or false.
count - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the count function counts the number of nodes in a node-set and returns an integer.
false - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the false function returns boolean false.
floor - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the floor function evaluates a decimal number and returns the largest integer less than or equal to the decimal number.
function-available - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the function-available function determines if a given function is available and returns boolean true or false.
id - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the id function finds nodes matching the given ids and returns a node-set containing the identified nodes.
lang - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the lang function determines whether the context node matches the given language and returns boolean true or false.
last - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the last function returns a number equal to the context size from the expression evaluation context.
local-name - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the local-name function returns a string representing the local name of the first node in a given node-set.
name - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the name function returns a string representing the qname of the first node in a given node-set.
namespace-uri - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the namespace-uri function returns a string representing the namespace uri of the first node in a given node-set.
normalize-space - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the normalize-space function strips leading and trailing white-space from a string, replaces sequences of whitespace characters by a single space, and returns the resulting string.
not - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the not function evaluates a boolean expression and returns the opposite value.
number - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the number function converts an object to a number and returns the number.
position - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the position function returns a number equal to the context position from the expression evaluation context.
round - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the round function returns a number that is the nearest integer to the given number.
starts-with - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the starts-with checks whether the first string starts with the second string and returns true or false.
string-length - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the string-length function returns a number equal to the number of characters in a given string.
string - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the string function converts the given argument to a string.
substring-after - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the substring-after function returns a string that is the rest of a given string after a given substring.
substring-before - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the substring-before function returns a string that is the part of a given string before a given substring.
substring - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the substring function returns a part of a given string.
sum - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the sum function returns a number that is the sum of the numeric values of each node in a given node-set.
translate - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the translate function evaluates a string and a set of characters to translate and returns the translated string.
true - XPath
xslt/xpath reference:
xslt elements, e
xslt functions, xpath functions, xpath axes the true function returns a boolean value of true.
Web technology for developers
accessibilitycss houdinicss: cascading style sheetsdemos of open web technologiesdeveloper guidese
xsltevent referencehtml: hypertext markup languagehttpjavascriptmathmlopensearch description formatprivacy, permissions, and information securityprogressive web apps (pwas)svg: scalable vector graphicstutorialsweb apisweb componentsweb performanceweb app manifestsweb media technologiesweb securityweb technology referencexml: extensible markup languagexpath
xslt: extensible stylesheet language transform...