Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Display a node and it's children as html [Thread Next] Re: Display a node and it's children as htmlTo: NULL Date: 6/9/2007 3:25:00 PM On May 1, 7:38 am, Martin Honnen <mahotr...@yahoo.de> wrote: > 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/- Hide quoted text - > > - Show quoted text - That's what I ultimately did. Thanks for the info though. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
