Skip to main content

Home/ PSI_ESEI_08/ Contents contributed and discussions participated by David Gelpi Fleta

Contents contributed and discussions participated by David Gelpi Fleta

David Gelpi Fleta

Becoming an Architect in a System Integrator - 0 views

  • Enterprise Architect/Chief Architect The enterprise architect is responsible for implementing the CIO's vision and strategy for IT. It includes defining strategic programs (usually multiyear, multimillion dollars for large organizations), selecting the appropriate technology platforms, and providing guidance for implementations. The enterprise architect aids the CIO in making sure that the IT investments are aligned to the business strategy, and provide competitive edge for the organization
  • Solution Architect The solution architect is responsible for implementing a strategic IT program. This includes defining the architectural solution for the program (usually spanning multiple technologies),
  • mediate between business and technology teams and various other groups.
  • ...4 more annotations...
  • Technical Architect The technical architect is usually a technology specialist in a particular technology.
  • the technology architect is expected to know the various vendor tools in the technology area, the latest trends in the market, and various architectural alternatives for implementing the solution
  • "Chief Architect."
  • The senior position has the title "Lead Architect."
David Gelpi Fleta

XPath Axes - 0 views

David Gelpi Fleta

XSLT <xsl:apply-templates> Element - 0 views

  • If we add a select attribute to the &lt;xsl:apply-templates&gt; element it will process only the child element that matches the value of the attribute
  • The &lt;xsl:apply-templates&gt; element applies a template to the current element or to the current element's child nodes.
David Gelpi Fleta

XSLT <xsl:sort> Element - 0 views

  • &lt;xsl:for-each select="catalog/cd"&gt; &lt;xsl:sort select="artist"/&gt;
  • To sort the output, simply add an &lt;xsl:sort&gt; element inside the &lt;xsl:for-each&gt; element in the XSL file:
David Gelpi Fleta

XSLT <xsl:value-of> Element - 0 views

  • he value of the select attribute is an XPath expression. An XPath expression works like navigating a file system; where a forward slash (/) selects subdirectories.
  • &lt;xsl:value-of select="catalog/cd/title"/&gt;
  • The &lt;xsl:value-of&gt; element is used to extract the value of a selected node.
David Gelpi Fleta

XSLT Transformation - 0 views

  • xmlns:xsl="http://www.w3.org/1999/XSL/Transform" points to the official W3C XSLT namespace.
  • Link the XSL Style Sheet to the XML Document Add the XSL style sheet reference to your XML document
  • &lt;xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  • ...3 more annotations...
  • &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt;
  • orrect Style Sheet Declaration The root element that declares the document to be an XSL style sheet is &lt;xsl:stylesheet&gt; or &lt;xsl:transform&gt;.
  • Example study: How to transform XML into XHTML using XSLT.
David Gelpi Fleta

XSLT <xsl:if> Element - 0 views

  • &lt;xsl:for-each select="catalog/cd"&gt; &lt;xsl:if test="price &amp;gt; 10"&gt;
  • &lt;xsl:if test="expression"&gt; ... ...some output if the expression is true... ... &lt;/xsl:if&gt;
  • add the &lt;xsl:if&gt; element inside the &lt;xsl:for-each&gt; element
David Gelpi Fleta

Introduction to XSLT - 0 views

  • How Does it Work? In the transformation process, XSLT uses XPath to define parts of the source document that should match one or more predefined templates. When a match is found, XSLT will transform the matching part of the source document into the result document.
  • XSLT Uses XPath XSLT uses XPath to find information in an XML document. XPath is used to navigate through elements and attributes in XML documents.
  • A common way to describe the transformation process is to say that XSLT transforms an XML source-tree into an XML result-tree.
  • ...2 more annotations...
  • XSLT is used to transform an XML document into another XML document, or another type of document that is recognized by a browser, like HTML and XHTML. Normally XSLT does this by transforming each XML element into an (X)HTML element.
  • What is XSLT? XSLT stands for XSL Transformations XSLT is the most important part of XSL XSLT transforms an XML document into another XML document XSLT uses XPath to navigate in XML documents XSLT is a W3C Recommendation
David Gelpi Fleta

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

  • Legal filter operators are: =&nbsp; (equal) != (not equal) &amp;lt; less than &amp;gt; greater than
  • 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.
  • &lt;xsl:for-each select="catalog/cd"&gt;
  • ...1 more annotation...
  • 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:
David Gelpi Fleta

XSLT <xsl:choose> Element - 0 views

  • &lt;xsl:choose&gt; &lt;xsl:when test="expression"&gt; ... some output ... &lt;/xsl:when&gt; &lt;xsl:otherwise&gt; ... some output .... &lt;/xsl:otherwise&gt; &lt;/xsl:choose&gt;
  • The &lt;xsl:choose&gt; element is used in conjunction with &lt;xsl:when&gt; and &lt;xsl:otherwise&gt; to express multiple conditional tests.
David Gelpi Fleta

XSLT <xsl:template> Element - 0 views

  • The content inside the &lt;xsl:template&gt; element defines some HTML to write to the output.
  • &lt;xsl:template match="/"&gt; &lt;html&gt;
  • &lt;xsl:stylesheet&gt;, defines that this document is an XSLT style sheet document
  • ...3 more annotations...
  • &lt;xsl:template&gt; element is used to build templates. The match attribute is used to associate a template with an XML element. The match attribute can also be used to define a template for the entire XML document. The value of the match attribute is an XPath expression (i.e. match="/" defines the whole document).
  • Since an XSL style sheet is an XML document itself, it always begins with the XML declaration: &lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;
  • An XSL style sheet consists of one or more set of rules that are called templates. Each template contains rules to apply when a specified node is matched.
