Skip to main content

Home/ Groups/ PSI_ESEI
David Gelpi Fleta

XSLT <xsl:for-each> Element - 0 views

  • The &lt;xsl:for-each&gt; Element The XSL &lt;xsl:for-each&gt; element can be used to select every XML element of a specified node-set:
  • &lt;xsl:for-each select="catalog/cd"&gt;
  • We can also filter the output from the XML file by adding a criterion to the select attribute in the &lt;xsl:for-each&gt; element.
  • ...1 more annotation...
  • Legal filter operators are: =&nbsp; (equal) != (not equal) &amp;lt; less than &amp;gt; greater than
David Gelpi Fleta

XML Schema Part 2: Datatypes Second Edition - 0 views

  • The ·value space· of NMTOKEN is the set of tokens that ·match· the Nmtoken production
  • token represents tokenized strings. The ·value space· of token is the set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces.
  • NMTOKEN has the following ·constraining facets·: lengthminLengthmaxLengthpatternenumerationwhiteSpace
David Gelpi Fleta

XML CDATA - 0 views

  • Escape Characters Illegal XML characters have to be replaced by entity references. If you place a character like "&lt;" inside an XML element, it will generate an error because the parser interprets it as the start of a new element.
  • &amp;lt; &lt; less than &amp;gt; &gt; greater than &amp;amp; &amp; ampersand&nbsp; &amp;apos; ' apostrophe &amp;quot; " quotation mark
  • Apostrophes, quotation marks and greater than signs are legal, but it is a good habit to replace them.
  • ...2 more annotations...
  • CDATA Everything inside a CDATA section is ignored by the parser.
  • A CDATA section starts with "&lt;![CDATA[" and ends with "]]&gt;":
« First ‹ Previous 41 - 43
Showing 20 items per page