Click here to Skip to main content
15,900,907 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Dynamic Link Creation in ASP.Net Page /XSL Pin
Not Active19-Jan-04 0:53
mentorNot Active19-Jan-04 0:53 
GeneralRe: Dynamic Link Creation in ASP.Net Page /XSL Pin
laker_6619-Jan-04 6:25
laker_6619-Jan-04 6:25 
GeneralRe: Dynamic Link Creation in ASP.Net Page /XSL Pin
Not Active19-Jan-04 10:12
mentorNot Active19-Jan-04 10:12 
GeneralRe: Dynamic Link Creation in ASP.Net Page /XSL Pin
Matthew Hazlett28-Jan-04 8:32
Matthew Hazlett28-Jan-04 8:32 
QuestionHow to fill the fields of IE's web page from within VB or C++ ? Pin
John Thomas15-Jan-04 6:13
John Thomas15-Jan-04 6:13 
AnswerRe: How to fill the fields of IE's web page from within VB or C++ ? Pin
Anonymous8-Feb-04 19:19
Anonymous8-Feb-04 19:19 
GeneralXSLT for converting an XML document to Text file Pin
cheezdog14-Jan-04 22:38
cheezdog14-Jan-04 22:38 
GeneralRe: XSLT for converting an XML document to Text file Pin
Philip Fitzsimons15-Jan-04 2:48
Philip Fitzsimons15-Jan-04 2:48 
something like this would work:

<xsl:template match="Extraction"><br />
 <xsl:for-each select="BBRequest|ITLRequest"><br />
<br />
  <xsl:for-each select="*"><br />
<br />
   ^<xsl:value-of select="name()" /><xsl:value-of select="text()" /><br />
<br />
   <-- get any details in subitems such as POAddress and HomeAddress --><br />
   <xsl:for-each select="*"><br />
    ^<xsl:value-of select="name()" /><xsl:value-of select="text()" /><br />
   </xsl:for-each><br />
<br />
  </xsl:for-each><br />
<br />
 </xsl:for-each><br />
</xsl:template>


the trick is to use the name() function to get the name of the node




"When the only tool you have is a hammer, a sore thumb you will have."

GeneralHTTP Get-Post and XML Pin
Monty29-Jan-04 0:52
Monty29-Jan-04 0:52 
GeneralRe: HTTP Get-Post and XML Pin
Not Active13-Jan-04 3:42
mentorNot Active13-Jan-04 3:42 
GeneralRe: HTTP Get-Post and XML Pin
laker_6619-Jan-04 9:57
laker_6619-Jan-04 9:57 
GeneralJSP and Tomcat Pin
The_Server9-Jan-04 0:24
The_Server9-Jan-04 0:24 
GeneralRe: JSP and Tomcat Pin
ZoogieZork9-Jan-04 2:06
ZoogieZork9-Jan-04 2:06 
GeneralRe: JSP and Tomcat Pin
The_Server9-Jan-04 2:18
The_Server9-Jan-04 2:18 
GeneralRe: JSP and Tomcat Pin
ZoogieZork9-Jan-04 17:28
ZoogieZork9-Jan-04 17:28 
GeneralRe: JSP and Tomcat Pin
The_Server10-Jan-04 21:46
The_Server10-Jan-04 21:46 
GeneralRSS Feed not displaying properly Pin
AAntix7-Jan-04 8:02
AAntix7-Jan-04 8:02 
QuestionXSLT of data extracted via XPath? Pin
AndrewCherry3-Jan-04 17:01
AndrewCherry3-Jan-04 17:01 
AnswerRe: XSLT of data extracted via XPath? Pin
avnrao4-Jan-04 23:37
avnrao4-Jan-04 23:37 
Generalxml transform Pin
samo7a2-Jan-04 11:10
samo7a2-Jan-04 11:10 
GeneralRe: xml transform Pin
Heath Stewart2-Jan-04 11:51
protectorHeath Stewart2-Jan-04 11:51 
GeneralSerializing web server controls Pin
Rafik2-Jan-04 10:33
Rafik2-Jan-04 10:33 
GeneralRe: Serializing web server controls Pin
Heath Stewart2-Jan-04 11:49
protectorHeath Stewart2-Jan-04 11:49 
GeneralSerializing Arrays in .NET Pin
mohn331031-Dec-03 15:07
mohn331031-Dec-03 15:07 
GeneralRe: Serializing Arrays in .NET Pin
mohn331031-Dec-03 15:09
mohn331031-Dec-03 15:09 

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.