Click here to Skip to main content
15,924,402 members
Home / Discussions / XML / XSL
   

XML / XSL

 
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 
GeneralRe: Serializing Arrays in .NET Pin
Heath Stewart2-Jan-04 11:44
protectorHeath Stewart2-Jan-04 11:44 
GeneralRe: Serializing Arrays in .NET Pin
mohn33102-Jan-04 14:16
mohn33102-Jan-04 14:16 
GeneralRe: Serializing Arrays in .NET Pin
Heath Stewart2-Jan-04 19:44
protectorHeath Stewart2-Jan-04 19:44 
Generalextract data from xml document Pin
samo7a30-Dec-03 11:06
samo7a30-Dec-03 11:06 
GeneralRe: extract data from xml document Pin
Nick Parker2-Jan-04 6:55
protectorNick Parker2-Jan-04 6:55 
GeneralProblem with transformation result Pin
tamekyle30-Dec-03 9:09
tamekyle30-Dec-03 9:09 
I am trying to dynamically create web sites using xml/xsl transformations, but am having trouble with the formatting of the output html.

My code looks like this:

Dim xslDoc As XslTransform = New XslTransform()<br />
        <br />
xslDoc.Load(sXslDoc)<br />
xslDoc.Transform(sXmlDoc, sNewHtmlFile)


The problem is the my HTML output is formatted with indentation and carriage returns for every new tag, like an XML document:

<tr><br />
  <td width="209px" height="49px" bgcolor="#FFFBE6"><br />
    <img border="0" src="images/logo.gif"><br />
  </td><br />
  <td width="66px" height="49px"><br />
    <img src="images/banner03.gif" width="66px" height="49px" alt=""><br />
  </td><br />
</tr>


And I want it to look like this:

<tr><br />
  <td width="209px" height="49px" bgcolor="#FFFBE6"><img border="0" src="images/logo.gif"></td><br />
  <td width="66px" height="49px"><img src="images/banner03.gif" width="66px" height="49px" alt=""></td><br />
</tr>


Without puting carriage returns before every new tag, because it seems to be screwing up how it displays in the browser. I have a lot of cells with images in them and it looks like the carriage returns are putting spaces or something after the images and everything gets thrown off, and my pages look like crap!!

Any ideas?Confused | :confused: Confused | :confused: Confused | :confused:
GeneralRe: Problem with transformation result Pin
Heath Stewart31-Dec-03 11:23
protectorHeath Stewart31-Dec-03 11:23 
GeneralRe: Problem with transformation result Pin
tamekyle2-Jan-04 4:15
tamekyle2-Jan-04 4:15 
Generalxmslt templates Pin
aynka200029-Dec-03 1:53
aynka200029-Dec-03 1:53 
QuestionHow to use array update the xml file?&#9608;&#9608;&#9608; Pin
nichen100128-Dec-03 13:42
nichen100128-Dec-03 13:42 
AnswerRe: How to use array update the xml file?&amp;#9608;&amp;#9608;&amp;#9608; Pin
Philip Fitzsimons6-Jan-04 3:02
Philip Fitzsimons6-Jan-04 3:02 
GeneralProblem adding web reference to Visual c++ application Pin
Anonymous27-Dec-03 9:52
Anonymous27-Dec-03 9:52 
GeneralRe: Problem adding web reference to Visual c++ application Pin
Anonymous27-Dec-03 9:57
Anonymous27-Dec-03 9:57 
Generalcrystal reports Pin
heba_zien27-Dec-03 9:34
heba_zien27-Dec-03 9:34 
GeneralProper Installation of MSXML Pin
Heath Stewart23-Dec-03 4:52
protectorHeath Stewart23-Dec-03 4:52 
GeneralXSD Pin
Large Data File22-Dec-03 7:30
Large Data File22-Dec-03 7:30 
GeneralRe: XSD Pin
Heath Stewart23-Dec-03 4:55
protectorHeath Stewart23-Dec-03 4:55 
GeneralRe: XSD Pin
Large Data File30-Dec-03 23:47
Large Data File30-Dec-03 23:47 
GeneralRe: XSD Pin
Heath Stewart31-Dec-03 3:51
protectorHeath Stewart31-Dec-03 3:51 
GeneralXML and Office Pin
Mauricio Ritter22-Dec-03 0:01
Mauricio Ritter22-Dec-03 0:01 
GeneralRe: XML and Office Pin
Philip Fitzsimons22-Dec-03 4:41
Philip Fitzsimons22-Dec-03 4:41 
QuestionWhat is the right XPath to.. Pin
Aryo Handono12-Dec-03 6:02
professionalAryo Handono12-Dec-03 6:02 
AnswerRe: What is the right XPath to.. Pin
Nick Parker12-Dec-03 6:55
protectorNick Parker12-Dec-03 6:55 

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.