3,634 Topics

Member Avatar for
Member Avatar for jakesee

Hi, I have an xml document with the following line: [CODE]<title><![CDATA[HOME & DÉCOR]]></title>[/CODE] this xml document fails in IE7 and IE8 reporting invalid charcter at the E acute. However, FF3 is able to display it correctly. Some online sources suggest that IE is correct in identifying the invalid character. Can …

Member Avatar for fpmurphy
0
226
Member Avatar for maplax

I spent last 10 hours trying to figure out how to extract attributes from this: [CODE]<yweather:wind chill="76" direction="230" speed="8" />[/CODE] RSS: [url]http://weather.yahooapis.com/forecastrss?p=78620[/url] [CODE]rsstxt1 = response[0].getElementsByTagName("yweather:wind").item(0).attributes[0].value;[/CODE] doesn't work. And I tried everything else. [CODE]response[0].getElementsByTagName("ttl").item(0).textContent[/CODE] works fine Just can't get any attribute values from tags with values instead of contents. :( Please …

0
90
Member Avatar for jessjam

<div class="verticalTabContainer"> <div class="verticalTabContent"> <!-- Begin Vertical Tab Navigation --> <div class="verticalTabNavigation"> <ul> <li class="verticalTabNavigationCurrent verticalTabNavigationFirst"><a href="#vtab-overview">Overview</a></li> <li class="verticalTabNavigationPreviousCurrent"><a href="#vtab-features">Features &amp; Benefits</a></li> <li><a href="#vtab-requirements">System Requirements</a></li> <li><a href="#vtab-demos">Demos/Tutorials</a></li> <li><a href="#vtab-awards">Awards/Certifications</a></li> <li><a href="#vtab-customer">Customer Stories</a></li> <li><a href="#vtab-news">News/Events</a></li> <li><a href="#vtab-resources">Resources</a></li> <li><a href="#vtab-community">Community</a></li> <li><a href="#vtab-support">Support</a></li> </ul> <div class="verticalTabNavigationVoid"><div class="verticalTabNavigationFill ie"></div></div> </div> <!-- End Vertical Tab …

0
104
Member Avatar for Tamir09

Im trying to format my xslt form to a table that I have: Horsepower-Electric Values Revolutions Number of Disks blank num 1 num 2 num 3 rev1 hpe1 hpe2 hpe3 rev2 hpe4 hpe5 hpe6 rev3 hpe7 hpe8 hpe9 And so far, Ive gotten the xslt form to come out somewhat …

Member Avatar for Tamir09
0
308
Member Avatar for Splower

I want to design a website kind of like "Feedjournal" and "Tabbloid" that will get important rss feeds and blogs to make a newsletter for our company, and then auto email to all staff on set time intervals. I am very new and want to know how to start. What …

Member Avatar for Airshow
0
157
Member Avatar for dudegio

Hello guys, I need an expert advice if it is possible to code inside an XML file? Example, news.xml whereas in that file you have to code connecting to MySQL database then retrieve data. Generated data is the XML required tags for the RSS and will be written in similar …

Member Avatar for Airshow
0
231
Member Avatar for thrusai

Can someone help me parse a XML string using SAX parser and then validate the same against the XSD defined' I have the program that works when I pass the input xml and xsd as arguments but my requirement involves passing a input string containing the target XML and the …

Member Avatar for thrusai
0
100
Member Avatar for mypicturefaded

I need to pull out the information in the Document\Property(label = Individual Information)\value. The code I am using does not work, or I am not using it correctly. What would be the correct syntax? [ICODE] <?xml version="1.0"?> <fnApiResponse status="ok" xml:space="preserve"> <document idmId="12214" name="214214" label="me" class="Signature" version="1" mime="image/x-win-metafile" library="mylib" user="me" group="blah" …

Member Avatar for mypicturefaded
0
120
Member Avatar for athlonica

Hi Guys! I need help with something that I can't figure it out on my own. I'm working with an XSLT stylesheet that constructs some URLs that are finally presented as an html page. I want to add to one of those URL a variable that I know how to …

