RE: Implementing getTextContent

2003-04-01 Thread Magnus Strand
the following scenarios (using your example below) poChaperElement->getTextContent() -> "Intro" poidAttribute->getTextContent() -> "123" / Erik -Original Message- From: Magnus Strand [mailto:[EMAIL PROTECTED] Sent: den 1 april 2003 11:16 To: [EMAIL PROT

RE: Implementing getTextContent

2003-04-01 Thread Magnus Strand
Hi, Is it a problem that the caller has to delete the returned string? If it is like below, the caller owns the returned string and then perhaps it should return a XMLCh* instead of const XMLCh*? Magnus // alpha version const XMLCh* DOMNodeImpl::getTextContent() const { DOMNode*

RE: Implementing getTextContent

2003-04-01 Thread Magnus Strand
> > > -----Original Message- > From: Magnus Strand [mailto:[EMAIL PROTECTED] > Sent: den 31 mars 2003 16:26 > To: [EMAIL PROTECTED] > Subject: Implementing getTextContent > > > Hi, > > Im trying to implement DOMNode::getTextContent using code from Erik. &g

Implementing getTextContent

2003-03-31 Thread Magnus Strand
Hi, Im trying to implement DOMNode::getTextContent using code from Erik. I have made simple tests and it works good. Do you know if getTextContent also should include CDATA-sections? I need to in my project. Regards, Magnus Strand – System

RE: Re: Getting text off all subnodes

2003-03-28 Thread Magnus Strand
Thanks Erik and Andreï, It is just what I need. I will soon test it. Regards, Magnus Strand – System Developer, MSc Teknik i Media Sverige AB (publ) Södra Förstadsgatan 2, SE-211 43 Malmö, Sweden Mobile: +46 704 20 57 16 Direct: +46 40 601 57 16

Getting text off all subnodes

2003-03-27 Thread Magnus Strand
Hi, Is there a method to return all text merged from all text subnodes from a certain nod in a DOM tree? I mean if i have this as part of an xml: It is sunnyweather today I have a DOMNode* to the header element and would like to return all the text: "It is sunny weather today" Regar

RE: Compiling on Mac OS 9

2003-03-17 Thread Magnus Strand
James, Thanks for the info. I think I will updgrade to CodeWarrior 8 and use a HFS+ disk. Regards, Magnus Strand – System Developer, MSc Teknik i Media Sverige AB (publ) Södra Förstadsgatan 2, SE-211 43 Malmö, Sweden Mobile: +46 704 20 57 16

Compiling on Mac OS 9

2003-03-14 Thread Magnus Strand
Hi, I would like to know if anyone knows which of the of the files in Xerces-C havbe filenames longer than 31 chars? So I can change them and the CodeWarrior project xml-file and compile it on Mac OS 9. Regards, Magnus Strand

Can you select nodes with an XPath expression?

2003-03-13 Thread Magnus Strand
than 31 chars? Perhaps I file make a short Windows-prg that checks which files have too long filenames. Regards, Magnus Strand – System Developer, MSc Teknik i Media Sverige AB (publ) Södra Förstadsgatan 2, SE-211 43 Malmö, Sweden Mobile: +46 704 20