Change in libosmocore[master]: merge_doc.xsl: move to osmo-gsm-manuals.git

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Mon Nov 12 13:07:40 UTC 2018


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/11739


Change subject: merge_doc.xsl: move to osmo-gsm-manuals.git
......................................................................

merge_doc.xsl: move to osmo-gsm-manuals.git

Allows building the manuals without the checked out libosmocore source.

Related: OS#3385
Depends: I8e7036fae062ee783cb132b14608827a82c5e7c7 (osmo-gsm-manuals)
Change-Id: Ifb81b18422987cdf36b75993d2782abf93b5f48c
---
D doc/vty/merge_doc.xsl
1 file changed, 0 insertions(+), 48 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/39/11739/1

diff --git a/doc/vty/merge_doc.xsl b/doc/vty/merge_doc.xsl
deleted file mode 100644
index d75c499..0000000
--- a/doc/vty/merge_doc.xsl
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-                             xmlns:vty="urn:osmocom:xml:libosmocore:vty:doc:1.0">
-  <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />
-
-
-  <xsl:template match="@*|node()">
-    <xsl:copy>
-      <xsl:apply-templates select="@*|node()" />
-    </xsl:copy>
-  </xsl:template>
-
-
-  <!-- Copy the name of the node -->
-  <xsl:template match="vty:node">
-    <xsl:variable name="info" select="document($with)/vty:vtydoc/vty:node[@id=current()/@id]/." />
-    <xsl:if test="not($info/vty:hide)">
-      <xsl:copy>
-        <xsl:apply-templates select="@*|node()" />
-          <xsl:for-each select="$info/*">
-	    <xsl:copy-of select="." />
-          </xsl:for-each>
-      </xsl:copy>
-    </xsl:if>
-  </xsl:template>
-
-
-  <!-- Copy command and add nodes -->
-  <xsl:template match="vty:command">
-    <xsl:variable name="info" select="document($with)/vty:vtydoc/vty:node[@id=current()/../@id]/vty:command[@id=current()/@id]/." />
-    <xsl:variable name="info_generic" select="document($with)/vty:vtydoc/vty:common/vty:command[@id=current()/@id]/." />
-    <xsl:copy>
-      <xsl:apply-templates select="@*|node()" />
-
-      <!-- Copy the specific issue... -->
-      <xsl:for-each select="$info/*">
-        <xsl:copy-of select="." />
-      </xsl:for-each>
-
-      <xsl:if test="not($info)">
-        <xsl:for-each select="$info_generic/*">
-            <xsl:copy-of select="." />
-        </xsl:for-each>
-      </xsl:if>
-    </xsl:copy>
-  </xsl:template>
-</xsl:transform>
-

-- 
To view, visit https://gerrit.osmocom.org/11739
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifb81b18422987cdf36b75993d2782abf93b5f48c
Gerrit-Change-Number: 11739
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181112/9ac1f068/attachment.htm>


More information about the gerrit-log mailing list