Member Avatar for xml_looser
0
87
Member Avatar for metinh

Hello everyone. I am trying to implement CDATA wrapping of values conditionally in XSLT. My requirements are: - If the value contains <, >, &, ", ' then it must be wrapped in CDATA in the transformed output. - if the value does not contain any of the above characters, …

Member Avatar for fpmurphy
0
794
Member Avatar for thrusai

Can someone explain me on how to consume a sample java restful web service using .NET client using an example.I need a POST implementation example My requirement I need to read XML data from a .NET client and then process the same in Restful web service and then sent another …

0
68
Member Avatar for kaushik259106

Hi All, I have this requirement to do and am still scratching my head. Actually am not that comfortable with webservice but am still fighting and need some help. Here i go. I need to send xHTML content through webservice. Something like if someone calls my API he gets a …

Member Avatar for pritaeas
0
103
Member Avatar for techza

Hello, I have XML , I am trying to create a xslt on these xml. <Qxml> <Qxml> <Net> <Property Name="DOCTOR" SName="DOC" LongDesc="YYY DOC" Code="666" STC="1"/> <Property Name="ENGINEER" SName="ENG" LongDesc="XXX ENG" Code="777" STC="2"/> <Property Name="TEACHER" SName="TEA" LongDesc="ZZZ TEA" Code="888" STC="3"/> <Property Name="CLERK" SName="CLE" LongDesc="TTT CLE" Code="999" STC="4"/> </Net> </Qxml> </Qxml> I …

Member Avatar for xml_looser
0
104
Member Avatar for Mapper99

Hi there, Has anyone used a DetailsView Control to Update an XML Datasource? I get an error when I try and implement the Autogenerated Edit/Delete/New buttons: Specified method is not supported. Any ideas? Thanks, Mapper

0
121
Member Avatar for papanyquiL

Hi all, I'm supposed to take an app which can parse the info of an xml document and output it into readable info, however I have no idea where to begin... This is what I have so far: [code] private void button1_Click(object sender, EventArgs e) { XmlTextReader read = new …

Member Avatar for papanyquiL
0
146
Member Avatar for JotaPe

Hi to all! I am pretty new to Xpath and I am quite lost. I use Stylus Studio Prof for all things related to XML, and I've been struggling with this apparently simple question for a few days. If I have something like: [code] <sales> <person> <id> <tag>2345X</tag> <name>Doe, Joe</name> …

Member Avatar for xml_looser
0
103
Member Avatar for Edward67

i have an XML-file that i want to clean up with an XLST-file and save it as an new XML-file. I am still a beginner but like to learn more. I have used a "for-each" function but i cant find what i am doing wrong. He loops the file, but …

Member Avatar for xml_looser
0
109
Member Avatar for sonya_sml

Hi, Its bit urgent! Can someone please show me how to use nested loop. I have following XML file. I need to print amount in minus if any of the ApplicationReply value is credit, else the Amount should be positive. <xsl:for-each select="Reply/ApplicationReplies/ApplicationReply[@Name='credit']"> <xsl:if test="position() = 1"> <xsl:value-of select="concat($sep, $sign, /Reply/Amount,$sep)"/> …

Member Avatar for pritaeas
0
82
Member Avatar for northsouthking

Hi all, I need some help on parsing latin character, when i am applying stylesheet(XSLT) on source xml file this will give some target xml file but when transforming file those latin characters converting into "?"(Question mark). Please help me how to solve this problem...

Member Avatar for northsouthking
0
69
Member Avatar for MasterJon

I'm a beginner. I'm learning XPath. This is the sample structure: [code] <AAA> <BBB/> <CCC/> <DDD/> <AAA/> <BBB/> </DDD> <div class="some"> <AAA/> <BBB/> <div id="special"> <AAA/> </div> <div style="clear: both;"/> <hr/> <div> text </div> <div> text </div> <div> text </div> <hr/> <div> text </div> <div> text </div> <DDD/> <EEE/> </div> …

Member Avatar for fpmurphy
0
1K
Member Avatar for amorphis88

