Click here to Skip to main content
15,671,013 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: How to use XSL to get the most common value in XML Pin
led mike1-Oct-08 6:42
led mike1-Oct-08 6:42 
GeneralRe: How to use XSL to get the most common value in XML Pin
darasd1-Oct-08 22:34
darasd1-Oct-08 22:34 
GeneralRe: How to use XSL to get the most common value in XML Pin
led mike2-Oct-08 4:32
led mike2-Oct-08 4:32 
AnswerRe: How to use XSL to get the most common value in XML [modified] Pin
Gerald Schwab15-Oct-08 17:25
Gerald Schwab15-Oct-08 17:25 
QuestionXML+XLST simple simple question Pin
Herds30-Sep-08 20:16
Herds30-Sep-08 20:16 
AnswerRe: XML+XLST simple simple question Pin
led mike1-Oct-08 4:57
led mike1-Oct-08 4:57 
GeneralRe: XML+XLST simple simple question Pin
Herds1-Oct-08 7:30
Herds1-Oct-08 7:30 
QuestionHow to catch an exception thrown by MSXML? [modified] Pin
JoeSchmoe00730-Sep-08 7:42
JoeSchmoe00730-Sep-08 7:42 
Consider this function:

BOOL GetSingleNodeV(const MSXML2::IXMLDOMDocumentPtr pXMLDoc, const CString &strPath, CString &StrValue)
{
BOOL bRetCode=FALSE;

BSTR bstrQstr = strPath.AllocSysString();
IXMLDOMNodePtr o;
o = pXMLDoc->selectSingleNode( bstrQstr);
if (o!=NULL)
{
HRESULT hr=o->get_text(&bstrQstr);
if (hr==S_OK)
{
StrValue = bstrQstr;
bRetCode = TRUE;
}
else
{
StrValue="";
}
}
//o->Release();
SysFreeString(bstrQstr);

return bRetCode;
}

Call to selectSingleNode() sometimes works as expected but sometimes it throws an exception. How can I extract additional information about this exception?

modified on Tuesday, September 30, 2008 1:52 PM

AnswerRe: How to catch an exception thrown by MSXML? Pin
led mike1-Oct-08 5:03
led mike1-Oct-08 5:03 
QuestionXDS Pin
postonoh29-Sep-08 11:36
postonoh29-Sep-08 11:36 
AnswerRe: XDS Pin
Dave Kreskowiak29-Sep-08 11:59
mveDave Kreskowiak29-Sep-08 11:59 
GeneralRe: XDS Pin
postonoh29-Sep-08 13:53
postonoh29-Sep-08 13:53 
Questionapply xsl on xml to generate sql Pin
AndieDu28-Sep-08 13:51
AndieDu28-Sep-08 13:51 
AnswerRe: apply xsl on xml to generate sql Pin
AndieDu28-Sep-08 19:06
AndieDu28-Sep-08 19:06 
QuestionHow do I create a schema for elements with attributes Pin
Christian Wikander26-Sep-08 3:50
Christian Wikander26-Sep-08 3:50 
AnswerRe: How do I create a schema for elements with attributes Pin
led mike26-Sep-08 4:49
led mike26-Sep-08 4:49 
GeneralRe: How do I create a schema for elements with attributes Pin
Christian Wikander29-Sep-08 1:04
Christian Wikander29-Sep-08 1:04 
QuestionRss Feed problem, please help me. Pin
josseph.zhang22-Sep-08 3:49
josseph.zhang22-Sep-08 3:49 
AnswerRe: Rss Feed problem, please help me. Pin
led mike23-Sep-08 4:44
led mike23-Sep-08 4:44 
AnswerRe: Rss Feed problem, please help me. Pin
George L. Jackson23-Sep-08 18:01
George L. Jackson23-Sep-08 18:01 
GeneralRe: Rss Feed problem, please help me. Pin
josseph.zhang24-Sep-08 3:44
josseph.zhang24-Sep-08 3:44 
QuestionRoot Element Missing Pin
Srikant Talasila17-Sep-08 8:33
Srikant Talasila17-Sep-08 8:33 
QuestionRe: Root Element Missing Pin
led mike23-Sep-08 4:43
led mike23-Sep-08 4:43 
QuestionRe: Root Element Missing Pin
George L. Jackson23-Sep-08 17:47
George L. Jackson23-Sep-08 17:47 
QuestionHow I do? Pin
izzy8717-Sep-08 0:03
izzy8717-Sep-08 0:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.