Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Display a node and it's children as html >Thread Next - Re: Display a node and it's children as html Re: Display a node and it's children as htmlTo: NULL Date: 5/1/2007 1:38:00 PM Jay wrote: > I'm hoping this is an easy question, it's hard to judge when your new > to something, but I have an xml file that has html written into one of > it's child nodes (Html) and I want to retrieve the value of the node > as a string and use my xsl to display it. > - <Html> > <p>This is text about the Latest Work-Flow Descriptions. > This is text about the Latest Work-Flow > Descriptions. This is text about the Latest Work-Flow > Descriptions. This is text about the Latest > Work-Flow Descriptions > </p> > - <ul> > - <li> > <a title="Work-Flow Descriptions" > href= "/MyOPB/uploadedFiles/ > Library/Templates/agenda_4-18-2007.doc" > target="_blank">Work-Flow > Descriptions</a> > </li> So that Html element has child nodes which are HTML elements like p or ul and li. In that case using > <xsl:value-of select ="?????????"/> xsl:value-of does not help, you need to copy those nodes to the result tree so use <xsl:copy-of select="*"/> or <xsl:copy-of select="node()"/> -- Martin Honnen --- MVP XML http://JavaScript.FAQTs.com/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
