To search for a particular tag in xml and collate all similar tag values and display them count
I want to basically do the below thing. Suppose there is a tag called object1. I want to display an output for all similar tag values under heading of Object 1 and the count of the xmls. Please help
Hi All,
I'm trying to extract the values for the 'src' and 'alt' tags within an xml file. In the files that I'm searching, the tags are always enclosed within an 'img' tag. Typically:
<img src="diwiz01.gif" width="576" height="254" alt="Out-of-process and In-process COM Objects"><bookmark... (3 Replies)
Hi All,
I am new to Unix I need a KSH script to get the values from XML file to write to a temp file.
Like the requirement is from the below TAG
<MAPPING DESCRIPTION ="Test Mapping" ISVALID ="YES" NAME ="m_test_xml" OBJECTVERSION ="1" VERSIONNUMBER ="1">
I need the MAPPING DESCRIPTION... (3 Replies)
Hi All,
Find the following code:
<Universal>D38x82j1JJ
</Universal>
I want to retrieve the value of <Universal> tag as below:
Please help me. (3 Replies)
Find out values between xml tag
.......
ABC><name></ABC><xyz>test</xyz>..here some other tag... <ABC><NUMBER></ABC><xyz>12345</xyz>....
.......
I want to take between bewtween ABC><NUMBER></ABC><xyz> to </xyz> that is 12345 (3 Replies)
I want to print from <fruits> to </fruits> tag which have <fruit> as mango. Also i want both <fruits> and </fruits> in output. Please help
eg.
<fruits>
<fruit id="111">mango<fruit>
.
another 20 lines
.
</fruits> (3 Replies)
Hi Guys
Here is my Input :
<?xml version="1.0" encoding="UTF-8"?>
<xn:MeContext id="01736">
<xn:VsDataContainer id="01736">
<xn:attributes>
<xn:vsDataType>vsDataMeContext</xn:vsDataType>
... (12 Replies)
Hi All,
I am working with a XML file.
Below is part for the file.
<Emp:Profile>
<Emp:Description>Admin</Emp:Description>
<Emp:Id>12347</Emp:Id>
</Emp:Profile>
<Emp:Profile>
... (7 Replies)
Hi All,
I'm new to sed.
In following XML file
<interface type='direct'>
<mac address='52:54:00:86:ce:f6'/>
<source dev='eno1' mode='bridge'/>
<model type='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
... (8 Replies)
Greetings all,
I have an XML file that is being generated from my application, here is a sample of the first tag (That I am trying to remove and display in a list..)
Example-
<tag one= "data" data="1234" updateTime="1300">
<tag one= "data1" data="1234" updateTime="1300">
<tag... (5 Replies)
Hi Forum.
I have an XML file with the following requirement to move the <AdditionalAccountHolders> tag and its content right after the <accountHolderName> tag within the same file but I'm not sure how to accomplish this through a Unix script.
Any feedback will be greatly appreciated.
... (19 Replies)
Discussion started by: pchang
19 Replies
LEARN ABOUT OSF1
xmfontlist
XmFontList(3X)XmFontList(3X)NAME
XmFontList - Data type for a font list
SYNOPSIS
#include <Xm/Xm.h>
DESCRIPTION
XmFontList is the data type for a font list. A font list consists of font list entries, each of which contains a font or a font set (a
group of fonts) and is identified with a tag. The font list entry tag is optional; if NULL, the tag is set to XmFONTLIST_DEFAULT_TAG. The
value of XmFONTLIST_DEFAULT_TAG is "XmFONTLIST_DEFAULT_TAG_STRING".
When a compound string is displayed, the font list element tag of the compound string segment is matched with a font list entry tag in the
font list and the matching font list entry is used to display the compound string. A font list entry is chosen as follows: The first font
list entry whose tag matches the tag of the compound string segment is used. If no match has been found and if the tag of the compound
string segment is XmFONTLIST_DEFAULT_TAG, the first font list entry whose tag matches the tag that would result from creating an entry with
XmSTRING_DEFAULT_CHARSET. For example, if creating an entry with XmSTRING_DEFAULT_CHARSET would result in the tag "ISO8859-1", the compound
string segment tag XmFONTLIST_DEFAULT_TAG matches the font list entry tag "ISO8859-1". If no match has been found and if the tag of the
compound string segment matches the tag that would result from creating a segment with XmSTRING_DEFAULT_CHARSET, the first font list entry
whose tag is XmFONTLIST_DEFAULT_TAG is used. If no match has been found, the first entry in the font list is used.
The font list interface consists of the routines listed under SEE ALSO.
Font lists are specified in resource files using the following syntax:
resource_spec: font_entry [ , font_entry ]+
The resource value string consists of one or more font list entries separated by commas. Each font_entry identifies a font or font set,
and an optional font list entry tag. A tag specified for a single font follows the font name and is separated by = ; otherwise, in a font
set the tag is separated by a colon. The colon is required whether a tag is specified or not. A font entry uses the following syntax to
specify a single font:
font_name [ '=' tag ]
For example, this entry specifies a 10 point Times Italic font without a font list entry tag. *fontList: -Adobe-Times-Medium-I-Nor-
mal--10*
A font entry containing a font set is similar except a semicolon separates multiple font names and the specification ends with a colon fol-
lowed by an optional tag.
font_name [ ';' font_name ]+ ':' [ tag ]
A font_name is an X Logical Font Description (XLFD) string and tag is any set of characters from ISO646IRV except space, comma, colon,
equal sign and semicolon. An example of a font set entry is given below. It consists of three fonts (except for charsets), and an
explicit font list entry tag. *fontList : -Adobe-Courier-Bold-R-Normal--25-180-100-100-M-150;.nL
SEE ALSO XmFontListAdd(3X), XmFontListAppendEntry(3X), XmFontListCopy(3X), XmFontListCreate(3X), XmFontListEntryCreate(3X), XmFontListEntryFree(3X),
XmFontListEntryGetFont(3X), XmFontListEntryGetTag(3X), XmFontListEntryLoad(3X), XmFontListFree(3X), XmFontListFreeFontContext(3X),
XmFontListGetNextFont(3X), XmFontListInitFontContext(3X), XmFontListNextEntry(3X), XmFontListRemoveEntry(3X), XmString(3X)XmFontList(3X)