[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Docbook 5 problem



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Michael Rasmussen wrote:
> On Sun, 24 Jan 2010 12:38:16 +0100
> Niels Müller Larsen <sslug@sslug> wrote:
> 
>> Du har helt ret, MEN når det bliver lagt ind i en <programlisting>
>> så sker der det at && af xslt bliver oversat til &amp;&amp;
> 
>> Synes jeg har prøvet alle mulige krumspring, men intet har hjulpet
>> w3schools har ret, men de skriver om generel XML ikke om Docbook, der jo
>> har et lagt udenom
> Har du prøvet at escape &? Altså \&amp;
> 


<programlisting><![CDATA[ \&amp;entities \&abcdefgh]]></programlisting>

giver som output:    \&amp;amp;entities \&amp;abcdefgh

som dokumentation for, hvordan det virker udenfor programlisting:

<code>&amp;#nnnn;</code>
giver som output:  &#nnnn;
altså præcist det jeg gerne vil.

Hvordan "hel..." skal man skrive ordentlige undervisningsmaterialer om
det system som de er lavet  i ;-) Det er dog lykkedes mig at skrive ]]>
uden det opfattes som metategn, så det er vel ikke helt håbløst. Er jeg
her nødt til at have fat i Norman Walsh?

- --
Niels Muller Larsen, MSc
Programmer, Teacher

Mob: +45 2040 5740
Web: http://x15.dk
Mail: sslug@sslug
Public key: 0xD4DB4A5E
(http://keyserver.veridis.com:11371/search?q=0xD4DB4A5E)

Q:	What is printed on the bottom of beer bottles in Minnesota?
A:	Open other end.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFLXDglbiU629TbSl4RAnu9AKCeNFXvuIqaKaqcoTmBHeJ/+fjTdQCeLI83
BY/1eiaE4woPRaV5QN/ZbW4=
=RIvW
-----END PGP SIGNATURE-----


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2010-02-01, 02:01 CET [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *