Click here to Skip to main content
16,011,120 members
Home / Discussions / XML / XSL
   

XML / XSL

 
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 
If you create a html page, you need to give it a .html extension, instead of .txt. Then, double click on the file, IE will open it.

Basically, creating a web page using XML just means you use XHTML, which in turn essentially means that the HTML needs to be XML. This is HTML, but not XML

one line<br>another line

That is because the <br> tag is never closed. To solve this, do this instead:

one line<br/>another line

this is another example:

this <strong>text has <em>some bold</strong> and </em>some italics

strong and em are the recommended tags, they replace b and i, from memory ( years since I used them ). This is not valid XML as the tags do not line up. To replace this, you'd need to work out a solution where the tags do not next. The following would not look the same, but illustrates the idea:

this <strong>text has <em>some bold</em> and </strong>some italics

So - all you need to do is create an HTML page that is entirely XML compiliant. An easy way to make sure is to download XML Spy Home Edition, it is a half decent XML editor. It will also help you with writing XSLTs, which are transformations on XML to produce a new document which may or may not be XML.

So, if you've not done XML for years, why are you doing an assignment on XML ?


Christian Graus - Microsoft MVP - C++
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 
GeneralRe: Help with assignment question please! Pin
R0ssini13-Jan-06 14:53
R0ssini13-Jan-06 14:53 
QuestionProblem with xslt. Pin
Chetan Ranpariya5-Jan-06 18:54
Chetan Ranpariya5-Jan-06 18:54 
QuestionInsert string to Bitmap path? Pin
SpeBeeTo5-Jan-06 14:03
SpeBeeTo5-Jan-06 14:03 
AnswerRe: Insert string to Bitmap path? Pin
Curtis Schlak.6-Jan-06 7:31
Curtis Schlak.6-Jan-06 7:31 
GeneralRe: Insert string to Bitmap path? Pin
SpeBeeTo6-Jan-06 19:37
SpeBeeTo6-Jan-06 19:37 
QuestionGrouping different wordml paragraph styles under one parent node in xml Pin
gandhiaryah4-Jan-06 5:27
gandhiaryah4-Jan-06 5:27 
QuestionUsing Two &quot;group-adjacent&quot; Pin
gandhiaryah4-Jan-06 2:36
gandhiaryah4-Jan-06 2:36 
Questiondirecting to a root directory in xml Pin
SpeBeeTo3-Jan-06 12:09
SpeBeeTo3-Jan-06 12:09 

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.