I have no problems outputting the attribute value when the node is in
context, for example, @id when an <status> node is in context.
However, I am having trouble outputting it in a <xsl:value-of />
element:
<xsl:value-of select="procres ults/settings@priori ty />
where it looks like
<procresults>
<settings priority="3" />
</procresults>
I looked through the XPath spec and didn't see anything regarding it,
I've tried using :node() and a few other modifiers with no luck.
Googling doesn't do much good as most articles are talking about the
select="" being an attribute to output instead of using select="" to
output an attribute.
Thanks for any tips,
Eric 2 1476
On Thu, 15 Jun 2006 06:55:15 +0200, <ce*****@gmail. com> wrote: <xsl:value-of select="procres ults/settings@priori ty />
Mind the slash;-)
<xsl:value-of select="procres ults/settings/@priority" />
Of course, this would only work when the context node is the parent of
'procresults'.. .
--
Joris Gillis ( http://users.telenet.be/root-jg/me.html)
Fiat W3C in tenebris
Thanks! I did try that but some of the .NET xslt errors are quite
cryptic, it was a problem elsewhere in my document as well, woops!
Joris Gillis wrote: On Thu, 15 Jun 2006 06:55:15 +0200, <ce*****@gmail. com> wrote:
<xsl:value-of select="procres ults/settings@priori ty />
Mind the slash;-) <xsl:value-of select="procres ults/settings/@priority" />
Of course, this would only work when the context node is the parent of 'procresults'.. .
-- Joris Gillis (http://users.telenet.be/root-jg/me.html) Fiat W3C in tenebris This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: yamini |
last post by:
Here I am trying to use tag files in JSP2.0 with tomcat 5.
test.jsp
-------
%@ taglib prefix="test" tagdir="/WEB-INF/tags" %>
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
|
by: Marcio DeBarros |
last post by:
Hi,
I am using JDOM to create and validate XML document in a Java app. for
the first time, and am getting the error above when I am validating a
document with SAXBuilder with the following DTD:
<?xml version="1.0" encoding="utf-8" ?>
<!-- DTD for a user definition file -->
<!ELEMENT user (username, password, email?)>
<!ATTLIST user id ID #REQUIRED>
|
by: mike |
last post by:
regards:
<a href="JavaScript:loadwindow(106,90);"
style="font-family:Verdana;">元智Intranet</a>
In HTML spec,are "href" and "style" called "attribute"?....@@
Could someone good give me the hand? @@.
thank you
may god be with you
|
by: serge |
last post by:
Using "SELECT * " is a bad practice even
when using a VIEW instead of a table?
I have some stored procedures that are
identical with the difference of one statement
in the WHERE clause. If I create a single View
and specify also in this View the WHERE clause
that is common in these stored procedures, I
will have the new stored procecures changed to
be like:
|
by: Andrew McNab |
last post by:
Hi folks,
I have a problem with an MS Access SQL query which is being used in an
Access Report, and am wondering if anyone can help.
Basically, my query (shown below) gets some records from a couple of
tables in my database using INNER JOINS and the WHERE clause to
specify the required constraints. However, I also want to read two
fields from a *single* record from a table called 'Locations' and then
apply one of these field's values...
| |
by: ajikoe |
last post by:
Hello,
I used Visual C# Standard Edition.
I want to comment my program using xml commentary method,
I don't know why if I use value and example tag, it is not working / showed in the html result.
for example I have Property
///<value>this is in description</value>
///<example>this is in Example</example>
public int A{
|
by: bill salkin |
last post by:
The code below creates a dataset containing a table
called "Customers" from the Northwind database
Later on in my code, after the database connection is
closed, I need to access this dataset to get all
records with "ContactTitle" = 'Owner' and "City"
= 'London'.
I have tried using the SELECT and Find methods of dataset
techbnology but I can't make them work with multi-
criteria queries.Help!
|
by: Steven T. Hatton |
last post by:
I'm trying to improve my formal understanding of C++. One significant part
of that effort involves clarifying my understanding of the vocabulary used
to describe the language.
This is from the C++ Standard:
""
"...sequence of operators and operands that specifies a computation...".
That means to me that an expression can be "executed". I am purposely
|
by: n8kindt |
last post by:
how do i suppress the outputting and printing dialog boxes that pop up while running vba code such as:
DoCmd.OpenReport "Report1"
or
DoCmd.OutputTo acOutputReport, "Report1", acFormatPDF, Filename, False
i tried a suggestion to use this code i found on another website:
Option Compare Database
Option Explicit
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |