SimonXIX’s avatarSimonXIX’s Twitter Archive—№ 47,790

        1. Does anyone know about XSL? Why won't this XSL grab the title field from this XML?
      1. …in reply to @SimonXIX
        XML: <TEI xmlns="tei-c.org/ns/1.0" xml:id="manuscript_7947"> <teiHeader> <fileDesc> <titleStmt> <title>ms. 11660</title> </titleStmt> </fileDesc> </teiHeader> </TEI>
    1. …in reply to @SimonXIX
      XSL: <xsl:stylesheet version="1.0" xmlns:xsl="w3.org/1999/XSL/Transform"> <xsl:template match="/"> <add> <doc> <field name="id"> <xsl:value-of select="//TEI/teiHeader/fileDesc/titleStmt/title" />...
  1. …in reply to @SimonXIX
    Got it. The XML declares a namespace but the XSL doesn't use the relevant namespace prefix. stackoverflow.com/questions/16099519/tei-and-xslt-no-content-in-output-file