Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - converting string to XML elements [Thread Next] Re: converting string to XML elementsTo: NULL Date: 12/8/2005 8:28:00 AM "jhsDev" <joelhstanley@g...> wrote in message news:1133981603.056485.294870@f...... > I've got a string I'm passing via POST parameter and I need to convert > that into XML elements so I can parse it with XSL, but can't figure out > how do do it. Has anyone had to do this before? > > Here is the string: > > "<header>Page Two</header><company>HP</company><subhead>Please complete > the form below</subhead>" > Well assuming the string is well formed XML, unlike the above, then it depends on which XML parser. Using msxml then you would use the loadXML method and pass it the string. -- Joe | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
