Click here to Skip to main content
16,006,749 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: xpath & namespace Pin
Shog915-Oct-02 6:31
sitebuilderShog915-Oct-02 6:31 
Generalgenerating XSL with ASP Pin
Bart Meirens9-Oct-02 10:02
Bart Meirens9-Oct-02 10:02 
GeneralRe: generating XSL with ASP Pin
Christian Graus9-Oct-02 22:39
protectorChristian Graus9-Oct-02 22:39 
GeneralXML and Binary data Pin
Todd Smith8-Oct-02 13:48
Todd Smith8-Oct-02 13:48 
GeneralRe: XML and Binary data Pin
Paul Watson8-Oct-02 21:42
sitebuilderPaul Watson8-Oct-02 21:42 
Generalusing xsl Pin
dsk7-Oct-02 20:45
dsk7-Oct-02 20:45 
GeneralRe: using xsl Pin
Paul Watson7-Oct-02 21:49
sitebuilderPaul Watson7-Oct-02 21:49 
GeneralRe: using xsl Pin
Brandon Driesen8-Oct-02 1:51
Brandon Driesen8-Oct-02 1:51 
1. If the XML Document is large then, using DOM for transformation may not be practical. If that is the case, then under the .NET scenario, you should use the XmlTextReader and XmlTextWriter objects.

2. If the XML Document is not large enough then, you can use the DOM Methods which can be pretty verbose even in .NET.

3. Using an XSLT approach may be convenient if the document generally does not exceed 50 Kb.

the XSLT file is as follows:
<?xml version='1.0'?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="@* | node()">
<xsl:copy><xsl:apply-templates select="@* | node()" /></xsl:copy>
</xsl:template>

<xsl:template match="emp">
<employee>
<xsl:copy-of select="@* | node()"/>
</employee>
</xsl:template>

</xsl:stylesheet>




Generalxsd:fractionDigits Pin
Hans Ruck26-Sep-02 0:02
Hans Ruck26-Sep-02 0:02 
GeneralRe: xsd:fractionDigits Pin
The1-Oct-02 0:02
The1-Oct-02 0:02 
GeneralRe: xsd:fractionDigits Pin
Hans Ruck1-Oct-02 0:28
Hans Ruck1-Oct-02 0:28 
GeneralRe: xsd:fractionDigits Pin
The1-Oct-02 0:28
The1-Oct-02 0:28 
GeneralRe: xsd:fractionDigits Pin
The1-Oct-02 0:56
The1-Oct-02 0:56 
GeneralRe: xsd:fractionDigits Pin
Hans Ruck1-Oct-02 1:12
Hans Ruck1-Oct-02 1:12 
GeneralRe: xsd:fractionDigits Pin
The1-Oct-02 1:29
The1-Oct-02 1:29 
QuestionUnsupported chars? Pin
Rickard Andersson2025-Sep-02 2:26
Rickard Andersson2025-Sep-02 2:26 
AnswerRe: Unsupported chars? Pin
Anonymous25-Sep-02 2:35
Anonymous25-Sep-02 2:35 
Questionhow to display xml in IE6? Pin
Segal24-Sep-02 19:46
Segal24-Sep-02 19:46 
AnswerRe: how to display xml in IE6? Pin
Anonymous24-Sep-02 22:00
Anonymous24-Sep-02 22:00 
QuestionXML for a starter? Pin
zhoujun24-Sep-02 14:43
zhoujun24-Sep-02 14:43 
AnswerRe: XML for a starter? Pin
Paul Watson24-Sep-02 21:03
sitebuilderPaul Watson24-Sep-02 21:03 
GeneralRe: XML for a starter? Pin
zhoujun25-Sep-02 14:18
zhoujun25-Sep-02 14:18 
Generalxsl:variable Pin
Christian Graus22-Sep-02 12:18
protectorChristian Graus22-Sep-02 12:18 
GeneralRe: xsl:variable Pin
Richard Deeming22-Sep-02 23:46
mveRichard Deeming22-Sep-02 23:46 
GeneralRe: xsl:variable Pin
Christian Graus22-Sep-02 23:47
protectorChristian Graus22-Sep-02 23:47 

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.