Last change
on this file since 106180 was 106061, checked in by vboxsync, 2 months ago |
Copyright year updates by scm.
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.3 KB
|
Line | |
---|
1 | <?xml version="1.0"?>
|
---|
2 | <!--
|
---|
3 | dita-refentry-flat-topic-ids.xsl:
|
---|
4 | XSLT stylesheet for extracting all the topic IDs from a DITA manual page.
|
---|
5 | -->
|
---|
6 | <!--
|
---|
7 | Copyright (C) 2023-2024 Oracle and/or its affiliates.
|
---|
8 |
|
---|
9 | This file is part of VirtualBox base platform packages, as
|
---|
10 | available from https://www.virtualbox.org.
|
---|
11 |
|
---|
12 | This program is free software; you can redistribute it and/or
|
---|
13 | modify it under the terms of the GNU General Public License
|
---|
14 | as published by the Free Software Foundation, in version 3 of the
|
---|
15 | License.
|
---|
16 |
|
---|
17 | This program is distributed in the hope that it will be useful, but
|
---|
18 | WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | General Public License for more details.
|
---|
21 |
|
---|
22 | You should have received a copy of the GNU General Public License
|
---|
23 | along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 |
|
---|
25 | SPDX-License-Identifier: GPL-3.0-only
|
---|
26 | -->
|
---|
27 |
|
---|
28 | <xsl:stylesheet
|
---|
29 | version="1.0"
|
---|
30 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
---|
31 | >
|
---|
32 |
|
---|
33 | <xsl:output method="text" version="1.0" encoding="utf-8" indent="no"/>
|
---|
34 |
|
---|
35 | <xsl:template match="/">
|
---|
36 | <xsl:for-each select="//topic">
|
---|
37 | <xsl:if test="position() != 1"><xsl:text> </xsl:text></xsl:if>
|
---|
38 | <xsl:value-of select="@id"/>
|
---|
39 | </xsl:for-each>
|
---|
40 | </xsl:template>
|
---|
41 |
|
---|
42 | </xsl:stylesheet>
|
---|
43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.