6,049 Topics

Member Avatar for
Member Avatar for bertm81

Hey All, am looking for a way to break an xml Tag line into tag and attributes. Say I have This line [code=xml] <event time="12:30" value="This is a Sample Value" type="event"> </event> [/code] I have this so far [code=python] # Open file to read f=open("myTest2.xml") #start reading File for line …

Member Avatar for bertm81
0
204
Member Avatar for ShadyTyrant

Hello I have a web site called shadygames. I want to make sure that all the information is filled out in a contact form I have set up. I am using ajax to update the page if more information is required by the user. I have the email validation working …

Member Avatar for McLaren
0
171
Member Avatar for SBA-CDeCinko

The code below works, but is too complex, I'd like to simplify it. How can I make the select portion conditional or how can I use a variable in the select? [CODE] <xsl:choose> <xsl:when test="count(current()/child::* [@isDoc and string(umbracoNaviHide) != '1']) &gt; 0"> <xsl:for-each select="$currentPage/self::* [@isDoc and string(umbracoNaviHide) != '1']"> <h3> …

Member Avatar for xml_looser
0
107
Member Avatar for muhile

here is my xml file i need help in creating an XSLT file to display it as HTML i a browser, the resulting output should deal with as many jobs as are returned and be simpla and clear to view in a table structure [CODE]<?xml version="1.0" encoding="UTF-8"?> <!--XML for XSLT--> …

Member Avatar for xml_looser
0
189
Member Avatar for hypeh

Hi guys, My C# programming is quite basic, and i would like to note, i have tried a few tutorials on reading XML and creating my program. i have done as much as i can understand so far, and so i am hoping someone could maybe explain to me how …

Member Avatar for hypeh
0
190
Member Avatar for glfnute

Still fairly new to XSLT would like to ask for some expert direction on how to solve what I think should be easy, just not for me ... I am parsing several different input sources to output one result XML structure. During the parsing, I am doing some pre-checks and …

-1
323
Member Avatar for himit

Hi, I need the name of the XML tabs. I'll use an example to explain what i want. XML- <?xml version="1.0" encoding="ISO-8859-1"?> [CODE] <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> <price>9.90</price> <year>1988</year> </cd> <cd> <title>Greatest Hits</title> <artist>Dolly …

Member Avatar for xml_looser
0
157
Member Avatar for pragati_2010

I have a csv file and i want to convert the same in Xml tree structure can some one tell me how is that possible the xml structure will have many child element as below: <parents> <child> <name1/> <name2/> </child> <child> <name1/> <name2/> </child> </parents>

Member Avatar for d5e5
0
141
Member Avatar for RobbertKeesing

Hi all, At my work I've been stuck for several days on a (probably in the end very simple) problem concerning XSL(T) [B]1.0[/B] and XPATH [B]1.0[/B]. This because I have very little experience with XSLT and XPATH and also I don't have very good tooling: I use Visual Studio 2010 …

0
64
Member Avatar for nihan1

how to create basic template mxml page as ajax in flex I want to create that page is portable for other pages as a template /main page how can ı do this? ı want that main mxml page is useful for everywhere .For example in AJAX, the pages are storing …

0
102
Member Avatar for nihan1

[B][B]how to create basic template mxml page as ajax in flex I want to create that page is portable for other pages as a template /main page how can ı do this? ı want that main mxml page is useful for everywhere .For example in AJAX, the pages are storing …

0
98
Member Avatar for ankit.pandey3

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-us"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Language" content="en-us" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="date" content="2003-12-02T09:54:03+08:00" /> <meta http-equiv="imagetoolbar" content="no" /> <title>Dynamically enlarge image on mouseover and mouseout</title> <style type="text/css"> body {margin:64px;} #apDiv3 { …

Member Avatar for Taywin
0
144
Member Avatar for arjunpk

