problem in getting WString Attribute
problem in getting WString Attribute
- Subject: problem in getting WString Attribute
- From: Aby <email@hidden>
- Date: Thu, 27 Jul 2006 15:28:29 +0530
Hi,
I am porting one application to mac OS X from windows. Windows
application is using xerces, I haven't used xerces earlier, now
downloaded the source and made a framework and included in the
project....., but my application terminate from the following funtion
GetWStringAttribute()
//------------
std::wstring GetWStringAttribute( DOMNode* pnode, char* pAttributeName)
{
DOMElement* pElement = static_cast<DOMElement*> (pnode);
return std::wstring( pElement -> getAttribute( Transcode (
pAttributeName)));
}
//-------------
XMLCh* Transcode( const char* pstr )
{
static XMLCh achBuffer[2048];
XMLString::transcode(pstr, achBuffer,2047);
return achBuffer;
}
//--------------
could anyone please she
thanking in advance
Aby
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden