Click here to Skip to main content
15,897,371 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XML DOM in ATL Pin
i++4-Dec-02 19:08
i++4-Dec-02 19:08 
GeneralInclude XML Pin
Ngo Hoang Phuong26-Nov-02 19:41
Ngo Hoang Phuong26-Nov-02 19:41 
GeneralRe: Include XML Pin
Christian Graus26-Nov-02 19:51
protectorChristian Graus26-Nov-02 19:51 
Questionhow xml embeds (saves) an image Pin
Asim N.25-Nov-02 13:44
Asim N.25-Nov-02 13:44 
AnswerRe: how xml embeds (saves) an image Pin
berndg26-Nov-02 3:14
berndg26-Nov-02 3:14 
GeneralRe: how xml embeds (saves) an image Pin
Asim N.26-Nov-02 13:49
Asim N.26-Nov-02 13:49 
GeneralRe: how xml embeds (saves) an image Pin
Michael A. Barnhart26-Nov-02 14:00
Michael A. Barnhart26-Nov-02 14:00 
GeneralCreating an attribute of a node Pin
Bash24-Nov-02 22:58
Bash24-Nov-02 22:58 
Hi Gurus!

I'm XML novice. Please, help me in a creating an attribute of a new node. I'm using VC++ 6.0. I want to get XML document as follows:

<Filter Id="1">
<Name>Some name</Name>
</Filter>

My problem is I can't create the attribute "Id" of <Filter> node. What should I do ? My code is:

VARIANT varNODEELEMENT;
varNODEELEMENT.vt=VT_I2; varNODEELEMENT.iVal=NODE_ELEMENT;

pNode=XmlDocPtr->createNode(varNODEELEMENT, L"Filter", L"");
if (pNode==NULL) return;
pNodeFilter=pNodeMain->appendChild(pNode);

pNodeTmp=XmlDocPtr->createNode(varNODEELEMENT, L"Name", L"");
if (pNodeTmp==NULL) return;
_bstr_t tmpbstr("Some name");
pNodeTmp->put_dataType(L"NODE_TEXT");
pNodeTmp->put_text(tmpbstr);
pNodeFilter->appendChild(pNodeTmp);


Yours sincerely,
Alex Bash
GeneralRe: Creating an attribute of a node Pin
Christian Graus26-Nov-02 19:53
protectorChristian Graus26-Nov-02 19:53 
GeneralAutomatic processing XML/XSLT on client or server side Pin
Kosta Cherry23-Nov-02 11:45
Kosta Cherry23-Nov-02 11:45 
GeneralRe: Automatic processing XML/XSLT on client or server side Pin
Michael A. Barnhart23-Nov-02 15:37
Michael A. Barnhart23-Nov-02 15:37 
GeneralAppling XSL to XML - select attribute of node Pin
Bash21-Nov-02 23:46
Bash21-Nov-02 23:46 
GeneralRe: Appling XSL to XML - select attribute of node Pin
Michael A. Barnhart22-Nov-02 1:22
Michael A. Barnhart22-Nov-02 1:22 
QuestionHow to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Kosta Cherry20-Nov-02 16:24
Kosta Cherry20-Nov-02 16:24 
AnswerRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Christian Graus20-Nov-02 16:33
protectorChristian Graus20-Nov-02 16:33 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Kosta Cherry20-Nov-02 16:47
Kosta Cherry20-Nov-02 16:47 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Christian Graus20-Nov-02 17:07
protectorChristian Graus20-Nov-02 17:07 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Michael A. Barnhart21-Nov-02 0:16
Michael A. Barnhart21-Nov-02 0:16 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Michael A. Barnhart21-Nov-02 0:09
Michael A. Barnhart21-Nov-02 0:09 
AnswerRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Philip Fitzsimons21-Nov-02 0:46
Philip Fitzsimons21-Nov-02 0:46 
AnswerRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Kosta Cherry21-Nov-02 10:43
Kosta Cherry21-Nov-02 10:43 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Christian Graus21-Nov-02 10:49
protectorChristian Graus21-Nov-02 10:49 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Kosta Cherry21-Nov-02 14:14
Kosta Cherry21-Nov-02 14:14 
GeneralRe: How to apply XSLT to XML on the server in JSP or ASP without DOM? Pin
Christian Graus21-Nov-02 15:09
protectorChristian Graus21-Nov-02 15:09 
GeneralXSL Pin
James Spibey15-Nov-02 2:34
James Spibey15-Nov-02 2:34 

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.