* [gentoo-dev] xml in gentoo documentation
@ 2002-07-30 9:42 kirill j.
2002-07-30 10:11 ` Geert Bevin
2002-07-30 10:31 ` [gentoo-dev] " Mark Gordon
0 siblings, 2 replies; 3+ messages in thread
From: kirill j. @ 2002-07-30 9:42 UTC (permalink / raw
To: gentoo-dev
Hi!
I'm currently in the process of writing my first guide, using
gentoo-web -tools. I was inspired by xml-guide.html.
I am not really that good into xml or even html or css, so I'm asking for
help here:
the problem is that i've included a copy/paste from kernel's 'make
menuconfig' into my guide.
xml dont like it (it doesn't like the <M>'s, which it thinks are incomplete
tags).
is there anyway to tell xml to ignore everything withing some specific tag?
<pre> </pre> doesn't seem to help.
thnx
-kirill
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] xml in gentoo documentation
2002-07-30 9:42 [gentoo-dev] xml in gentoo documentation kirill j.
@ 2002-07-30 10:11 ` Geert Bevin
2002-07-30 10:31 ` [gentoo-dev] " Mark Gordon
1 sibling, 0 replies; 3+ messages in thread
From: Geert Bevin @ 2002-07-30 10:11 UTC (permalink / raw
To: gentoo-dev
<![CDATA[the_text_you_want_to_escape]]
kirill j. wrote:
> Hi!
>
> I'm currently in the process of writing my first guide, using
> gentoo-web -tools. I was inspired by xml-guide.html.
> I am not really that good into xml or even html or css, so I'm asking for
> help here:
>
> the problem is that i've included a copy/paste from kernel's 'make
> menuconfig' into my guide.
> xml dont like it (it doesn't like the <M>'s, which it thinks are incomplete
> tags).
>
> is there anyway to tell xml to ignore everything withing some specific tag?
>
> <pre> </pre> doesn't seem to help.
>
>
> thnx
> -kirill
>
>
>
>
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@gentoo.org
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev
>
--
Geert Bevin Uwyn
"Use what you need" Lambermontlaan 148
http://www.uwyn.com 1030 Brussels
gbevin@uwyn.com Tel & Fax +32 2 245 41 06
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-dev] Re: xml in gentoo documentation
2002-07-30 9:42 [gentoo-dev] xml in gentoo documentation kirill j.
2002-07-30 10:11 ` Geert Bevin
@ 2002-07-30 10:31 ` Mark Gordon
1 sibling, 0 replies; 3+ messages in thread
From: Mark Gordon @ 2002-07-30 10:31 UTC (permalink / raw
To: gentoo-dev
On Tue, 30 Jul 2002 12:42:12 +0300
"kirill j." <kirill@nuvo.fi> wrote:
> Hi!
>
> I'm currently in the process of writing my first guide, using
> gentoo-web -tools. I was inspired by xml-guide.html.
> I am not really that good into xml or even html or css, so I'm asking
> for help here:
>
> the problem is that i've included a copy/paste from kernel's 'make
> menuconfig' into my guide.
> xml dont like it (it doesn't like the <M>'s, which it thinks are
> incomplete tags).
>
> is there anyway to tell xml to ignore everything withing some specific
> tag?
>
> <pre> </pre> doesn't seem to help.
You have to replace them with things like "<M>". Here is a
snippet of perl from a utility I have that creates a web page from some
standard text input:
sub tohtml {
my $line=$_;
$line =~ s/\&/&/g;
$line =~ s/\</</g;
$line =~ s/\>/>/g;
$line =~ s/\"/"/g;
$line =~ s/\t/ /g;
$line =~ s/ / /g;
return $line;
}
HTH.
--
Mark Gordon
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-30 12:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-30 9:42 [gentoo-dev] xml in gentoo documentation kirill j.
2002-07-30 10:11 ` Geert Bevin
2002-07-30 10:31 ` [gentoo-dev] " Mark Gordon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox