Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to use xml_grep to get the value of an attribute? Post 302756547 by pistach on Wednesday 16th of January 2013 05:23:11 AM
Old 01-16-2013
How to use xml_grep to get the value of an attribute?

I'm using xml_grep command to get the value of different tags in a xml-file.
No i also need the value of an attribute in a tag.
Can I use xml_grep for this? Does anybody know how?
ex. :
Code:
 
<Name xmlns:xsi="http://www.w3.org/2001/XMLinst" xsi:spaceSchema="Name_5879.xsd">
...
</Name>

I need the value of xsi:spaceSchema > Name_5879.xsd

Last edited by Scott; 01-16-2013 at 11:30 AM.. Reason: Please use code tags. NOTE: I added a missing < before /Name>
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

File Created On attribute

Hi, I need to find out when a file has been created. 'ls -l' just lists the last date the file was modified. I have also noticed when viewing the attributes through NT, the last modified date is the same as the file creation date. I thought maybe this was a fault due to samba. I guess what... (1 Reply)
Discussion started by: dpalmer
1 Replies

2. Linux

File attribute Help please

Could anyone help i have a question that i have a problem with for my home work it is, How do i change file permissions in a command line enviromet thanx (1 Reply)
Discussion started by: Cube3k
1 Replies

3. Shell Programming and Scripting

Dynamic Attribute Changes

Hello , I am stuck out in a part of my script, though I am trying it through a script of loops but i emphasis on having a short code : Input file has Attribute values changing with time Date Monday October 30 10:22:56 IST 2006 object values references Date ... (8 Replies)
Discussion started by: er_aparna
8 Replies

4. Red Hat

Password Attribute

Hello Friends , Where do i check the following settings in redhat ? 1. Minimum required number of characters in the password (passwordMinLength) 2. Minimum number of digit characters, meaning numbers between zero and nine (passwordMinDigits) 3. Minimum number of ASCII alphabetic... (2 Replies)
Discussion started by: avklinux
2 Replies

5. AIX

login attribute settign

Dears i need some assistance in implementing following scenario, as per audit observation we have restrict remote log in of specific users after official hours by clients, but the same user needs to be log in from LFT console round the clock(or any time after logout,because certain application... (1 Reply)
Discussion started by: m_raheelahmed
1 Replies

6. Linux

Unable to get terminal attribute!

Hi, I'm using scli (Command line utility) to retrieve the information about qlogic HBA and I want to redirect the information to text file. * While execution I'm getting the following warning "Unable to get terminal attribute!" How to avoid that ? because of this "Unable to get terminal... (3 Replies)
Discussion started by: shausy
3 Replies

7. Solaris

Solaris Attribute Problems

When I modify the file attributes of files and run a ls -l to view the changes everything looks correct, however when I run the init 6 to reboot the server the file attributes devert back to the origininal read only permissions. Any help would be appreciated (2 Replies)
Discussion started by: jimcz2it
2 Replies

8. Solaris

ldapclient can not modify attribute

Hello, We have one Solaris 10 machine which has three LDAP servers configured. We want to remove one of them. I tried below ldapclient command however no change is made. ---------------------------------------------------------------------- ldapclient mod -a "defaultServerList=10.149.9.20... (0 Replies)
Discussion started by: alfa_w
0 Replies

9. Red Hat

(.) at the end of file attribute.

Hi Linux Experts, I am using RHEL 6.4, on checking I identified some files ends with the file attribute like dot (.) at the end. Whereas, I checked with the same level of other servers and I don't identify dot(.) at the end of file attribute. Why is it so? is there any meaning for it. ... (3 Replies)
Discussion started by: gsiva
3 Replies

10. Shell Programming and Scripting

How to change a PS attribute?

Hi, i want to list all system processes showing the attributes pid, user name, cpu consumption, and the difference between the resident memory and the swap memory needed to stock the process in case of suspending it. i have two questions, the resident memory is the attribute size i think,... (4 Replies)
Discussion started by: Eskizoide
4 Replies
wml::std::page(3)						     EN Tools							 wml::std::page(3)

NAME
wml::std::page - Standard HTML Page Header and Footer SYNOPSIS
#use wml::std::page <page [attributes]> [<page_end>] <head>...</head> <title>...</title> DESCRIPTION
This include file provides the new "<page>" tag which is a advanced combination of the HTML "<body>" and "<head>" container tags. The idea is to provide complete header and footer tags via one single tag while providing new features like page indentation, easy title specification and setup of default values for the page colors. ATTRIBUTES
"title" This is a shorthand for the container tag "<title>". The value of this attribute is placed in the "<head>" section of the page, surrounded with the "<title>" tag. "indent" This sets the indentation level of the page in units of "<blockquote>"'s. Default is no indentation. Setting "indent" to a value of N means the page is surrounded by N "<blockquote">> tags. The attribute "indent=1" or "indent=2" usually provides the best readable layout. "background" This just corresponds to the same attribute of the "<body>" tag and sets the background image. This is per default not used. "bgcolor" This just corresponds to the same attribute of the "<body>" tag and sets the background color. Default is "bgcolor="#ffffff"" (white). "text" This just corresponds to the same attribute of the "<body>" tag and sets the text color. Default is "text="#000000"" (black). "link" This just corresponds to the same attribute of the "<body>" tag and sets the normal hyperlink color. Default is "text="#333399"" (medium blue). "alink" This just corresponds to the same attribute of the "<body>" tag and sets the color for activated hyperlinks. Default is "text="#9999ff"" (light blue). "vlink" This just corresponds to the same attribute of the "<body>" tag and sets the color for already visited hyperlinks. Default is "text="#000066"" (dark blue). "color" When setting "color="none"", the five previous attributes are not put into the "<body>" tag. "onload" This just corresponds to the same attribute of the "<body>" tag and sets a JavaScript even handler which is activated after page was loaded. This is per default not used. "info" This automatically puts a "<info style=meta>" tag into the "<head>" section of the page. See wml::std::info(3) for more details. "slices" This enables the creating of three slices: "WML_STDPAGE_HEAD", "WML_STDPAGE_BODY" and "WML_STDPAGE_FOOT". These can be used later in Pass 9 (Slice) for cutting out parts of the page. :html:ATTR=STR :body:ATTR=STR The ``ATTR=STR'' pairs are passed along to the "<html>" and "<body>" HTML tags. OTHER COMMANDS
This module implements two new macros, called "<title>"..."</title>" and "<head>"..."</head>". The first one defines the title of the page, and the second appends its body into the HEAD section of the HTML documents. Its main purpose is to add meta-tags, either directly or with the help of wml::std::info(3). AUTHOR
Ralf S. Engelschall rse@engelschall.com www.engelschall.com REQUIRES
Internal: P1, P2, P5 External: -- SEE ALSO
HTML "<head>", "<body>" and "<title>" tags; wml::std::info(3) EN Tools 2014-04-16 wml::std::page(3)
All times are GMT -4. The time now is 06:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy