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

XML / XSL

 
GeneralRe: How to fix "Error Parsing Entityname" Exception Pin
Zenly12-Jan-06 11:30
Zenly12-Jan-06 11:30 
GeneralRe: How to fix "Error Parsing Entityname" Exception Pin
Curtis Schlak.12-Jan-06 12:55
Curtis Schlak.12-Jan-06 12:55 
GeneralRe: How to fix "Error Parsing Entityname" Exception Pin
Zenly12-Jan-06 14:02
Zenly12-Jan-06 14:02 
GeneralRe: How to fix "Error Parsing Entityname" Exception Pin
Curtis Schlak.13-Jan-06 1:33
Curtis Schlak.13-Jan-06 1:33 
QuestionUnable to Load XML Pin
Samy Lahur11-Jan-06 2:32
Samy Lahur11-Jan-06 2:32 
QuestionGrouping multiple paragraph styles and multiple character styles using xsl Pin
gandhiaryah10-Jan-06 23:28
gandhiaryah10-Jan-06 23:28 
QuestionXML Serialization Pointer Fix uping Pin
asdf98910-Jan-06 9:32
asdf98910-Jan-06 9:32 
QuestionTransform to HTML with javascript Pin
Colin Angus Mackay10-Jan-06 5:18
Colin Angus Mackay10-Jan-06 5:18 
I have an XmlDocument that I use with an XmlTransform that generates some HTML with a javascript section. The javascript has an if ( a < b){} in it, but that is really confusing the transform processor.

I found a document that suggested that the correct way is to use this construction:
<xsl:text disable-output-escaping="yes"><</xsl:text>
However, all that happens is that it confuses the parser. I get the following exception when XmlTransform.Load() is called: This is an unexpected token. The expected token is 'NAME'. Line 23, position 63.

Other options I've tried tend to output &lt; which causes a runtime error when that piece of javascript is run.

Does anyone have any ideas of how to fix this?

ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell

AnswerRe: Transform to HTML with javascript [Quick and dirty workaround] Pin
Colin Angus Mackay10-Jan-06 6:12
Colin Angus Mackay10-Jan-06 6:12 
AnswerRe: Transform to HTML with javascript Pin
Curtis Schlak.10-Jan-06 6:54
Curtis Schlak.10-Jan-06 6:54 
GeneralRe: Transform to HTML with javascript Pin
Colin Angus Mackay11-Jan-06 0:24
Colin Angus Mackay11-Jan-06 0:24 
GeneralRe: Transform to HTML with javascript Pin
Curtis Schlak.11-Jan-06 2:18
Curtis Schlak.11-Jan-06 2:18 
QuestionHelp with assignment question please! Pin
R0ssini9-Jan-06 11:30
R0ssini9-Jan-06 11:30 
AnswerRe: Help with assignment question please! Pin
Christian Graus9-Jan-06 11:55
protectorChristian Graus9-Jan-06 11:55 
GeneralRe: Help with assignment question please! Pin
R0ssini9-Jan-06 12:03
R0ssini9-Jan-06 12:03 
GeneralRe: Help with assignment question please! Pin
Christian Graus9-Jan-06 12:09
protectorChristian Graus9-Jan-06 12:09 
GeneralRe: Help with assignment question please! Pin
R0ssini9-Jan-06 12:23
R0ssini9-Jan-06 12:23 
GeneralRe: Help with assignment question please! Pin
Christian Graus9-Jan-06 12:26
protectorChristian Graus9-Jan-06 12:26 
GeneralRe: Help with assignment question please! Pin
R0ssini9-Jan-06 12:37
R0ssini9-Jan-06 12:37 
GeneralRe: Help with assignment question please! Pin
R0ssini11-Jan-06 0:47
R0ssini11-Jan-06 0:47 
GeneralRe: Help with assignment question please! Pin
R0ssini11-Jan-06 0:51
R0ssini11-Jan-06 0:51 
GeneralRe: Help with assignment question please! Pin
R0ssini11-Jan-06 0:58
R0ssini11-Jan-06 0:58 
GeneralRe: Help with assignment question please! Pin
Itech Consulting26-Jan-06 15:03
Itech Consulting26-Jan-06 15:03 
GeneralRe: Help with assignment question please! Pin
Itech Consulting26-Jan-06 15:06
Itech Consulting26-Jan-06 15:06 
AnswerRe: Help with assignment question please! Pin
Mike Burroughs12-Jan-06 14:57
Mike Burroughs12-Jan-06 14: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.