Click here to Skip to main content
16,004,919 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Pass a xml doc to a web service? Pin
Philip Fitzsimons1-Aug-03 23:31
Philip Fitzsimons1-Aug-03 23:31 
GeneralRe: Pass a xml doc to a web service? Pin
Jason Weibel11-Aug-03 2:43
Jason Weibel11-Aug-03 2:43 
GeneralXML Web Services and SOAP Pin
Nino_130-Jul-03 10:19
Nino_130-Jul-03 10:19 
GeneralRe: XML Web Services and SOAP Pin
Jason Weibel1-Aug-03 9:16
Jason Weibel1-Aug-03 9:16 
GeneralPassing XmlResolver to Transform() method Pin
kyledunn29-Jul-03 10:09
kyledunn29-Jul-03 10:09 
GeneralRe: Passing XmlResolver to Transform() method Pin
Philip Fitzsimons1-Aug-03 2:42
Philip Fitzsimons1-Aug-03 2:42 
GeneralRe: Passing XmlResolver to Transform() method Pin
kyledunn7-Aug-03 8:43
kyledunn7-Aug-03 8:43 
GeneralXSL - grab unprocessed nodes Pin
Christian Graus28-Jul-03 19:12
protectorChristian Graus28-Jul-03 19:12 
I am writing an XSL to convert from our old to our new file format, and I want to get back a section showing me the nodes we've not processed. I've written this:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:dt="urn:schemas-microsoft-com:datatypes">

<xsl:template match="/XML/results/result/XML">
<XML xmlns:dt="urn:schemas-microsoft-com:datatypes">
<xsl:call-template name="static"/>
<xsl:call-template name="versions"/>
</XML>
</xsl:template>

<xsl:template name="static">
<static>
<id dt:dt="int"><xsl:value-of select="//XML/static/id"/></id>
<file_type dt:dt="int"><xsl:value-of select="//XML/static/filetype"/></file_type>
<date_contributed dt:dt="dateTime"><xsl:value-of select="//XML/static/date_contributed"/></date_contributed>
<remains><xsl:copy-of select="//XML/static"/></remains>
</static>
</xsl:template>

<xsl:template name="versions">
<versions>
</versions>
</xsl:template>

</xsl:stylesheet>

The idea being that right now, all of the static section EXCEPT the id, filetype and date_contributed nodes should be in the remains sections. Any suggestions most welcome.

Christian

GeneralRe: XSL - grab unprocessed nodes Pin
bart sawyer28-Jul-03 20:49
bart sawyer28-Jul-03 20:49 
GeneralRe: XSL - grab unprocessed nodes Pin
Stuart Dootson28-Jul-03 20:57
professionalStuart Dootson28-Jul-03 20:57 
GeneralNot an answer Pin
Paul Watson6-Aug-03 2:33
sitebuilderPaul Watson6-Aug-03 2:33 
GeneralRe: Not an answer Pin
Christian Graus6-Aug-03 11:38
protectorChristian Graus6-Aug-03 11:38 
GeneralXML - Stylesheets - for removing schema info Pin
qwerty987654321025-Jul-03 6:43
qwerty987654321025-Jul-03 6:43 
GeneralRe: XML - Stylesheets - for removing schema info Pin
Philip Fitzsimons28-Jul-03 2:25
Philip Fitzsimons28-Jul-03 2:25 
Generalxml to listbox Pin
jphuphilly24-Jul-03 4:19
jphuphilly24-Jul-03 4:19 
GeneralSelect top 5 &quot;rows&quot; in XML -file Pin
Mac B23-Jul-03 22:40
sussMac B23-Jul-03 22:40 
GeneralRe: Select top 5 &quot;rows&quot; in XML -file Pin
Nick Parker25-Jul-03 7:04
protectorNick Parker25-Jul-03 7:04 
GeneralRe: Select top 5 &quot;rows&quot; in XML -file Pin
Philip Patrick26-Jul-03 21:26
professionalPhilip Patrick26-Jul-03 21:26 
GeneralAccessing an XML sequence Pin
Bernhard Hofmann23-Jul-03 0:24
Bernhard Hofmann23-Jul-03 0:24 
GeneralRe: Accessing an XML sequence Pin
Philip Patrick26-Jul-03 21:22
professionalPhilip Patrick26-Jul-03 21:22 
GeneralPopulating Treeview Control with XML Explicit Pin
djoy22-Jul-03 16:43
djoy22-Jul-03 16:43 
GeneralVisulisations Pin
Davy Mitchell22-Jul-03 7:59
Davy Mitchell22-Jul-03 7:59 
GeneralGetting to xsl:template to match only nodes with a certain attribute Pin
Taka Muraoka22-Jul-03 3:22
Taka Muraoka22-Jul-03 3:22 
GeneralRe: Getting to xsl:template to match only nodes with a certain attribute Pin
Mark Smithson22-Jul-03 3:50
Mark Smithson22-Jul-03 3:50 
GeneralRe: Getting to xsl:template to match only nodes with a certain attribute Pin
Taka Muraoka22-Jul-03 3:57
Taka Muraoka22-Jul-03 3:57 

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.