hi... i have given a code snippet below... though i check for nullability before i do the actual processing... it still throws an unhandled exception..... is there a way to handle this other than filling my code with try catch blocks.... [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using …

Member Avatar for arjunpk
0
146
Member Avatar for senthilamp4

Hi Experts, Here i am trying to create a script for Auto Back up script to Back up files. files are taking a back up with help of archive zip module along with mentioned the date in corresponding Folder name. Here i am create one xml file for daily updation. …

Member Avatar for k_manimuthu
0
236
Member Avatar for blondie.simon

Hello I have written a piece of code that works fine on my computer and all other computers that I have tried it on when running XP. I have tried it on a few machines running vista and they have all worked fine but one of my customers is running …

Member Avatar for karthiyayiniyp
0
215
Member Avatar for bhanu1607

hi, Can any one tell me How to get url or uri from address bar dynamically in XSLT... It will helps me a lot. Regards Bhanu.

Member Avatar for iceandrews
0
109
Member Avatar for infinitus

i'm having problems displaying XML. When i remove 3rd line i got error(that on line 5 is an extra bit, that is wrong...), and when i keep 3rd line i cant see anything when displaying it on website.. :( i'm not a XML pro so help would be appreciated [CODE]<?xml …

Member Avatar for xml_looser
0
178
Member Avatar for MasterGberry

I am disassembling an exe file trying to find out how some parts of it work so we can make an easier modification then the current system works (which is just copy and overwriting files). I found some functions in there that refer to a MPGameSetupPage.cpp (which obv i can't …

Member Avatar for VernonDozier
0
182
Member Avatar for lianpiau

in visual studio 2008 C#, I'm using Developer Express v2010 v10.2.4 to develop a form. when I run the form in other pc, It pop out a message(look at pic in attach).Run in my develop pc is OK. Detail message is See the end of this message for details on …

Member Avatar for lianpiau
0
161
Member Avatar for ady_1

Tried running ant on some example source and keep getting this error.. Does anyone know as I'm assuming i'm maybe missing the ejb libs but am pointing to the glassfish/jdk which should have them? I also thought JSE compiles JEE code? thanks. [CODE]Z:\My Desktop\ejb3-samples\chapter1>ant Buildfile: Z:\My Desktop\ejb3-samples\chapter1\build.xml common: [echo] BuildName: …

Member Avatar for ady_1
0
125
Member Avatar for smandape

Hello Seniors, I am trying to extract an element from a string using the delimiter ';' in case it is in the middle of the string or nothing if it is the only element in the string..i am coding a generalized code that can extract the element from any such …

Member Avatar for smandape
0
116
Member Avatar for eng.mina

hello every one i was looking for some help in this php code i have php code for gallery flash required file >> data.php to show pic and thumbs and categories can any one help me in the code if there was some thing wrong [CODE]<? include('init.php'); define('LF', chr(10)); print …

Member Avatar for eng.mina
0
195
Member Avatar for lttleastig

He guys when i execute this stored procedure by right clicking on it and press execute then entering a value for PW i get a NULL value returned any idea why? [CODE]USE [DR2_Member] GO /****** Object: StoredProcedure [dbo].[up_php] Script Date: 02/26/2011 18:26:34 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON …

Member Avatar for BitBlt
0
178
Member Avatar for jrosh

I want to create a j2me app with some pleasing UI. I tried polish but I didn't worked well, what are the other options I have? I am looking for SVG. But I am not comfortable with xml. please help me with this. than you

Member Avatar for jrosh
0
161
Member Avatar for standa333

Hi, i need help with xsl document. I want to create xsl document, where header of invoice will be join items of invoice. In my document is separated and i don´t know how to do it. For example, i want that number of proof has items and then continue with …

Member Avatar for standa333
0
123
Member Avatar for Grand666

hey guys, I am using Acronis True Image at my job and recently I tried to do a universal restore on a new computer with the old one's image. The restore failed and I think it was the new computer's motherboard that was bad, but anyway.....I tried to look for …

Member Avatar for Adamjjj
0
849
Member Avatar for leiger

Hey everyone, Usually when I create a Java application I will use the built-in Preferences class to save user preferences. I believe this saves user information to the registry on Windows, and to other locations on Linux / Mac OS X. When I need to store a serialised object, I'm …

Member Avatar for leiger
0
187
Member Avatar for javaProgramer

Hi all, I have simple web application which use Form base authentication, it is running well on the local server however when I upload it to my space on remote server there is a mistake appears when I try to access to protected area. message of error: [CODE] Not Found …

0
53
Member Avatar for agriz

Hi, I am trying fsockopen in localhost. I am trying to access live server file. I have created two files in live server. 1) Dynamic PHP file which produce XML 2) Static XML file Now, Once the fsockopen connection is success and i am trying to get the dynamic xml …

0
57
Member Avatar for waqar100

I want to know the best practice & approach to insert the data of gridview on button click which located below the GV actually i Selected some rows by check boxes then I want to save it on DB? by xml by looping etc,, which method is best

0
87
Member Avatar for jrosh

I am trying to connect a database through a web service in j2me. But it constantly give me this error massage. javax.xml.rpc.JAXRPCException: java.io.IOException: error 10054 during TCP read Where should I look for the problem. J2me code? database connectivity or the connection? please help

Member Avatar for Hakoo
0
65
Member Avatar for fugmag

Hello, I am trying to validate a response from a webservice that contains 3 tables with the same name: [CODE] ... <SUBTABLE3> content </SUBTABLE3> ... <SUBTABLE3> content </SUBTABLE3> ... <SUBTABLE3> content </SUBTABLE3> ... [/CODE] I am using the example on: [url]http://www.soapui.org/Functional-Testing/xpath-and-xquery-assertions.html[/url] The problem, the way I see it is when …

Member Avatar for fugmag
0
616
Member Avatar for lisha.ahuja

Hi Friends, -The current connector for accepting request to our existing system is written in C language,we had build a ".so" file by compiling c program using MF cobol. -Cobol application calls this ".so" files and passes the required buffer.The current data structure in our application is simple string. -Now …

0
45
Member Avatar for lianpiau

object reference not set to an instance of an object I'm develop a C# window form application in VS2008. when run the exe file in PC. It come out message box.(object reference not set to an instance of an object). When I change the connection string to normal style like …

Member Avatar for lianpiau
0
397
Member Avatar for moonL!ght

hi,im going crazy im introduced to the basics of xhtml and when i tried to insert an image it dosent appear in the browser i have checked the code 100 times nothing seems wrong thie is the simple code [CODE] <?xml version="1.0" enconding="UTF-8"?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional …

Member Avatar for fpsasm
0
144
Member Avatar for McFae

I'm stuck on this project and not sure what's going wrong. I need to return the temp conversion of a users input on click. Any help would be appreciated. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Temperature Converter</title> <script type = "text/javascript"> <!-- …

Member Avatar for McFae
0
107
Member Avatar for gleb

I have read lots of Xpath tutorials but don't know how to query a xml document. So I have an XML document and a query like this /bookstore/book/title How do I conduct the search? Sorry if this question is badly phrased but I am very confused.

Member Avatar for iceandrews
0
109
Member Avatar for arajpurohit

Hi, I am a novice in XSLT. Just started reading about it today and came across few of the tags. Can you help in creating the XSLT for the following transformation.. [CODE] <A> <B> <C> Hello </C> <B> <B> </B> </A> I need to convert this into: <A> <B> <C> …

Member Avatar for iceandrews
0
90
Member Avatar for 303factory

Hi, I was wondering if it is possible to reverse the way my enum variables work In our storage XML Files all the data is stored as integers, which I want to translate into strings using a lookup table. I thought enums would be perfect for this but I can't …

Member Avatar for 303factory
0
112
Member Avatar for chriselectrix

Hi I have to XML files and two XSL and HTML documents. I have a 'master' xml file, but I also have a 'slave'. I cant edit the xml files as they are automatically exported from a software package. Table 1 (master) contains e.g.: Master Job Master Part Qty Child …

Member Avatar for chriselectrix
0
404
Member Avatar for anilsambasivan

Hi, I have created an application to send data from WCF server application to my client side application. For this I have added a custom serialization instead of the default serialization. And now its sending data to the client as stream and I am able to de-serialize the object back …

Member Avatar for anilsambasivan
0
143
Member Avatar for cyiu1110

My aim is getting client's AD login ID for authentication. I tried to use <%String remoteUser=request.getRemoteUser();%> but it returned null value. Actually, I have found a way to solve it from the internet. And it is about doing something on tomcat's file "\conf\server.xml". However, there is no clear step describing …

0
105
Member Avatar for Krstevski

Hello friends, I try to rewrite links with htaccess, but the server does not change the links. I want, e.g.. the link [url]www.example.com/index.php?option=com_content&view=section&id=7&Itemid=54[/url] To be: [url]www.example.com/cat/7/Item_54[/url] (Or something similar). My .htaccess file is: [CODE] ## # @version $Id: htaccess.txt 13415 2009-11-03 15:53:25Z ian $ # @package Joomla # @copyright Copyright …

Member Avatar for g1smd
0
463
Member Avatar for Asen

Hi everyone, I'm complete newbie in spring framework especially in xml based on AOP. I really don't know about what is interceptorNames, MappedNames, pointcut and else for what did they use for. Please explain to me for what the xml code's work flow do below. I got it from my …

Member Avatar for Asen
0
160
Member Avatar for thijscream

i'm having 2 select boxes, if i change the first one i would like a 2nd select box to change the content, everything is comming from a database. not xml because i want everything to be stored in a database for. is this possible with an onchange command or something? …

Member Avatar for thijscream
0
116
Member Avatar for amithlaxman

I have an XSD here. [CODE] <?xml version="1.0" encoding="ISO-8859-1" ?> - <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> - <xs:element name="shiporder"> - <xs:complexType> - <xs:sequence> <xs:element name="orderperson" type="xs:string" /> - <xs:element name="shipto"> - <xs:complexType> - <xs:sequence> <xs:element name="name" type="xs:string" /> <xs:element name="address" type="xs:string" /> <xs:element name="city" type="xs:string" /> <xs:element name="country" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> …

0
86
Member Avatar for mmmathur

Hi All I am new to XSLT development and have stuck at simple but essential point. I want to remove the content which is in between two specific comment tag <!--E-->Text which need to remove<!--/E--> I do try with the given below code [CODE]<xsl:template match="comment()"> <xsl:text disable-output-escaping="yes">&lt;</xsl:text><xsl:value-of select="."><xsl:text disable-output-escaping="yes">&gt;</xsl:text> </xsl:template> …

Member Avatar for mmmathur
0
635
Member Avatar for Joshua Kidd

Hello all, In the game microsoft flight simulator X, there are guages called "XML Guages" and there is a picture of the guage and an XML file which it reads from. What I am wanting to know for VB.NET is: Is there any way to implement this into my program? …

0
59
Member Avatar for 54uydf

Hey guys! I'm really hoping to get some help that will help me to take the first step with my project- I'm working on a web system. where I'm stuck is that my database needs to get all the data from a SAP ERP system that is used in the …

0
66
Member Avatar for jaango123

Hi all, Could you please let us know the best way to do the below validation in xslt we are reading card number using an xpath expression <xsl:value of select ="/*/*/*/cardnumber" /> from input. It is a string of 19 characters. we would like to include a check which will …

Member Avatar for iceandrews
0
134

The End.