Click here to Skip to main content
15,914,481 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: .NET newbie has question RE: XmlTextWriter Pin
Anonymous7-Oct-04 22:51
Anonymous7-Oct-04 22:51 
GeneralRe: .NET newbie has question RE: XmlTextWriter Pin
Anonymous7-Oct-04 22:51
Anonymous7-Oct-04 22:51 
GeneralDatagrid cannot displayed. Pin
DotNet23-Aug-04 3:24
DotNet23-Aug-04 3:24 
GeneralXML navigation help needed Pin
liyang yu22-Aug-04 9:06
liyang yu22-Aug-04 9:06 
GeneralRe: XML navigation help needed Pin
Pradeep Shamarao6-Sep-04 21:53
Pradeep Shamarao6-Sep-04 21:53 
GeneralXml Parsing & Validating Pin
SR7717-Aug-04 10:52
SR7717-Aug-04 10:52 
GeneralRe: Xml Parsing & Validating Pin
David Salter23-Aug-04 4:07
David Salter23-Aug-04 4:07 
GeneralNo correct xhtml from XML and XSL Pin
Gumbah13-Aug-04 0:06
Gumbah13-Aug-04 0:06 
this is a piece of the xsl i use:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:output omit-xml-declaration="no" method="xml" indent="yes" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" />

...

<input type="hidden" name="projectcode">
<xsl:attribute name="value">
<xsl:value-of select="../PROJECTCODE"/>
</xsl:attribute>
</input>

...

but when i render the xml using System.Xml.Xsl.XslTransform, the result is not valid xhtml. The hidden input is generated as:
<input type="hidden" name="projectcode" value="123"></input>

in stead of:
<input type="hidden" name="projectcode" value="123" />

does anyone have any idea what i am doing wrong??
GeneralRe: No correct xhtml from XML and XSL Pin
ChrisAdams15-Aug-04 19:37
ChrisAdams15-Aug-04 19:37 
GeneralRe: No correct xhtml from XML and XSL Pin
Gumbah15-Aug-04 21:01
Gumbah15-Aug-04 21:01 
QuestionPulling Values From An XML File - Recommendations? Pin
Member 66660712-Aug-04 6:11
Member 66660712-Aug-04 6:11 
GeneralEvaluating XPath expressions on Windows CE Pin
Kot_Begemot6-Aug-04 5:52
Kot_Begemot6-Aug-04 5:52 
GeneralRegular Expression of XML document Pin
Rashid_Mehmood5-Aug-04 14:53
Rashid_Mehmood5-Aug-04 14:53 
GeneralRe: Regular Expression of XML document Pin
abu-alSaber16-Aug-04 22:12
abu-alSaber16-Aug-04 22:12 
GeneralMerging of two XML documents Pin
dabs5-Aug-04 7:15
dabs5-Aug-04 7:15 
GeneralRe: Merging of two XML documents Pin
ChrisAdams11-Aug-04 23:49
ChrisAdams11-Aug-04 23:49 
GeneralRe: Merging of two XML documents Pin
dabs12-Aug-04 0:31
dabs12-Aug-04 0:31 
GeneralRe: Merging of two XML documents Pin
Praveen Nayak6-Sep-04 0:11
Praveen Nayak6-Sep-04 0:11 
Generalmicrosoft vb script runtime error'800a01a8' is harassing me Pin
chmonalisa4-Aug-04 23:35
chmonalisa4-Aug-04 23:35 
Generalmicrosoft vb script runtime error'800a01a8' is harassing me Pin
chmonalisa4-Aug-04 23:33
chmonalisa4-Aug-04 23:33 
GeneralSOAP to SQL / SQL to SOAP Pin
cfaulkner3-Aug-04 11:59
cfaulkner3-Aug-04 11:59 
GeneralError with XML Pin
osal3-Aug-04 8:19
osal3-Aug-04 8:19 
GeneralRe: Error with XML Pin
abu-alSaber16-Aug-04 22:00
abu-alSaber16-Aug-04 22:00 
GeneralI have a project to submit and dont know how to start Pin
ClubV22-Aug-04 5:31
ClubV22-Aug-04 5:31 
GeneralRe: I have a project to submit and dont know how to start Pin
Jeff Martin5-Aug-04 7:50
Jeff Martin5-Aug-04 7:50 

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.