Click here to Skip to main content
16,004,882 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
shyamaprasad10-Sep-09 23:53
shyamaprasad10-Sep-09 23:53 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
Stuart Dootson11-Sep-09 0:57
professionalStuart Dootson11-Sep-09 0:57 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
shyamaprasad11-Sep-09 1:38
shyamaprasad11-Sep-09 1:38 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
shyamaprasad11-Sep-09 2:03
shyamaprasad11-Sep-09 2:03 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
Christian Graus11-Sep-09 13:25
protectorChristian Graus11-Sep-09 13:25 
GeneralRe: Microsoft VBScript runtime error '800a01a8' Object required Pin
Christian Graus11-Sep-09 11:44
protectorChristian Graus11-Sep-09 11:44 
QuestionXercesDomParser Pin
VVVimal3-Sep-09 0:41
VVVimal3-Sep-09 0:41 
AnswerRe: XercesDomParser Pin
Stuart Dootson5-Sep-09 2:52
professionalStuart Dootson5-Sep-09 2:52 
There are a lot of ways to do it - here's some suggestions:

  • The DOMTreeWalker lets you set up a node filter. You can set up a filter to accept all element nodes whose tag is Locomotive. That means that each call to the DOMTreeWalker's nextNode method will step to the next Locomotive element. For each of these, you iterate through the found element's child nodes. Each child's tag name indicates which struct memeber they relate to, while the child's text node is the value that you'll convert to the correct type using string conversion functions like strtol.
  • From the root node, apply an XPath of "//Locomotive". That'll get you all the Locomotive elements, which you can process as above.
  • Get a DOMElement for the root element of the XML document. Use the getElementsByTagName method to retrieve all descendent nodes with the tag naem Locomotive. Process each node as indicated above.


Hope that helps you!

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: XercesDomParser Pin
VVVimal10-Sep-09 23:01
VVVimal10-Sep-09 23:01 
GeneralRe: XercesDomParser Pin
Stuart Dootson10-Sep-09 23:11
professionalStuart Dootson10-Sep-09 23:11 
GeneralRe: XercesDomParser Pin
VVVimal11-Sep-09 23:19
VVVimal11-Sep-09 23:19 
GeneralRe: XercesDomParser Pin
Stuart Dootson12-Sep-09 9:05
professionalStuart Dootson12-Sep-09 9:05 
Questionhelp Pin
ndumy2-Sep-09 22:11
ndumy2-Sep-09 22:11 
AnswerRe: help Pin
Tony Richards3-Sep-09 0:30
Tony Richards3-Sep-09 0:30 
AnswerRe: help Pin
Richard MacCutchan5-Sep-09 11:06
mveRichard MacCutchan5-Sep-09 11:06 
AnswerRe: help Pin
Christian Graus6-Sep-09 20:15
protectorChristian Graus6-Sep-09 20:15 
GeneralRe: help Pin
Richard MacCutchan7-Sep-09 0:47
mveRichard MacCutchan7-Sep-09 0:47 
QuestionProblem with XML for Adrotator Pin
Vimalsoft(Pty) Ltd2-Sep-09 3:03
professionalVimalsoft(Pty) Ltd2-Sep-09 3:03 
AnswerRe: Problem with XML for Adrotator Pin
Tony Richards2-Sep-09 3:18
Tony Richards2-Sep-09 3:18 
GeneralRe: Problem with XML for Adrotator Pin
Vimalsoft(Pty) Ltd2-Sep-09 3:22
professionalVimalsoft(Pty) Ltd2-Sep-09 3:22 
GeneralRe: Problem with XML for Adrotator Pin
Tony Richards3-Sep-09 0:30
Tony Richards3-Sep-09 0:30 
Questionhow to code a savefile dialog in vb.net Pin
ndumy2-Sep-09 2:50
ndumy2-Sep-09 2:50 
AnswerRe: how to code a savefile dialog in vb.net Pin
Richard MacCutchan2-Sep-09 5:43
mveRichard MacCutchan2-Sep-09 5:43 
QuestionHow to code special characters in xsl Pin
coolsharath27-Aug-09 18:19
coolsharath27-Aug-09 18:19 
AnswerRe: How to code special characters in xsl Pin
Stuart Dootson27-Aug-09 22:23
professionalStuart Dootson27-Aug-09 22:23 

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.