Click here to Skip to main content
14,662,526 members
Home » Discussions » XML / XSL
   

XML / XSL

 
AnswerRe: How to Password Protect a XML SpreadSheet Pin
Christian Graus1-Nov-09 9:30
mveChristian Graus1-Nov-09 9:30 
QuestionC# XML datagridview delete row Pin
Wheels01227-Oct-09 3:38
MemberWheels01227-Oct-09 3:38 
QuestionC# Append XML File Pin
Wheels01223-Oct-09 5:42
MemberWheels01223-Oct-09 5:42 
AnswerRe: C# Append XML File Pin
Christian Graus23-Oct-09 10:35
mveChristian Graus23-Oct-09 10:35 
GeneralRe: C# Append XML File Pin
Wheels01226-Oct-09 1:24
MemberWheels01226-Oct-09 1:24 
QuestionIs it possible to call a comand line program from within an Xml File Preprocessor Pin
ONeil Tomlinson23-Oct-09 1:09
MemberONeil Tomlinson23-Oct-09 1:09 
AnswerRe: Is it possible to call a comand line program from within an Xml File Preprocessor Pin
Christian Graus23-Oct-09 10:44
mveChristian Graus23-Oct-09 10:44 
QuestionXSL group [modified] Pin
Clas Andersson22-Oct-09 21:26
MemberClas Andersson22-Oct-09 21:26 
Hi.

How can I group values in "Type" ( xmldatasource - fill dropdownlist with distinct values ) ?

XSL:

<?xml version="1.0"?>
<xsl:transform
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
>
<xsl:strip-space elements="*"/>
<xsl:output method="xml"
omit-xml-declaration="yes"
indent="yes"
standalone="yes" />
<xsl:template match="/">
<xsl:for-each select="dataroot">
<xsl:element name="dataroot">
<xsl:for-each select="Table_A">
<xsl:element name="Table_A">
<xsl:attribute name="Type">
<xsl:value-of select="Type"/>
</xsl:attribute>
</xsl:element>
</xsl:for-each>
</xsl:element>
</xsl:for-each>
</xsl:template>
</xsl:transform>


XML:
<dataroot xmlns:od="urn:schemas-microsoft-com:officedata" generated="2009-10-21T09:21:31">
<Table_A>
<ID_I>100085004</ID_I>
<Type>GPS</Type>
<Value>0</Value>
<SDD_Date>1829-06-12T00:00:00</SDD_Date>
</Table_A>
</dataroot>

Thanks in advance !!

modified on Friday, October 23, 2009 3:43 AM

AnswerRe: XSL group Pin
tassilo10-Nov-09 23:02
Membertassilo10-Nov-09 23:02 
Questionhow to write to xml file! [modified] Pin
live4u19-Oct-09 2:04
Memberlive4u19-Oct-09 2:04 
AnswerRe: how to write to xml file! Pin
Christian Graus22-Oct-09 18:30
mveChristian Graus22-Oct-09 18:30 
QuestionXML-RPC VERSUS JSON-RPC Pin
cyrossis17-Oct-09 2:16
Membercyrossis17-Oct-09 2:16 
QuestionXML to link to Image location - Word 07 [modified] Pin
Jerry Squires16-Oct-09 2:22
MemberJerry Squires16-Oct-09 2:22 
QuestionPROBLEM WITH HYPHEN (-) IN XML ELEMENT NODE Pin
dsaikrishna14-Oct-09 21:24
Memberdsaikrishna14-Oct-09 21:24 
AnswerRe: PROBLEM WITH HYPHEN (-) IN XML ELEMENT NODE Pin
Stuart Dootson14-Oct-09 21:32
professionalStuart Dootson14-Oct-09 21:32 
GeneralRe: PROBLEM WITH HYPHEN (-) IN XML ELEMENT NODE Pin
dsaikrishna15-Oct-09 0:02
Memberdsaikrishna15-Oct-09 0:02 
Questionhelp with SOAP Pin
roba alchab12-Oct-09 23:23
Memberroba alchab12-Oct-09 23:23 
AnswerRe: help with SOAP Pin
Richard MacCutchan13-Oct-09 0:42
mveRichard MacCutchan13-Oct-09 0:42 
Questionhow to pass the xml textbox value to php variable Pin
jaraldumary11-Oct-09 23:54
Memberjaraldumary11-Oct-09 23:54 
Questiongaming proiject with XML Pin
msusmitha9-Oct-09 0:49
Membermsusmitha9-Oct-09 0:49 
AnswerRe: gaming proiject with XML Pin
Richard MacCutchan9-Oct-09 1:22
mveRichard MacCutchan9-Oct-09 1:22 
AnswerRe: gaming proiject with XML Pin
Christian Graus22-Oct-09 18:31
mveChristian Graus22-Oct-09 18:31 
QuestionHow to implement tokenize in XSLT Pin
sito428-Oct-09 21:08
Membersito428-Oct-09 21:08 
QuestionGetting Values [modified] Pin
sriharsha_127-Oct-09 18:20
Membersriharsha_127-Oct-09 18:20 
AnswerRe: Getting Values Pin
Richard MacCutchan9-Oct-09 4:35
mveRichard MacCutchan9-Oct-09 4:35 

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.