Click here to Skip to main content
15,912,072 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionCreate xml file Pin
Maynka19-Jul-07 20:57
Maynka19-Jul-07 20:57 
AnswerRe: Create xml file Pin
sathesh pandian19-Jul-07 21:00
sathesh pandian19-Jul-07 21:00 
AnswerRe: Create xml file Pin
Naji El Kotob20-Jul-07 10:46
Naji El Kotob20-Jul-07 10:46 
QuestionRemove elements from XML. using XSLT and JAXP [modified] Pin
Manish Paul18-Jul-07 0:02
Manish Paul18-Jul-07 0:02 
AnswerRe: Remove elements from XML. using XSLT and JAXP Pin
Manish Paul18-Jul-07 3:32
Manish Paul18-Jul-07 3:32 
QuestionHTML to XML Pin
turoi14-Jul-07 18:18
turoi14-Jul-07 18:18 
AnswerRe: HTML to XML Pin
George L. Jackson16-Jul-07 16:17
George L. Jackson16-Jul-07 16:17 
QuestionXpath expression Pin
Ibana14-Jul-07 7:04
Ibana14-Jul-07 7:04 
Hi,
Im quite new to xpath in .Net. I have an XML-structure shown below that contain measurements(diameters,areas etc) The one below includes two different measurements of an Bi diameter and also the mean value. I now want to extract the mean value.(the <value>5.0</value> tag.

As mentioned ,the file consists of many different measurements using the same strucutre. With the following expression I manage to extract the value but then I also get all the following mean values from all of the other calculations. How do I extract ONLY that node. I would really appriciate some help thanks!

Expression:
//item/item/concept[@codValue='11820-8']/following-sibling::item/value[@codValue='R-00317']/following::value


<item valType="CONTAINER">
<concept codValue="125005"> MeasureGroup</concept>
<item valType="NUM" relType="CONTAINS">
<concept codValue="11820-8">Bi Diameter</concept>
<value>4.9</value>
</item>
<item valType="NUM">
<concept codValue="11820-8">Bi Diameter</concept>
<value>5.1</value>
</item>
<item valType="NUM">
<concept codValue="11820-8">Bi Diameter</concept>
<item valType="CODE">
<value codValue="R-00317">Mean</value>
</item>
<value>5.0</value>
</item>
</item>

AnswerRe: Xpath expression Pin
George L. Jackson14-Jul-07 9:29
George L. Jackson14-Jul-07 9:29 
GeneralRe: Xpath expression Pin
Ibana2-Aug-07 4:28
Ibana2-Aug-07 4:28 
GeneralRe: Xpath expression Pin
Ibana2-Aug-07 4:51
Ibana2-Aug-07 4:51 
QuestionRe: Xpath expression Pin
George L. Jackson2-Aug-07 12:03
George L. Jackson2-Aug-07 12:03 
AnswerRe: Xpath expression Pin
Ibana3-Aug-07 6:58
Ibana3-Aug-07 6:58 
AnswerRe: Xpath expression Pin
George L. Jackson3-Aug-07 9:39
George L. Jackson3-Aug-07 9:39 
GeneralRe: Xpath expression Pin
Ibana7-Aug-07 6:36
Ibana7-Aug-07 6:36 
QuestionUnknown entity class: NHibernate.Examples.QuickStart.User Pin
itbrainsoft12-Jul-07 19:12
itbrainsoft12-Jul-07 19:12 
QuestionHow to build source with XML componet in DDK source? Pin
wanylee11-Jul-07 15:51
wanylee11-Jul-07 15:51 
AnswerRe: How to build source with XML componet in DDK source? Pin
George L. Jackson14-Jul-07 9:48
George L. Jackson14-Jul-07 9:48 
QuestionDate comparison in XML Pin
Muhammad Junaid Khan11-Jul-07 1:50
Muhammad Junaid Khan11-Jul-07 1:50 
QuestionXslt (table row shrinks in resultant html) [modified] Pin
Madhanlal JM10-Jul-07 23:46
Madhanlal JM10-Jul-07 23:46 
AnswerRe: Xslt (table row shrinks in resultant html) Pin
George L. Jackson14-Jul-07 10:10
George L. Jackson14-Jul-07 10:10 
GeneralRe: Xslt (table row shrinks in resultant html) Pin
Madhanlal JM15-Jul-07 23:28
Madhanlal JM15-Jul-07 23:28 
GeneralRe: Xslt (table row shrinks in resultant html) Pin
George L. Jackson16-Jul-07 16:07
George L. Jackson16-Jul-07 16:07 
QuestionHow to show image in XML? Pin
kittipomgmd9-Jul-07 17:45
kittipomgmd9-Jul-07 17:45 
AnswerRe: How to show image in XML? Pin
Christian Graus10-Jul-07 1:46
protectorChristian Graus10-Jul-07 1:46 

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.