On 8/18/06, Grant Monroe <[EMAIL PROTECTED]> wrote:
p = XML::Parser.new
p.string = yourstring
doc = p.parse
On 8/18/06, SteveC < [EMAIL PROTECTED]> wrote:
> The Document api lists new(version) and file(filename):
>
> http://libxml.rubyforge.org/doc/classes/XML/Document.html
>
> I'd like to create a document from an xml file already in a string a-la
> REXML::Document.new
>
> Is there some other magic way of doing that?
>
> have fun,
>
> SteveC [EMAIL PROTECTED] http://www.asklater.com/steve/
> _______________________________________________
> libxml-devel mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/libxml-devel
>
>
--
Grant Monroe
JanRain, Inc.
_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel
--
Mark Van Holstyn
[EMAIL PROTECTED]
http://lotswholetime.com
_______________________________________________ libxml-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/libxml-devel
