Click here to Skip to main content
15,887,350 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionJavaScript in XSLT Pin
rathishps29-Jul-10 3:32
rathishps29-Jul-10 3:32 
QuestionODX checker tool Pin
jainiraj28-Jul-10 2:20
jainiraj28-Jul-10 2:20 
Questionhow to deserialize xsi:type attribute in C# Pin
jainiraj26-Jul-10 1:04
jainiraj26-Jul-10 1:04 
Questionjavascript in xsl Pin
lawrenceinba25-Jul-10 23:53
lawrenceinba25-Jul-10 23:53 
QuestionHow to Convert XML to Image File,thanks Pin
tgbd197023-Jul-10 20:02
tgbd197023-Jul-10 20:02 
AnswerRe: How to Convert XML to Image File,thanks Pin
Richard MacCutchan23-Jul-10 22:14
mveRichard MacCutchan23-Jul-10 22:14 
QuestionHot to convert a Wordml to XSL Pin
Exelioindia20-Jul-10 19:20
Exelioindia20-Jul-10 19:20 
AnswerRe: Adding attributes to xml nodes Pin
DaveAuld17-Jul-10 8:58
professionalDaveAuld17-Jul-10 8:58 
GeneralRe: Adding attributes to xml nodes Pin
priyaahh17-Jul-10 9:16
priyaahh17-Jul-10 9:16 
Questionjava script code error Pin
varsh1216-Jul-10 19:26
varsh1216-Jul-10 19:26 
AnswerRe: java script code error Pin
Stoffy197225-Jul-10 10:22
Stoffy197225-Jul-10 10:22 
QuestionXSD and Elements Order Pin
MrKBA13-Jul-10 21:51
MrKBA13-Jul-10 21:51 
AnswerRe: XSD and Elements Order Pin
Stuart Dootson14-Jul-10 0:34
professionalStuart Dootson14-Jul-10 0:34 
GeneralRe: XSD and Elements Order Pin
MrKBA14-Jul-10 1:11
MrKBA14-Jul-10 1:11 
GeneralRe: XSD and Elements Order Pin
Stuart Dootson18-Jul-10 1:19
professionalStuart Dootson18-Jul-10 1:19 
GeneralRe: XSD and Elements Order Pin
MrKBA18-Jul-10 2:57
MrKBA18-Jul-10 2:57 
QuestionSearching for multiple types with XPath Pin
Trollslayer10-Jul-10 0:45
mentorTrollslayer10-Jul-10 0:45 
AnswerRe: Searching for multiple types with XPath Pin
Not Active10-Jul-10 7:06
mentorNot Active10-Jul-10 7:06 
AnswerRe: Searching for multiple types with XPath Pin
sameerazazi877-Aug-10 2:07
sameerazazi877-Aug-10 2:07 
Hi
check out below XML

<fish>
<fish1>
<name> f1 </name>
</fish1>
<fish2>
<name> f2 </name>
</fish2>
<fish3>
<name> f3 </name>
</fish3>
</fish>


and you want to select this fish1 and fish3

then use belwo xpath

/fish/*[contains('fish1fish3',name())]

this will give you NodeList which will contain fish1 and fish3 nodes

if your filter includes number of nodes so that writing each name is inefficient then you should use another approach.
QuestionXpath problem Pin
snehasish9-Jul-10 0:27
snehasish9-Jul-10 0:27 
AnswerRe: Xpath problem Pin
Stuart Dootson9-Jul-10 11:12
professionalStuart Dootson9-Jul-10 11:12 
QuestionExcel to XML conversion Pin
priyaahh5-Jul-10 18:49
priyaahh5-Jul-10 18:49 
AnswerRe: Excel to XML conversion Pin
evd4610-Aug-10 20:13
evd4610-Aug-10 20:13 
Questionxsl:apply-templates help please! [modified] Pin
Neophyte301-Jul-10 4:49
Neophyte301-Jul-10 4:49 
AnswerRe: xsl:apply-templates help please! Pin
Neophyte305-Jul-10 0:17
Neophyte305-Jul-10 0:17 

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.