3
Answers

I want to check in xslt whether an existing child node exist

Here is my if statement:

 <xsl:if test="following-sibling::Blogs/IDs"> </xsl:if>

Here is my xml:

enter code here   <Blogs><IDs Id="1"></Blogs>
help is greatly appreciated.
Answers (3)
1
Manav Pandya

Manav Pandya

NA 7.1k 24k 7y
Hello 
 
To acess such functionality , there two options :
 
1 . To use predefined method
 
2 . To use it's DLL 
 
For example please find folllowing article for brightness control with c# :
 
https://www.codeproject.com/Tips/855454/How-To-Change-Screen-Brightness-in-Csharp 
 
https://www.codeproject.com/Articles/47355/Setting-Screen-Brightness-in-C
 
Thanks 
Accepted
1
Manav Pandya

Manav Pandya

NA 7.1k 24k 7y
Hello 
 
There are different DLL's available for that 
 
Just google it and you can find many of them easily 
 
Thanks 
1
Dahen Mustafa

Dahen Mustafa

NA 11 226 7y
How about other types of native controls? Like volume,pause, print screen,esp, others.....???