|
-
Feb 22nd, 2007, 10:21 AM
#6
Re: vb6 using msxml 4.0
Sorry wasn't able to reply. If your gonna consider that step you'll do XSLT instead of CSS if you meant CSS when you mentioned style sheets.
Main page: http://www.w3schools.com/default.asp
XSLT: http://www.w3schools.com/xsl/default.asp
DTD: http://www.w3schools.com/dtd/default.asp
In effect your gonna update (or create your own copy of) the xml to include the XSL declaration as well as the XSL style sheet itself. You can then use the webbrowser control to display the text, I emphasize "for display"... but in order to access the data in the elements individually your gonna end up doing so through HTML DOM... in effect you just shifted access method from XML to HTML.
I suggest instead you stick with MSXML (skip HTML DOM, webbrowser control and style sheet), and use XPath or getElementsBy__ methods to isolate individual elements or collection of elements.
XPath: http://www.w3schools.com/xpath/default.asp
Some samples using XPath or getElementsBy___
http://www.vbforums.com/showthread.p...ighlight=xpath
http://www.vbforums.com/showthread.p...ighlight=xpath
http://www.vbforums.com/showthread.p...ighlight=xpath
http://www.vbforums.com/showthread.p...ight=parse+xml
Last edited by leinad31; Feb 22nd, 2007 at 10:24 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|