[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re Change xml:lang of a skos:prefLabel [ skos, r
Michael Kay wrote: Hi, > <xsl:template match="skos:altLabel|skos:prefLabel"> > <xsl:copy> > <xsl:attribute name="xml:lang">en</xsl:attribute> > <xsl:copy-of select="@*"/> > <xsl:apply-templates select="@*|node()"/> > </xsl:copy> > </xsl:template> > <xsl:template match="*"> > <xsl:copy> > <xsl:copy-of select="@*"/> > <xsl:apply-templates select="@*|node()"/> > </xsl:copy> > </xsl:template> I guess selecting attributes in both apply-templates instructions is a typo? Regards, -- Florent Georges http://www.fgeorges.org/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|