i have a xml document, a xpath.
How can i write my xpath so that it returns only distinct value like "select distinct ..." in sql.
for example:
returned value from xpath:
<node a='a' />
...
I'm trying to figure out the best way to rename an element and all of its children. For example, I would like to prepend or append arbitrary text to distinguish the node (and its children) for...
Hi all,
I have a php script that creates a xml document with data from a database.
The script is working beautiful but the encoding is a mess.
The data in the database has got the right e...
Hello,
I use XSL to retreive information from a database and put them into a table. I would like to know a way of alternating the table row background colors like the ones they do in online ...
hi guys,
Please help me I have a problem encountered about the set up of SOAPclient. I already install the SOAP toolkit on my server.
I have this code in asp:
<%
S...
I have a template in an XSL file to generate my search box on my sites web pages. I'm replacing the legacy search option code within the template with Google Custom Search code. Part of the Go...
Hi,
I am working a XSLT version 1.0 style sheet, I tried the translate function, which works great. When I try to use the replace function, I got error "Problem: xmlXPathCompOpEval: functio...
' This is the code:
Dim DataToSend
DataToSend = (Request.BinaryRead(Request.TotalBytes))
Set objSXH = Server.CreateObject("MSXML2.ServerXMLHTTP.4.0")
objSXH.open "POST", "https://mer...
Hello,
I have been trying to increment a variable within the for loop, but with little success.
I have provided the code snippet.
Currently I have the following:
id="<xsl:value-of sele...
In VB.Net Win Forms Application....
Is it posible to populate a dropdownlists value and text fields with data from XML,
so my list will show the text but i can return the value. i have don...
I found the below XSLT and XML examples to transform XML and output multiple files. However, it appears that only the Saxon parser can handle this syntax, because when I use Internet Explorer...
Here's my code, simple enough:
<html>
<head>
<script type='text/javascript' src='http://www.google.com/jsapi?key=ABQIAAAAoN9kM0QqONCLIWU4yHeIJhSgG_jKAmzdssu2U-M8Edy2G0i_1hSCzKKxGUYV0SPX...
I have an XML document with the following fragment:
<common_name common_name_id="600">ST.JOHN'S WORT</common_name>
The XML fragment contains ' I use XSLT to translate the XM...
Greetings,
How can I get the equivelant code to work in non-Microsoft browsers (Mozilla, Opera, etc...)?
<html>
<body>
<script type="text/javascript">
// Load XML
var xml = new Acti...
Hi, i have this node
<answer text="c. 2+2\<4."></answer>
i need to use the mathematical notation for less than - how to I do this?
ta.
blu.
I have the following xsl code that correctly displays the value of the databse field rbm_flg (1 or 0) in a checkbox on my form.
However if I check or uncheck the box and resubmit the form,...
Hi
Format-number does not add leading zeros for numbers 0<n<1
<xsl:value-of select="format-number(someNode, '#####.##')"/>
someNode Output
123.1230001 123.12
0.900 ...
I'm trying to import an xml file into ms access. I've opened successfully one of the files I need to import in ms excel and the table that comes out is perfect. Now the problem is that with so...
Hey Experts,
I need to code uses nested xmlagg functions to nest my xml output of an xmltype view query I wrote in PL/SQL. The XMLAGG function should start at the (XMLELEMENT("document",)) ...
I have an XML that throws an error when I try to open in XML Editor. Here is the full error:
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refres...
Hi All
Ive got an xml transformation into xhtml which starts....
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xm...
Hello
I need to get the position of the ancestor when i am in a grand-child.
Say i am in <item2> within the <submenu>
I need to go a find the position of its <item1>
How do i do this?
<...
Error Type:
msxml4.dll (0x80070005)
Access is denied.
/test/test.asp, line 70
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
set objSrvHTTP = S...
I have the following string which get's output to an xml element:
"Copyright © 2006 ..."
The problem is, I use a conversion function to escape the xml illegal characters, so then it...
Hi
If I have an xml docuemnt like
<a>
<b c="5">
<b c="2">
<b c="3">
<b c="1">
<b c="4">
<b c="7">
<b c="6">
</a>
How do i write a select nodes statement that returns th...