Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem in getting WString Attribute



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.