Click here to Skip to main content
15,891,725 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: How can i post xml header in my output xml using xslt? [modified] Pin
led mike20-Feb-09 4:39
led mike20-Feb-09 4:39 
Questiondatabase for device application Pin
C#@abhishek17-Feb-09 17:53
C#@abhishek17-Feb-09 17:53 
QuestionXSL GROUPING Pin
ajayget17-Feb-09 1:07
ajayget17-Feb-09 1:07 
QuestionGet the videos from a Youtube page through embedded tags using XML Parsing. Pin
Nekkantidivya16-Feb-09 23:50
Nekkantidivya16-Feb-09 23:50 
QuestionHow to get videos in a webpage through XML parsing? Pin
Nekkantidivya16-Feb-09 3:23
Nekkantidivya16-Feb-09 3:23 
QuestionXSL change font color and skip lines between Pin
jeffreyeas15-Feb-09 19:23
jeffreyeas15-Feb-09 19:23 
AnswerRe: XSL change font color and skip lines between Pin
jeffreyeas16-Feb-09 5:14
jeffreyeas16-Feb-09 5:14 
QuestionTrim all innertext/attributes values with XSL Pin
Tony Pottier10-Feb-09 4:56
Tony Pottier10-Feb-09 4:56 
Hi,

I'm parsing a fixed size flat file document and convert it into XML, but I therefore have output like

<root>
    <foo bar="   lulz ">   zomg   </foo>
    <hello>  world</hello>
</root>


Which I'd like to look like:

<root>
    <foo bar="lulz">zomg</foo>
    <hello>world</hello>
</root>


Is there a way to do this with XSLT? I've tryed a copy/copy-of and normalize-space, but it doesn't give me the output I'd want. This is driving me insane.

Thanks!
QuestionRe: Trim all innertext/attributes values with XSL Pin
led mike10-Feb-09 5:07
led mike10-Feb-09 5:07 
AnswerRe: Trim all innertext/attributes values with XSL Pin
Tony Pottier10-Feb-09 5:10
Tony Pottier10-Feb-09 5:10 
GeneralRe: Trim all innertext/attributes values with XSL Pin
led mike10-Feb-09 5:13
led mike10-Feb-09 5:13 
AnswerRe: Trim all innertext/attributes values with XSL Pin
George L. Jackson10-Feb-09 16:21
George L. Jackson10-Feb-09 16:21 
GeneralRe: Trim all innertext/attributes values with XSL Pin
Tony Pottier12-Feb-09 4:23
Tony Pottier12-Feb-09 4:23 
GeneralRe: Trim all innertext/attributes values with XSL Pin
led mike12-Feb-09 4:45
led mike12-Feb-09 4:45 
QuestionRe: Trim all innertext/attributes values with XSL [modified] Pin
George L. Jackson13-Feb-09 5:20
George L. Jackson13-Feb-09 5:20 
QuestionSchematron Pin
richard.white310-Feb-09 3:16
richard.white310-Feb-09 3:16 
QuestionViewing Xml in HTML page using IE6 in Tree view. Pin
Member 43923735-Feb-09 2:59
Member 43923735-Feb-09 2:59 
AnswerRe: Viewing Xml in HTML page using IE6 in Tree view. Pin
led mike5-Feb-09 4:42
led mike5-Feb-09 4:42 
GeneralRe: Viewing Xml in HTML page using IE6 in Tree view. Pin
Member 43923735-Feb-09 16:31
Member 43923735-Feb-09 16:31 
QuestionRe: Viewing Xml in HTML page using IE6 in Tree view. Pin
George L. Jackson6-Feb-09 10:33
George L. Jackson6-Feb-09 10:33 
QuestionRecommed XML Editor Pin
Don Burton4-Feb-09 12:35
Don Burton4-Feb-09 12:35 
AnswerRe: Recommed XML Editor Pin
led mike5-Feb-09 4:37
led mike5-Feb-09 4:37 
Questionjavascript and xml Pin
reta.me4-Feb-09 7:44
reta.me4-Feb-09 7:44 
AnswerRe: javascript and xml Pin
Curtis Schlak.26-Feb-09 16:00
Curtis Schlak.26-Feb-09 16:00 
QuestionDom JavaScript..Namespace Pin
Amr M. K.4-Feb-09 2:31
Amr M. K.4-Feb-09 2:31 

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.