Hello, i'm a beginner and i'm creating a guestbook in asp.net with XML. i have the following: my aspx page: [code=asp.net] Name: <%#DataBinder.Eval(Container.DataItem, "name")%><br /> E-mail: <a href="mailto:<%# DataBinder.Eval(Container.DataItem, "email") %>"><%# DataBinder.Eval(Container.DataItem, "email") %></a><br /> Location: <%# DataBinder.Eval(Container.DataItem, "location") %><br /> Date: <%# DataBinder.Eval(Container.DataItem, "date") %><br /> <i><%# DataBinder.Eval(Container.DataItem, "entry_Text") …

Member Avatar for xpartmgr
0
684
Member Avatar for sandipan.rcciit

hi i am trying to collect the database of books from the devloper area of isbndb.com. this site provide us a passkey with the help of that we can collect the xml data from database depending upon criterias. .[url]http://isbndb.com/api/books.xml?access_key=6XEB6RTL&index1=publisher_id&value1=oreilly[/url] this link collect the xml data of books publisher of oreilly. …

Member Avatar for kvprajapati
0
180
Member Avatar for rajaputra.j

I build a new Site. In that i want to add Stocks, Weather, News, Sports, some kind of Entertainment things through RSS. I want to know the procedure what is RSS Reader, Where i can best RSS feeds of the above mentioned topics. What is the difference between RSS Reader …

Member Avatar for bobchrist
0
169
Member Avatar for sbutt

Hi Folks, I have two questions: 1). How to escape CDATA in your xslt script? [code] <xsl:template match="/"> <![CDATA[ <xsl:apply-templates select="node()"/> ]]> </xsl:template> [/code] In the above code, the template inside CDATA does not get executed. What I actually want is the result from this template (<xsl:apply-templates select="node()"/>) to be …

Member Avatar for fpmurphy
0
135
Member Avatar for Soporose

Hi all. I'm struggling to come to grips with parsing an XML file because I need to implement a very simple example of the Namecheap API. The API requires me to submit a very long URL (see the variable 'filepath' in my example code further down). When I drop the …

0
38
Member Avatar for standardt

Hi, I don't know if this is the right area to post this, but it seems to be related. I am interested to know how an URL-based api key restriction works, such as the one used by Google to protect its Google Maps service. From what I understand from this …

0
109
Member Avatar for jerryjerry

hello I am new to DOM Parser. I tried alot to write a XML file but not getting any result. I want to create one xml file then create all the nodes at run time. I am using xerces C++. Please give me some code snippets if possible or suggest …

0
49
Member Avatar for geny

Hi, There is this link -> [url]http://data.giub.uni-bonn.de/openrouteservice/php/DetermineRoute_rajan.php?Start=7.0892567,50.7265543&Via=&End=7.0986258,50.7323634&lang=en&distunit=YD&routepref=Fastest&avoidAreas=&useTMC=false&noMotorways=false&noTollways=false&instructions=true[/url] ! where I need to extract text, perhaps -> <xls:Instruction>[B]Drive half left on Kaiserstraße[/B]</xls:Instruction> <xls:distance value="[B]284[/B]" uom="YD"/> (bold text). On using something like this : [code] $url="url_just_shown_above"; $output = file_get_contents($url); $xml = simplexml_load_string($output); echo $xml->xls:RouteInstruction->xls:Instruction."<br />"; [/code] I am getting error -> Parse …

Member Avatar for digital-ether
0
107
Member Avatar for sbutt

Hi Folks, I'm new to xslt transofrmation so need a little help in transforming the following example. Input: [CODE]<Persons>12</Persons>[/CODE] Output: [CODE]<PassengerRPHs ListOfPassengerRPH="1 2"/>[/CODE] The main thing above is to put a space between digits, 123 -> 1 2 3. It would be perfect if the transformation also handles 9101112 -> …

Member Avatar for fpmurphy
0
106
Member Avatar for techza

Hello, I have a xml file below from which I want to extract the data using xslt. I trying to create the xslt but no results , I have some hard coated values in the xslt which I want in the output xml. I also need the other values from …

0
53

The End.