Date: Wed, 24 Apr 2002 07:48:13 +0100 From: Nik Clayton <nik@freebsd.org> To: Murray Stokely <murray@freebsdmall.com> Cc: Alexey Zelkin <phantom@ark.cris.net>, doc@FreeBSD.org, nik@FreeBSD.org Subject: Re: html in xml Message-ID: <20020424074813.I30474@canyon.nothing-going-on.org> References: <20020420205539.A29136@ark.cris.net> <20020422091454.GF16322@freebsdmall.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--wG6oWOmweUVxAUPD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 22, 2002 at 02:14:54AM -0700, Murray Stokely wrote: > On Sat, Apr 20, 2002 at 08:55:39PM +0300, Alexey Zelkin wrote: > > ... > > <descr>this is a <a href=3D"http://www.host.com/">link</a></descr> > > ... > >=20 > > and xsltproc is converting it to simple text, f.e. >=20 > What does the 'a' template look like in your XSLT stylesheet? If it > is not defined, then the processor will just ignore this element (as > it should). If you would like to do something with that content, then > you'll need to write a XSLT template. What XSLT stylesheet are you > using? This is a stylesheet question, and you shouldn't wrap this > text in CDATA. You can just steal <xsl:template match=3D"a"> from www/en/news/newsflash.xsl. Although, thinking about it, I suspect we should be using namespaces for this -- this is what I get when I write prototypes while only understanding a small portion of the spec. Then your XML would look something like this: <foo xmlns:html=3D"http://.../"> ... ... <html:p> ... <html:a href=3D"http://www.example.com/"> </html:p> </foo> where "http://.../" is the URI for the HTML spec. N --=20 FreeBSD: The Power to Serve http://www.freebsd.org/ (__) FreeBSD Documentation Project http://www.freebsd.org/docproj/ \\\'',) \/ \= ^ --- 15B8 3FFC DDB4 34B0 AA5F 94B7 93A8 0764 2C37 E375 --- .\._/= _) --wG6oWOmweUVxAUPD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEUEARECAAYFAjzGVSwACgkQk6gHZCw343UsOgCcD4ut3/Zbxt2G5EFocwYaJLFC 4mgAmJPVkK2P6yEbvGfQp5ih3UkoHEY= =PQZb -----END PGP SIGNATURE----- --wG6oWOmweUVxAUPD-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020424074813.I30474>