Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
By providing xPath of the element and using @ followed by the attribute name.
Using Acrobat professional and epsilon editor
If they are not able toconstruct a reply similar to the example below, they shouldat least be able to identify the components necessary forthis operation: xsl:template to match the appropriate XMLelement, xsl:value-of to select the attribute value, and theoptional xsl:apply-templates to continue processing thedocument.Extract Attributes from XML Data Example 1.<xsl:template match="element-name">Attribute Value:<xsl:value-of select="@attribute"/><xsl:apply-templates/></xsl:template>
or
Extract Attributes from XML Data Example:<xsl:template match=”element-name”>Attribute Value:<xsl:value-of select=”@attribute”/><xsl:apply-templates/>
</xsl:template>
Note: xsl:template to match the appropriate XML element,xsl:value-of to select the attribute value, and the optional xsl:apply-templates to continue processing the document.