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
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*
>
>
> -----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
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
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
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
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
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
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