Skip to main content

David Gelpi Fleta's Library tagged XML   View Popular

13 Jan 09

XPath Axes

  • XPath Axes



    An axis defines a node-set relative to the current node.

  • ancestor
  • 9 more annotations...

XPath Syntax

  • Selecting Nodes


    XPath uses path expressions to select nodes in an XML document.

  • Expression
    Description

    nodename
    Selects all child nodes of the named node

    /
    Selects from the root node

    //
    Selects nodes in the document from the current node that
    match the selection no matter where they are

    .
    Selects the current node

    ..
    Selects the parent of the current node

    @
    Selects attributes
  • 10 more annotations...

XSL Transformations (XSLT)

  • <xsl:template

      match = pattern

      name = qname

      priority = number

      mode = qname>
  • In the absence of a select attribute, the
    xsl:apply-templates instruction processes all of the children of
    the current node, including text nodes
  • 3 more annotations...

XSLT Tutorial

  • XSL stands for EXtensible Stylesheet Language.
  • there was a need for an XML-based style sheet language.
  • 1 more annotations...
03 Nov 08

XML Schema How To

  • This XML document has a reference to an XML Schema:
  • xsi:schemaLocation="http://www.w3schools.com note.xsd"
20 Oct 08

XML Tree

  • <?xml version="1.0" encoding="ISO-8859-1"?>
  • XML Documents Form a Tree Structure



    XML documents must contain a root element. This element is "the
    parent" of all other elements.



    The elements in an XML document form a document tree.
    The tree starts at the root and branches to the lowest level of the tree.
1 - 7 of 7
Showing 20 items per page

Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »

Join Diigo