Click here to Skip to main content
15,910,121 members
Home / Discussions / XML / XSL
   

XML / XSL

 
AnswerRe: XML C# Question Pin
George L. Jackson18-Apr-06 14:55
George L. Jackson18-Apr-06 14:55 
QuestionHelp Required from XML guys - XMLIsland Pin
Selvakumar.R17-Apr-06 20:49
Selvakumar.R17-Apr-06 20:49 
AnswerRe: Help Required from XML guys - XMLIsland Pin
Paddy Boyd17-Apr-06 23:50
Paddy Boyd17-Apr-06 23:50 
GeneralRe: Help Required from XML guys - XMLIsland Pin
Selvakumar.R18-Apr-06 1:57
Selvakumar.R18-Apr-06 1:57 
AnswerRe: Help Required from XML guys - XMLIsland Pin
George L. Jackson18-Apr-06 15:06
George L. Jackson18-Apr-06 15:06 
QuestionFOP Pin
Support12317-Apr-06 20:04
Support12317-Apr-06 20:04 
Questionfind rasult from xml Pin
discktopsultan@hotmail.com15-Apr-06 23:57
discktopsultan@hotmail.com15-Apr-06 23:57 
AnswerRe: find rasult from xml Pin
George L. Jackson17-Apr-06 3:19
George L. Jackson17-Apr-06 3:19 
XPath has a few functions that may help:

contains - Returns true if the first argument string contains the second argument string; otherwise returns false.

starts-with - Returns true if the first argument string starts with the second argument string; otherwise returns false.

substring - Returns the substring of the first argument starting at the position specified in the second argument and the length specified in the third argument.

substring-after - Returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string.

substring-before - Returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string.

string-length - Returns the number of characters in the string.

Example:

"/accounts/account[contains(name,'" + strVar + "')]/name"

Another option is to select all of the "account" nodes and then filter out unwanted selected nodes using regular expressions or string funtions in your favorite managed or unmanaged language.
GeneralRe: find rasult from xml Pin
discktopsultan@hotmail.com17-Apr-06 23:28
discktopsultan@hotmail.com17-Apr-06 23:28 
GeneralRe: find rasult from xml Pin
discktopsultan@hotmail.com18-Apr-06 1:55
discktopsultan@hotmail.com18-Apr-06 1:55 
GeneralRe: find rasult from xml Pin
George L. Jackson18-Apr-06 14:15
George L. Jackson18-Apr-06 14:15 
GeneralRe: find rasult from xml Pin
discktopsultan@hotmail.com18-Apr-06 23:36
discktopsultan@hotmail.com18-Apr-06 23:36 
QuestionI need a direction about XML/XSL/XSLT etc. Pin
Cristoff13-Apr-06 20:57
Cristoff13-Apr-06 20:57 
AnswerRe: I need a direction about XML/XSL/XSLT etc. Pin
Michael A. Barnhart14-Apr-06 11:49
Michael A. Barnhart14-Apr-06 11:49 
GeneralRe: I need a direction about XML/XSL/XSLT etc. Pin
Cristoff14-Apr-06 19:15
Cristoff14-Apr-06 19:15 
GeneralRe: I need a direction about XML/XSL/XSLT etc. Pin
Michael A. Barnhart15-Apr-06 1:25
Michael A. Barnhart15-Apr-06 1:25 
GeneralRe: I need a direction about XML/XSL/XSLT etc. Pin
Cristoff15-Apr-06 13:32
Cristoff15-Apr-06 13:32 
Questiongenerate xml view from vb.net Pin
sowbarnika10-Apr-06 6:23
sowbarnika10-Apr-06 6:23 
Questioncount nodes with xpath Pin
eggie58-Apr-06 14:15
eggie58-Apr-06 14:15 
AnswerRe: count nodes with xpath Pin
eggie58-Apr-06 15:13
eggie58-Apr-06 15:13 
QuestionConverting from one line to an indented view Pin
John Owens7-Apr-06 4:12
John Owens7-Apr-06 4:12 
AnswerRe: Converting from one line to an indented view Pin
Michael A. Barnhart14-Apr-06 11:55
Michael A. Barnhart14-Apr-06 11:55 
Questiontrying to provide a user interface for filling in the innertext of an xml document in the web project Pin
Madhur Ahuja7-Apr-06 2:31
Madhur Ahuja7-Apr-06 2:31 
Questionhow to call xml Pin
ybasha6-Apr-06 17:52
ybasha6-Apr-06 17:52 
Questionxml to asp Pin
zybernau4-Apr-06 9:16
zybernau4-Apr-06 9:16 

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.