![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - html tags within meta tags allowed? [Thread Next] Re: html tags within meta tags allowed?To: NULL Date: 1/5/2005 1:17:00 PM Donald Firesmith wrote: > Are html tags allowed within meta tags? Specifically, if I have html > tags within a <definition> tag within XML, can I use the definition as > the content within the <meta content="description> tag? If not, is > there an easy way to strip the html tags from the <definition> content > before inserting the content into the meta tag? An attribute cannot contain elements, you can easily extract the text only by using <xsl:value-of select="normalize-space(description)" /> -- Klaus Johannes Rusch KlausRusch@a... http://www.atmedia.net/KlausRusch/ | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
