3,634 Topics

Member Avatar for
Member Avatar for myrto1412

Sorry if the question is naive, I am new at this. I am trying to transform an xml document using xslt, with saxon. When I try to run my code I get this error: SERE0014: Illegal HTML character: decimal 153 After searching for a bit I discovered that the error …

Member Avatar for rduke15
0
482
Member Avatar for kdesu

Hi, My issue with xml is, I have an xml like <a><b><c><d1 value="x" weight="10"/> <d2 value="y" weight="20"/> <d3 value="z" weight="30"/> </c></b></a> I need to conver this xml to, <a><b> <c><d1 value="x" weight="10"/> <d2 value="y" weight="20"/> </c> <d3 value="z" weight="30"/> </b> </a> I need move specific "d3" element (with all attributes) …

Member Avatar for kdesu
0
1K
Member Avatar for changeco

I have the following code in my xsl file... [code]<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp " "> <!ENTITY copy "©"> <!ENTITY reg "®"> <!ENTITY trade "™"> <!ENTITY mdash "—"> <!ENTITY ldquo "“"> <!ENTITY rdquo "”"> <!ENTITY pound "£"> <!ENTITY yen "¥"> <!ENTITY euro "€"> <!ENTITY amp "&"> ]> <xsl:stylesheet …

Member Avatar for changeco
0
357
Member Avatar for kained

Hi, I am trying to get a Javascript working in an XSL document and i can't seem to make it work for some reason. I have placed the following code within the head of my document. [CODE] <msxsl:script language="JScript" implements-prefix="user"> <![CDATA[ function popup(mylink, windowname) { if (! window.focus)return true; var …

Member Avatar for kained
0
159
Member Avatar for charlybones

Hello all, I'm writing a small "robot" application that has to process a list of sequentially numbered MDB files. This has to be done between different executions, ie: today I process files 1,2 and 3. Tomorrow I might process 4 and 5. It's totally random, but sequential. My question is …

Member Avatar for charlybones
0
698
Member Avatar for jintujacob

file transfer can be easily done with python xmlrpc. it is very simple and spans a very few lines of code.. :) pls [URL="http://1024bitez.blogspot.com/2011/02/simple-ftp-program-with-python-xmlrpc.html"]check this link to see how i done it...[/URL]

Member Avatar for TrustyTony
0
101
Member Avatar for Naggelos

Hi, stuck and haven't been able to find a solution. Problem is pretty simple, I'm importing XML content using Javascript in an HTML page. I managed to display the XML elements and positioned it correctly using a table. Now I wanted to style the fonts of each element extracted specifically. …

Member Avatar for Naggelos
0
116
Member Avatar for click_Apply

I am new to XSLT Please help, Cannot use XSLT 2.0 The group priority level lowest(Public-1) TO Highest (PRIVATE-3) Public-1 Public-2 Public-3 CONFID-1 CONFID-2 CONFID-3 PRIVATE-1 PRIVATE-2 PRIVATE-3 For example a user LDAP query gives a file <result> <DN>CN=Test User ID Priv-2,CN=Users,DC=Lab,DC=acme,DC=com</DN> <attribute-value name="memberOf">CN=CONFID-2,OU=Groups,DC=Lab,DC=acme,DC=com</attribute-value> <attribute-value name="memberOf">CN=PRIVATE-2,OU=Groups,DC=Lab,DC=acme,DC=com</attribute-value> <attribute-value name="memberOf">CN=Public-3,OU=Groups,DC=Lab,DC=acme,DC=com</attribute-value> </result> The …

Member Avatar for click_Apply
0
384
Member Avatar for achava

Suppose you have an xml file that has a portion that looks like: <div id="California">The cat is in the house <p>The horse is also in the house</p> <div><a href="wwww.whatever.com" /><p>Another pigeon?</p></div> </div> Since the top div here is buried somewhere within the file, I am trying to isolate it with …

Member Avatar for achava
0
105
Member Avatar for Naggelos

Hi, I'm using JavaScript to parse the XML onto HTML. I was wondering if there is a way that I can limit the words output on a certain XML tag. For example, for the JavaScript to only display 50 letters (or characters) of the <content> tag in XML Thank you …

Member Avatar for iceandrews
0
54
Member Avatar for kardo

Hi, I'm about to develope a little application in C# where I need to save some data in an XML file. I'm viewing data from XML file in a DataGridView, but I would like to make changes and save it in the same XML file. I can't get it to …

Member Avatar for kardo
0
2K
Member Avatar for whitestream6

I am trying to serve up some PHP files as extension-less or as custom extensions (e.g. test.myfile1). This is my current .htaccess: [CODE]#AddHandler application/x-httpd-php .$ RewriteRule ^([^\.]+)$ $1 [T=application/x-httpd-php-source] [/CODE] Previously it was: [CODE] AddHandler application/x-httpd-php .$ [/CODE] Which is better, and how should I go about this? Thanks

Member Avatar for pritaeas
0
107
Member Avatar for ITemplate

