> Sent: Friday, September 15, 2017 at 4:30 PM
> From: "Jimmie Houchin"
> To: "Any question about pharo is welcome"
> Subject: Re: [Pharo-users] Writing XML
>
> I didn't pay attention to this previously. But I just noticed that using
> #printTo
d GemStone. Use #parseFileNamed:/#onFileNamed: to get portable
automatic file decoding when parsing.
Sent: Wednesday, September 13, 2017 at 1:02 PM
From: "Jimmie Houchin"
To: "Any question about pharo is welcome"
Subject: [Pharo-users] Writing XML
Hello,
I am attempting t
tomatic file decoding when parsing.
Sent: Wednesday, September 13, 2017 at 1:02 PM
From: "Jimmie Houchin"
To: "Any question about pharo is welcome"
Subject: [Pharo-users] Writing XML
Hello,
I am attempting to read and write an XML document.
Currently I have parsed the docum
chin"
> To: "Any question about pharo is welcome"
> Subject: [Pharo-users] Writing XML
>
> Hello,
>
> I am attempting to read and write an XML document.
>
> Currently I have parsed the document successfully. I have basic
> navigation and have learned how
Henrik is cool :)
On Thu, Sep 14, 2017 at 8:17 PM, Jimmie Houchin wrote:
> Thanks. I am trying to learn the ways of Pharo 6 and not use
> StandardFileStream and MultiByteFileStream. So I do not know all of the best
> ways to do things. Thanks for the education. Your "best" way worked
> perfectly
Thanks. I am trying to learn the ways of Pharo 6 and not use
StandardFileStream and MultiByteFileStream. So I do not know all of the
best ways to do things. Thanks for the education. Your "best" way worked
perfectly in Pharo 6.
Again, thanks.
Jimmie
On 09/14/2017 07:24 AM, Henrik Sperre Jo
Jimmie Houchin-5 wrote
> I still do not know how to do this correctly. But I have something that
> seems to work for the moment.
>
> Using #asUTF8Bytes
>
> f nextPutAll: (writer write contents asUTF8Bytes).
>
> Now the file is in UTF-8 and normal size.
openForWriteFileNamed: opens a binary st
I still do not know how to do this correctly. But I have something that
seems to work for the moment.
Using #asUTF8Bytes
f nextPutAll: (writer write contents asUTF8Bytes).
Now the file is in UTF-8 and normal size.
Jimmie
On 09/13/2017 12:02 PM, Jimmie Houchin wrote:
Hello,
I am attemptin
Hello,
I am attempting to read and write an XML document.
Currently I have parsed the document successfully. I have basic
navigation and have learned how to modify the XMLDocument.
Now I want to write the modified document back to the file system.
What I have tried so far is:
writer := XMLWr