Click here to Skip to main content
15,893,487 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: Error in get ChildNode of the current node Pin
George L. Jackson23-Sep-08 18:36
George L. Jackson23-Sep-08 18:36 
QuestionXML: Special Character in- and output [modified] Pin
Zaegra11-Sep-08 6:24
Zaegra11-Sep-08 6:24 
AnswerRe: XML: Special Character in- and output Pin
Erik Westermann11-Sep-08 10:36
professionalErik Westermann11-Sep-08 10:36 
Questionxsl formating Pin
AndieDu10-Sep-08 17:25
AndieDu10-Sep-08 17:25 
AnswerRe: xsl formating Pin
led mike11-Sep-08 4:58
led mike11-Sep-08 4:58 
GeneralRe: xsl formating Pin
AndieDu11-Sep-08 21:16
AndieDu11-Sep-08 21:16 
QuestionRead XML from VB.NET [modified] Pin
japel10-Sep-08 11:57
japel10-Sep-08 11:57 
AnswerRe: Read XML from VB.NET Pin
japel11-Sep-08 2:55
japel11-Sep-08 2:55 
Hello,

OK I have worked out the below code to return the 'EN' string if I supply the string code, say "1000".

What I need to know is understand how to search for the string and return the string code. If I would use a wildcard in this it would be great.

Any Thoughts???

Private Sub XPathSearch(ByVal XMLPath As String)

Dim xmlNI As XPathNodeIterator
Dim xpathDoc As XPathDocument
Dim xmlNav As XPathNavigator
Try
xpathDoc = New XPathDocument(XMLPath)
xmlNav = xpathDoc.CreateNavigator()
xmlNI = xmlNav.Select("/MOMLANG/STRING[@code='" & stringValue & "']/LANG[@code='EN']")
While (xmlNI.MoveNext())
'Me.RichTextBox1.AppendText(xmlNI.Current.Name + " : " + xmlNI.Current.Value & vbCrLf)
Me.RichTextBox1.AppendText("String value: " + xmlNI.Current.Value & vbCrLf)
End While

Catch ex As XPathException
System.Console.WriteLine("XMLException: " + ex.Message)
Catch ex As Exception
System.Console.WriteLine("Exception: " + ex.Message)
End Try

End Sub

When people make you see red, be thankful your not colour blind.
QuestionSending Transformed XML as mail body Pin
brijbmishra9-Sep-08 6:46
brijbmishra9-Sep-08 6:46 
QuestionRe: Sending Transformed XML as mail body Pin
led mike9-Sep-08 9:06
led mike9-Sep-08 9:06 
QuestionRe: Sending Transformed XML as mail body Pin
brijbmishra9-Sep-08 9:17
brijbmishra9-Sep-08 9:17 
AnswerRe: Sending Transformed XML as mail body Pin
led mike9-Sep-08 9:24
led mike9-Sep-08 9:24 
GeneralRe: Sending Transformed XML as mail body Pin
Chris Maunderr10-Sep-08 0:29
Chris Maunderr10-Sep-08 0:29 
Questionxsd to xml Pin
amitsunnuu9-Sep-08 2:17
amitsunnuu9-Sep-08 2:17 
QuestionValidation of attributes in combination of other attributes? Pin
mav.northwind8-Sep-08 1:48
mav.northwind8-Sep-08 1:48 
AnswerRe: Validation of attributes in combination of other attributes? Pin
Erik Westermann12-Sep-08 10:29
professionalErik Westermann12-Sep-08 10:29 
GeneralRe: Validation of attributes in combination of other attributes? Pin
mav.northwind12-Sep-08 19:05
mav.northwind12-Sep-08 19:05 
Question&lt; symbols in <xsl:text xmlns:xsl="#unknown"></xsl:text> Pin
danielk_6-Sep-08 4:26
danielk_6-Sep-08 4:26 
AnswerRe: &lt; symbols in Pin
Saul Johnson6-Sep-08 10:43
Saul Johnson6-Sep-08 10:43 
AnswerRe: &lt; symbols in Pin
Michael Dunn9-Sep-08 12:43
sitebuilderMichael Dunn9-Sep-08 12:43 
AnswerRe: &lt; symbols in Pin
Erik Westermann10-Sep-08 4:17
professionalErik Westermann10-Sep-08 4:17 
QuestionNot Able to validate the MSXML Pin
Kuldeep Bhatnagar5-Sep-08 0:30
Kuldeep Bhatnagar5-Sep-08 0:30 
AnswerRe: Not Able to validate the MSXML Pin
Erik Westermann10-Sep-08 4:28
professionalErik Westermann10-Sep-08 4:28 
QuestionXML transform to SQL by XSL Pin
AndieDu4-Sep-08 16:18
AndieDu4-Sep-08 16:18 
AnswerRe: XML transform to SQL by XSL Pin
led mike5-Sep-08 4:57
led mike5-Sep-08 4:57 

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.