Hi, Looking at this xml: [CODE]<root> <nodeA /> <nodeB /> </root>[/CODE] Is it then possible to set the value of nodeB when inside nodeA? For example: [CODE]<xsl:template match="nodeA"> <!-- Here do something like nodeB.Text = "hi" --> </<xsl:template>[/CODE] So that the output of matching nodeA could be (the thing to …

Member Avatar for ITemplate
0
110
Member Avatar for newprogrammer14

Hi guys I'm new to XSLT programming and the question I ask may appear very easy to you guys. Please help me out. This is the XML code : [CODE]<book id="12345"> <title>A<caps>New Voyage</caps>:Africa</title> <desc>abcdefgh ijklmnop</desc> </book> <book id="12346"> <title>A<caps>New Voyage</caps></title> <see id="12345">ANV</see> </book>[/CODE] I have to display the title and …

Member Avatar for iceandrews
0
202
Member Avatar for minamo99

Hello, I have a large XML i am recovering data from. However,i cant seem to get more then 2 parameters out,whatever i type. i tried the following things already(without succes) -Made a substring-between -Made an extra call to a template and clarified additional parameters -Changed the values of the xpath …

Member Avatar for Erwan Amoureux
0
142
Member Avatar for kaharas

Hi, I wrote this little program, that load a flash application, and tries to hook the recv calls made from it. The problem is, The hook works for HTTP request ( xml domain policy file and so on), but completely misses the xmlsocket packets. I'm sure the api called is …

0
67
Member Avatar for XadRav

My XML basically look something like this: [ICODE]<Staff> <Row alphakey="doejohn" building="abc" class="Algebra" /> <Row alphakey="doejohn" building="abc" class="Geometry" /> <Row alphakey="personbob" building="abc" class="Calculus" /> <Row alphakey="personbob" building="abc" class="Precalc" /> ... </Staff>[/ICODE] And my code looks a little like this: [ICODE] <xsl:for-each select="$Rows"> <xsl:if test="not(@alphakey = preceding-sibling::Rows[1]/@alphakey)"> ... [/ICODE] For some reason, …

Member Avatar for Erwan Amoureux
0
83
Member Avatar for XadRav

My xml looks something like this: [ICODE] <Staff> <Row alphakey="doejohn" building="abc" class="Algebra" /> <Row alphakey="doejohn" building="abc" class="Geometry" /> <Row alphakey="personbob" building="abc" class="Calculus" /> <Row alphakey="personbob" building="abc" class="Precalc" /> ... </Staff> [/ICODE] And basically I need it to output like this: [ICODE]Alphakey Classes doejohn Algebra, Geometry personbob Calculus, Precalc[/ICODE] I've searched …

Member Avatar for Erwan Amoureux
0
285
Member Avatar for LianaN

Hi! I would like to read XML file from my SWING application, however [ICODE]list.size()[/ICODE] returns 0. Why does it happen? Thanks! [CODE] private void open() { SAXBuilder builder = new SAXBuilder(); File xmlFile = new File(openedFileName()); try{ Document document = (Document) builder.build(xmlFile); Element rootNode = document.getRootElement(); List list = rootNode.getChildren("Panel"); …

Member Avatar for LianaN
0
844
Member Avatar for Fortinbra

I'm using a silverlight client to consume a custom web service in ASP.NET (.asmx). When running in IIS on my Local Machine (IIS 7.5, Win 7 Enterprise x64), the web service works fine. Trying to connect to my machine from another, I get a cross domain exception. The web service …

0
52
Member Avatar for KunalPatel

Hello, I'm a newbie to Objective-C & iPhone development, hence please bear with[ICODE][/ICODE] me. I'm working on an app which loads with UITableView and upon selecting one particular cell called "Address Book" it should load with another UITableView containing all the addresses retrieved from a web request. Using NSXMLParser's delegate …

Member Avatar for KunalPatel
0
150
Member Avatar for sam1

Hi, I am trying to output some data from sql db within excel to XML. I am updating the sql db from the excel worksheet and then outputting the records from the db to xml. I have used CDATA to parse html within xml but i can only get one …

Member Avatar for AndreRet
0
183
Member Avatar for cyph3r x3r0

I am developing a LAN messenger in c# using sockets, i want to use XML for entire communication, can you people help me? or give me some link or code snippet? any help will be appreciated thanks in advance

Member Avatar for Ketsuekiame
0
138
Member Avatar for Naut
Member Avatar for sam1

Hi, I am trying to output some data from sql db within excel to XML. I am updating the sql db from the excel worksheet and then outputting the records from the db to xml. I have used CDATA to parse html within xml but i can only get one …

0
69
Member Avatar for anthony5557

I need some help with the javascript code. I have the structure down I need help with the functions. I want to enter the temp in the box and the run the function and replace the number with the converted temperature. Can anyone help me. Here is where I'm at …

Member Avatar for hielo
0
226
Member Avatar for computerbear

My XML class is kickin my behind. I have an assignment that is to combine 3 files, books, movies and music into one called products. I have xml and xsd doc for each. I have gone over the book and a fellow students work and the solution files. I cannot …

Member Avatar for iceandrews
0
148
Member Avatar for nospryexpert

I've been working on a website for a friend of mine and would like to do either a HTML or XML Spry data set instead of an straight html table. It's nothing real complicated but am looking to learn how to do this with DW CS3 (my version). I can …

0
68
Member Avatar for sbutt

I am trying to get xsl comments on my XMLSpy XSLT output console, but the comment is not appearing. My xslt script is: [CODE] <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:ota="http://www.opentravel.org/OTA/2003/05" exclude-result-prefixes="ota xsl"> <xsl:output encoding="UTF-8" version="2.0" method="xml"/> <xsl:strip-space elements="*"/> <xsl:variable name="no_of_adult_persons" select="count(//ota:PassengerListItems/ota:PassengerListItem[@Code = '10'])"/> <xsl:variable name="adult_persons_prices"> <xsl:call-template name="adult"> <xsl:with-param …

Member Avatar for alfieclinton
0
212
Member Avatar for livermore

Hi! I want to parse data from tables in webpages , there are no problems when I parse regular HTML tables, but it seems to be impossible to get any data from dynamic pages that update themself automatically. Do you have any clue how to extract data from dynamic web …

Member Avatar for Airshow
0
113

The End.