I have an xml file that generally looks like this:
"<row><dnorpattern>02788920</dnorpattern><description/></row><row><dnorpattern>\+
44146322XXXX</dnorpattern><description/></row><row><dnorpattern>40XXX</dnorpattern><description/></row><row><dnorpattern>11</dn... (4 Replies)
continuing from my previous post, whose link is given below as a reference
https://www.unix.com/shell-programming-scripting/171076-shell-scripting.html#post302573569
consider there is create table commands in a file for eg:
CREATE TABLE `Blahblahblah` (
`id` int(11) NOT NULL... (2 Replies)
i need to extract the string between two tags,
input file is
<PersonInfoShipTo AddressID="446311709" AddressLine1="" AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" AddressLine6="" AlternateEmailID="" Beeper="" City="" Company="" Country="" DayFaxNo="" DayPhone="" Department=""... (5 Replies)
Hello everybody,
I have a double mission with some XML files, which is pretty challenging for my actual beginner UNIX knowledge. I need to extract some strings from multiple XML files and create a new XML file with the searched strings..
The original XML files contain the source code for... (12 Replies)
Sorry for the long/weird title but I'm stuck on a problem I have. I have this XML file:
</member>
<member>
<name>TransactionID</name>
<value><string>123456789123456</string></value>
</member>
<member>
<name>Number</name>
... (9 Replies)
Discussion started by: cozzin
9 Replies
LEARN ABOUT HPUX
xmstringgenerate
XmStringGenerate(library call) XmStringGenerate(library call)
NAME
XmStringGenerate -- A convenience function that generates a compound string
SYNOPSIS
#include <Xm/Xm.h>
XmString XmStringGenerate(
XtPointer text,
XmStringTag tag,
XmTextType type,
XmStringTag rendition);
DESCRIPTION
XmStringGenerate calls the XmStringParseText function with a default parse table of entries consisting of '', which maps to Separator, and
'', which maps to Tab. Matching RENDITION_BEGIN and RENDITION_END components containing rendition are placed around the resulting
XmString.
text Specifies a NULL-terminated string containing characters of a type determined by type.
tag Specifies the tag to be used in creating the result. The type of tag created (charset or locale) depends on the text type and the
value given. If specified value is NULL, and type indicates that a charset tag should be created, then the tag will have the
value of XmFONTLIST_DEFAULT_TAG. If tag is NULL, and type indicates a locale tag, then the tag will have the value of
_MOTIF_DEFAULT_LOCALE.
type Specifies the type of text to be passed in, and the tag type. If a locale tag should be created, then type has a value of either
XmMULTIBYTE_TEXT or XmWIDECHAR_TEXT. If a charset should be created, type has a value of XmCHARSET_TEXT.
rendition Specifies the rendition tag to be used in an XmSTRING_COMPONENT_RENDITION_BEGIN component which will begin the returned string
and in an XmSTRING_COMPONENT_RENDITION_END component which will end it. If rendition is NULL, no rendition tag is placed.
RETURN
Returns a new compound string. The function will allocate space to hold the returned compound string. When the application no longer
needs the returned compound string, the application should call XmStringFree.
RELATED XmString(3) and XmStringFree(3).
XmStringGenerate(library call)