Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Have html tag inside XML?

From: "RedHair" <redhair@-.-.->
To: NULL
Date: 4/5/2006 11:55:00 AM

Hi Anthony,

Thanks for your quick reply.
This is like applying template recursively?
Can you explain select="@* | * | node()"  to me?



"Anthony Jones" <Ant@y...> wrote in message 
news:uw4qjxJWGHA.4924@T......
>
> "RedHair" <redhair@m...> wrote in message
> news:eaBiWYIWGHA.3660@T......
>> I use xlst file to transform a xml file into html page,
>> however if a string in xml file include html tag, the
>> text between a html tag won't be read.
>> Ex: <product> <b>productname</b>is a good product </product>
>> How to solve this issue?
>>
>
> Instead of using:-
>
> <xsl:value-of select="product" />
>
> Use:-
>
> <xsl:for-each select="product">
> <xsl:apply-templates select="* | node()" mode="clone" />
> </xsl:for-each>
>
> With this template present:-
>
> <xsl:template match="@* | * | node()" mode="clone">
>  <xsl:copy>
>   <xsl:apply-templates select="@* | * | node()" mode="clone"/>
>  </xsl:copy>
> </xsl:template>
>
> Anthony
>
> 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent