|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Some entity problems
Hello
First I cannot output a DOCTYPE declaration for an html document even if I put it in CDATA. The brackets get converted to their entities Also, how can I output a new line character in XSLT? I tried &10;&13; but it won't accept it. If you put it in CDATA, it converts &'s into &'s |
|
#2
|
|||
|
|||
|
Hi
First of all, to write out a non/breaking space in XSL/T, you must not attempt to use character codes, they wont work. You will need to use the following entities (these should work ok):- * = non breaking space ( in html) = new line are you declaring the doctype inside square brackets [] ? You havnt put any of your code here, so it makes it difficult to diagnose hth Scott |
|
#3
|
|||
|
|||
|
it keeps rendering the code - i will try again
non breaking = & # x a 0 ; breaking = & # 10 ; there are no gaps in the entities, i had to split them to show them in this post |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > Some entity problems |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|