Click here to Skip to main content
15,883,933 members
Home / Discussions / XML / XSL
   

XML / XSL

 
QuestionHow to use XSL to get the most common value in XML Pin
darasd1-Oct-08 0:17
darasd1-Oct-08 0:17 
AnswerRe: How to use XSL to get the most common value in XML Pin
led mike1-Oct-08 5:06
led mike1-Oct-08 5:06 
GeneralRe: How to use XSL to get the most common value in XML Pin
darasd1-Oct-08 5:30
darasd1-Oct-08 5:30 
GeneralRe: How to use XSL to get the most common value in XML Pin
led mike1-Oct-08 6:42
led mike1-Oct-08 6:42 
GeneralRe: How to use XSL to get the most common value in XML Pin
darasd1-Oct-08 22:34
darasd1-Oct-08 22:34 
GeneralRe: How to use XSL to get the most common value in XML Pin
led mike2-Oct-08 4:32
led mike2-Oct-08 4:32 
AnswerRe: How to use XSL to get the most common value in XML [modified] Pin
Gerald Schwab15-Oct-08 17:25
Gerald Schwab15-Oct-08 17:25 
QuestionXML+XLST simple simple question Pin
Herds30-Sep-08 20:16
Herds30-Sep-08 20:16 
Sorry to make my first post something like this, but i'm having one of those 'bang your head against the wall' problems, I usually work with t-sql and only use xml for outputs but today I have to parse a list in c# and output to html. I have had a search but I think as the xml i've been given is badly formed I've had little luck searching.

Anyway....

XML:

<data>
<person>
<name>peter jakes</name>
<path>pj87</path>
<property name="System">Linux</property>
<property name="Distro ID">Redhat</property>
</person>
</emucenter>
</data>

All, I want to do in xsl is display the text 'Linux' and 'Redhat' by using a name reference..

I can get this text if I use an ordinal number like so...

<xsl:value-of select="data/person/property[1]"/>

...this will display 'Linux', great. But I need to use the actual name reference not a number.
AnswerRe: XML+XLST simple simple question Pin
led mike1-Oct-08 4:57
led mike1-Oct-08 4:57 
GeneralRe: XML+XLST simple simple question Pin
Herds1-Oct-08 7:30
Herds1-Oct-08 7:30 
QuestionHow to catch an exception thrown by MSXML? [modified] Pin
JoeSchmoe00730-Sep-08 7:42
JoeSchmoe00730-Sep-08 7:42 
AnswerRe: How to catch an exception thrown by MSXML? Pin
led mike1-Oct-08 5:03
led mike1-Oct-08 5:03 
QuestionXDS Pin
postonoh29-Sep-08 11:36
postonoh29-Sep-08 11:36 
AnswerRe: XDS Pin
Dave Kreskowiak29-Sep-08 11:59
mveDave Kreskowiak29-Sep-08 11:59 
GeneralRe: XDS Pin
postonoh29-Sep-08 13:53
postonoh29-Sep-08 13:53 
Questionapply xsl on xml to generate sql Pin
AndieDu28-Sep-08 13:51
AndieDu28-Sep-08 13:51 
AnswerRe: apply xsl on xml to generate sql Pin
AndieDu28-Sep-08 19:06
AndieDu28-Sep-08 19:06 
QuestionHow do I create a schema for elements with attributes Pin
Christian Wikander26-Sep-08 3:50
Christian Wikander26-Sep-08 3:50 
AnswerRe: How do I create a schema for elements with attributes Pin
led mike26-Sep-08 4:49
led mike26-Sep-08 4:49 
GeneralRe: How do I create a schema for elements with attributes Pin
Christian Wikander29-Sep-08 1:04
Christian Wikander29-Sep-08 1:04 
QuestionRss Feed problem, please help me. Pin
josseph.zhang22-Sep-08 3:49
josseph.zhang22-Sep-08 3:49 
AnswerRe: Rss Feed problem, please help me. Pin
led mike23-Sep-08 4:44
led mike23-Sep-08 4:44 
AnswerRe: Rss Feed problem, please help me. Pin
George L. Jackson23-Sep-08 18:01
George L. Jackson23-Sep-08 18:01 
GeneralRe: Rss Feed problem, please help me. Pin
josseph.zhang24-Sep-08 3:44
josseph.zhang24-Sep-08 3:44 
QuestionRoot Element Missing Pin
Srikant Talasila17-Sep-08 8:33
Srikant Talasila17-Sep-08 8:33 

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.