Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: converting string to XML elements

From: "Joe Fawcett" <joefawcett@---------.------>
To: 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 




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