David Gelpi Fleta

XSL Languages - 0 views

  • XSL stands for EXtensible Stylesheet Language.
  • XSL consists of three parts: XSLT - a language for transforming XML documents XPath - a language for navigating in XML documents XSL-FO - a language for formatting XML documents
  • XSL describes how the XML document should be displayed!
David Gelpi Fleta

XPath Operators - 0 views

David Gelpi Fleta

XPath Nodes - 0 views

  • In XPath, there are seven kinds of nodes: element, attribute, text, namespace, processing-instruction, comment, and document (root) nodes.
  • XML documents are treated as trees of nodes. The root of the tree is called the document node (or root node).
  • Atomic values Atomic values are nodes with no children or parent.
  • ...5 more annotations...
  • Children Element nodes may have zero, one or more children.
  • Relationship of Nodes Parent Each element and attribute has one parent.
  • Siblings Nodes that have the same parent.
  • Ancestors A node's parent, parent's parent, etc.
  • Descendants A node's children, children's children, etc.
David Gelpi Fleta

Introduction to XPath - 0 views

  • XPath is a language for finding information in an XML document
  • What is XPath? XPath is a syntax for defining parts of an XML document XPath uses path expressions to navigate in XML documents XPath contains a library of standard functions XPath is a major element in XSLT XPath is a W3C recommendation
David Gelpi Fleta

XSL Transformations (XSLT) - 0 views

shared by David Gelpi Fleta on 12 Jan 09 - Cached
  • In the absence of a select attribute, the xsl:apply-templates instruction processes all of the children of the current node, including text nodes
  • &lt;xsl:template &nbsp;&nbsp;match = pattern &nbsp;&nbsp;name = qname &nbsp;&nbsp;priority = number &nbsp;&nbsp;mode = qname&gt;
  • &lt;xsl:call-template &nbsp;&nbsp;name = qname&gt;
  • ...2 more annotations...
  • Templates can be invoked by name.
  • An xsl:call-template element invokes a template by name; it has a required name attribute that identifies the template to be invoked
David Gelpi Fleta

XPath Syntax - 0 views

  • 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
  • Predicates Predicates are used to find a specific node or a node that contains a specific value.
  • ...9 more annotations...
  • Predicates are always embedded in square brackets.
  • [1]
  • [last()]
  • [position()&lt;3]
  • [@lang]
  • [@lang='eng']
  • [price&gt;35.00]
  • Wildcard Description * Matches any element node @* Matches any attribute node node() Matches any node of any kind
  • Selecting Several Paths By using the | operator in an XPath expression you can select several paths.
David Gelpi Fleta

XSLT Tutorial - 0 views

  • XSL stands for EXtensible Stylesheet Language.
  • there was a need for an XML-based style sheet language.
  • XSLT stands for XSL Transformations.
David Gelpi Fleta

Ampliación del plazo de entrega de la práctica. - 76 views

practica
  • David Gelpi Fleta
     
    Debido a la cantidad de personas que están realizando el proyecto fin de carrera al mismo tiempo que la asignatura, dados los plazos de entrega de PFC en Enero y las peticiones recibidas al respecto, hemos decidido ampliar el plazo de entrega de la parte primera de la práctica (juego de Schemas) al día 16 de Enero.
    Todas aquellas personas que completen la práctica antes del día 18 de diciembre, pueden entregarla ya.
    Esperamos que, de este modo, la práctica se complete de manera satisfactoria.
    En las sesiones de laboratorio de Enero trabajaremos con XSLT para completar la segunda parte de la práctica antes del día 26 de Enero.

    Finalmente los plazos de entrega se establecen de este modo:
    - día 16 de Enero límite entrega parte 1.
    - día 26 de Enero límite entrega parte 2.

    Un saludo,
    David.
  • David Gelpi Fleta
     
    La entrega de la segunda parte de la práctica consta de los siguientes documentos (impresos y en CD):

    - Hoja de estilos XSLT.
    - Una o varias instancias XML ejemplo con el juego de documentos para visualizar su transformación XSLT.
    - Las explicaciones necesarias para comprender tu propuesta de transformación XSLT, en especial si existen cambios respecto a la primera parte de la práctica.

    La práctica se entrega en mi despacho o se deposita en mi buzón.

    Un cordial saludo,
    David.
David Gelpi Fleta

Problemas validación Redefine por Restricción - 58 views

practica
started by David Gelpi Fleta on 09 Dec 08 no follow-up yet
  • David Gelpi Fleta
     
    Tod@s aquell@s que realiceis la práctica con Eclipse version 3.4.X debéis modificar la configuración del validador Schema (Xerces) para evitar que la redefinición por restricción no valide.
    Para ello, en el menú Windows, clic en el submenú "Preferencias". En "XML" seleccionar "XML Schema files" y localizar el checkbox "Check full Schema conformance". Deshabilitar esta opción.

    Más información sobre el tópico en:

    http://www.oxygenxml.com/forum/ftopic510.html

    Un saludo,
    David.
1 - 20 of 49 Next › Last »
Showing 20 items per page