Skip to content

XPath: Undeclared prefix in name: 'h:table' #61

Closed
@vnesterovsky

Description

@vnesterovsky

Plugin does not see namespace declaration:

<xsl:function name="t:html-to-csv" as="xs:string*">
  <xsl:param name="html" as="element()"/>

  <xsl:sequence xmlns:h="http://www.w3.org/1999/xhtml" 
    select="$html!descendant-or-self::h:table[1]!h:tr!t:get-csv-line((h:td | h:th)!xs:string(.))"/>
</xsl:function>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions