From: "avl@l14.ru" <avl@l14.ru> To: ALT Devel discussion list <devel@altlinux.ru> Subject: [devel] Как узнать правильные dtd и xsl для данного xml Date: Mon, 07 Jul 2003 13:35:02 +0400 Message-ID: <3F093EC6.3050902@l14.ru> (raw) В пакете есть xml, который перегоняется в html и man с помощью соответствующих xsl ну и валидация тоже присутствует. Проблема в том, что для разных версий пакетов docbook-dtds и docbook-style-xsl пути к этим dtd и xsl разные, а они зашиты в абсолютном виде в xml-файл. ------------------------- <?xml version="1.0" standalone="no"?> <?xml-stylesheet href="to_html.xsl" type="text/xml"?> <!-- vim: set sw=1 sts=1 : --> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd"> ------------------------- <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:import href="/usr/share/xml/docbook/xsl-stylesheets-1.60.1/html/docbook.xsl"/> --------------------------- <?xml version="1.0" encoding="iso-8859-15" standalone="no"?> <?xml-stylesheet href="to_html.xsl" type="text/xml"?> <!-- vim: set sw=1 sts=1 : --> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "/usr/share/sgml/docbook/dtd/xml/4.1.2/docbookx.dtd"> ---------------------------- В этих путях даже версии пакетов есть! Обозреваю три компьютера и имею три варианта. Как то можно создать универсальный вариант или на ходу патчить под ту версию, которая стоит в системе?
next reply other threads:[~2003-07-07 9:35 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-07-07 9:35 avl [this message] 2003-07-07 9:39 ` avl 2003-07-07 9:45 ` [devel] Re: Как узнать правильныеdtd и xsl для данногоxml Anton V. Boyarshinov 2003-07-07 11:01 ` Vitaly Ostanin 2003-07-07 9:52 ` Vitaly Ostanin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=3F093EC6.3050902@l14.ru \ --to=avl@l14.ru \ --cc=devel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git