1,599 Topics

Member Avatar for
Member Avatar for glfnute

I am having a bit of trouble fighting through a namespace issue. I have the follow input document [CODE]<?xml version="1.0" ?> <ns:CustomObject3WS_CustomObject3QueryPage_Output xmlns:ns="urn:crmondemand/ws/customobject3/10/2004"> <ns:LastPage>true</ns:LastPage> <ListOfCustomObject3 xmlns="urn:/crmondemand/xml/customObject3"> <CustomObject3> <AccountExternalSystemId /> <AccountId>ADOA-3CN5XR</AccountId> <AccountName /> <CreatedBy>Olga CLEMENDOT, 09/08/2009 13:59:17</CreatedBy> <CreatedDate>09/08/2009 13:59:17</CreatedDate> <CustomObject3Id>ADOA-3I66LA</CustomObject3Id> <ExternalSystemId>ADOA-3CN5XR</ExternalSystemId> <ModifiedBy>VĂ©ronique CHINA, 06/22/2010 14:34:53</ModifiedBy> <Name>ADOA-3CN5XR</Name> <Type /> <ModifiedDate>06/22/2010 14:34:53</ModifiedDate> <stZ_DS1_ACCOUNT_CUSTMO>SIM35200031</stZ_DS1_ACCOUNT_CUSTMO> …

Member Avatar for dknochen
0
192
Member Avatar for Roelof Wobben

HEllo, I try to follow this tutorial : [url]http://edutechwiki.unige.ch/en/XSLT_Tutorial_-_Basics[/url] Im using xmlcopyeditor as IDE. So I typed the first example. Do a xml transform and I see these message : Cannot transform: Error at line 7, column 12: Failed to parse QName 'xsl:' Anyone a idea how to solve this …

Member Avatar for mmmathur06
0
54
Member Avatar for vickyjaioswal12
Member Avatar for ktimov1

I have an XML file that is displayed on a DataGridView driven by a dataset. I am having trouble setting up a filter where a user can enter information in a textBox then have the DataGridView filter to find results. The XML File is displayed on the DataGridView using this …

Member Avatar for rakesh_pooja
0
532
Member Avatar for lolain

I am new to XSLT and am trying to solve the following transformation. I have an XML that looks like this... [CODE]<Groups> <Group> <GroupSelector>52</GroupSelector> <GroupDescription>Group 52</GroupDescription> <GroupValue>ABCD</GroupValue> </Group> <Group> <GroupSelector>27</GroupSelector> <GroupDescription>Group 27</GroupDescription> <GroupValue>PQRS</GroupValue> </Group> <Group> <GroupSelector>20</GroupSelector> <GroupDescription>Group 20</GroupDescription> <GroupValue>XYZA</GroupValue> </Group> <Group> <GroupSelector>15</GroupSelector> <GroupDescription>Group 15</GroupDescription> <GroupValue>MNOP</GroupValue> </Group> </Groups> [/CODE]There may be …

Member Avatar for mrame
0
213
Member Avatar for jaango123

The below xpath condition will give both the card numbers as output. How can I modify this to get the first cardnumber alone. xml attached /*/*/*/*/*/*[local-name()='cardNO']

Member Avatar for mrame
0
67
Member Avatar for masocha

l am writing XML to a file. Everything works fine, however if l view the XML source the first line is always indented. Cant seem to figure out the cause. Thankx in advance for the help

Member Avatar for iceandrews
0
127
Member Avatar for dandagopi

Hi i need to convert the xml to xml inut xml is [CODE]<associds> <associd> <associdentifierValue>12345</associdentifierValue> <associdtype>AAA</associdtype> </associd> <associd> <associdentifierValue>24688</associdentifierValue> <associdtype>BBB</associdtype> </associd> </associds>[/CODE] expected out is if child element value is BBB - i need to remove the whole element in associd. [CODE]<associds> <associd> <associdentifierValue>12345</associdentifierValue> <associdtype>AAA</associdtype> </associd> </associds>[/CODE] XSLT is given …

Member Avatar for iceandrews
0
184
Member Avatar for braj1999

I am working on RHEL 5. I have to build a web automation framwork using Ruby. when I am trying to read a XML file using Chilkat ruby I am getting following error. Ruby code where I am getting the error. require 'rubygems' require 'Chilkat' ... ... xml = Chilkat::CkXml.new() …

0
42
Member Avatar for uid1

I have the following XPath expression written in Java: [CODE] " pProbs = XPath.newInstance(/n-grams-sorted/n-gram[contains(.,"+content1+") or contains(.,"+content2+") or contains(.,"+content3+") or contains(.,"+content4+") or contains(.,"+content5+")]/@probability"); [/CODE] My problem is that not all of the contains() expressions return true. What I need is: If one of them returns 'false' (i.e.: there are no nodes …

Member Avatar for uid1
0
211
Member Avatar for Mapper99

What is the best approach to merge(join) XML data?: File#1: [CODE] <users> <user> <name>Mark</name> <id>100</id> </user> <user> <name>Fred</name> <id>100</id> </user> </users> [/CODE] File#2: [CODE] <users> <user> <id>100</id> <lat>50</lat> <lon>122</lon> </user> </users> [/CODE] Desired output (only keep records where a match is found): [CODE] <users> <user> <id>100</id> <lat>50</lat> <lon>122</lon> <name>Mark</name> </user> …

Member Avatar for ivan3510
0
111
Member Avatar for jeraldmuthu

Hi i'm new to xslt the below code for getting chart in pdf after clicking the chart checkbox [CODE] <xsl:if test="$chartimage"> <fo:block text-align="center" space-after="8em"> <fo:external-graphic xmlns:fo="http://www.w3.org/1999/XSL/Format" scaling="uniform"> [B]<xsl:attribute name="src">[/B] <xsl:value-of select="concat(concat('url(',$chartimage),')')" /> </xsl:attribute> </fo:external-graphic> </fo:block> <xsl:if test="$chartPageBreak='true'"> <fo:block break-after="page" /> </xsl:if></xsl:if> [/CODE] bold coded setted attribute name through that they …

0
142
Member Avatar for sim.sim

I bought a Flash Template. It externally loads images and integrates html and .js documents also. The example of the menu and its selections are built with this code: [CODE] <item name="GALLERY" deeplink="gallery" type="menu" content="" location=""> <item name="FILM ROMAN INTERSHIP" deeplink="aROMAN" type="page" content="gallery" location="aFilm Roman Internship.xml"/> [/CODE] Does anyone know …

0
108
Member Avatar for anandunics

Hi All, I have problem while using prepared statements. i have a "Select" query in a xml & i m reading it through XML parser & supplying inputs throughs prepared statements. When i execute i am not getting desired results. Below is the snippet : String res=query (query is String …

0
78
Member Avatar for uid1

I am trying to run this XPath expression (that is, trying to count how many element content strings in my XML file end with letter-one-f ('a') or letter-two-f ('A'): [code=xslt]<xsl:value-of select="count( substring(.,string-length(.) -1,string-length(.) -1)=$letter-one-f or substring(., string-length(.) -1,string-length(.) -1)=$letter-two-f )"/>[/code] but I don't know how to refer to the 'current …

Member Avatar for uid1
0
248
Member Avatar for end3r

Hi, As the title states, I have a query that I use to concatenate all the rows into a single string and I use the XMLTransform method to accomplish that but I still need to add a new line separator within the XML string and so far I didn't find …

Member Avatar for end3r
0
852
Member Avatar for SyedmAhmed

Hi all, As im new to Xml... what i want to do is.... I have a Large Xml File .. and i want to split the that xml file and Parse the xml in vb.net Can any one plz suggest me how can i do this..... Thank's in Advance Syed …

0
60
Member Avatar for Stephen Ravi

Hi, Here my requirement is revealing by seeing the input and output documents. Can you please help me to transform the input document to output as shown in the below by using the xslt. Input: <Parts> <attribute name = "order_number">515033</attribute> <attribute name = "orderseq">1</attribute> <attribute name = "orderstatus">1</attribute> <attribute name …

0
43
Member Avatar for captainSheepdog

Greetings all, I am a junior C#/ASP.NET web developer and have been working for about 3 weeks now. Recently, the graphics person here at work gave me a .swf flash file, an xml file that contained content for the .swf file and a content folder that contained slideshow images referenced …

Member Avatar for iamthwee
0
582
Member Avatar for kadriirdak

Hi There, I have an XML file and I list them by check boxes, categorized by their parent (branch). After selection of the check box, I take them and give the values `$branch`(only one at a time) and `$roles`(can be many eg. SBP|BNA) to web services. And run this web …

Member Avatar for kadriirdak
0
82
Member Avatar for hervens

Hello, I have the current sample xml document below: [CODE]<Units> <category name="Temp"> <unit id="0"> <unit_name>celcius</unit_name> <fromFormula>inFrom0</fromFormula> <-- need this value <toFormula>inTo0</toFormula> </unit> <unit id="1"> <unit_name>fahrenheit</unit_name> <fromFormula>inFrom1</fromFormula> <toFormula>inTo1</toFormula> </unit> </category> <category name="Length"> <unit id="0"> <unit_name>feet</unit_name> <fromFormula>InLengthFrom</fromFormula> <toFormula>inLenghTo</toFormula> </unit> </category> </Units>[/CODE] Now, I am trying to retrieve the value "inFrom0" from the …

0
55
Member Avatar for noobprogrammer

Hi everyone here, Can someone please guide me in transforming XML-to-SQL output with Python? I need to create 2 tables (Books and Patrons) into SQL. How much i suppose to start with??? <?xml version="1.0" ?> <Books> <Item> <BookID>A001</BookID> <Title>A Tale of Two Cities</Title> <Author>Charles Dickens</Author> <Language>English</Language> <Year>1859</Year> <Quantity>5</Quantity> </Item> <Item> …

0
72
Member Avatar for jeraldmuthu

Sorry **How to add image in pdf header.** i get the image url in String. String Image = request.getContextPath() + "/pdf.gif"; parameters.put("pageHeaderText", Image); i passed to the xsl <xsl:value-of select="$pageHeaderText"/> but the after generating pdf the url path of Image i get into the string displaying(not Image) in the header …

0
103
Member Avatar for ChaseRLewis

Well I've been following the rapidxml sparse documentation but I'm getting confused because I'm getting an error saying "expected =" when I call parse<0>(char* c). Messy code I know, but trying to figure out how to use this api I'm new with. Loading Code [CODE]bool Shader::Load(const char* path) { std::ifstream …

0
91
Member Avatar for rkchowdary

help needed to output a comma separated ASCII file from an incoming xml file using xslt. Below Listed are the input and output. I am struck on defining the template to read each character from the input xml file. Any help is highly appreciated... [B]INPUT:[/B] <DST xml:lang="en-US"> <jobName version="1.0">SRVAuthenticate</jobName> <trace>0</trace> …

Member Avatar for pritaeas
0
243
Member Avatar for GabrielZiden

Hallo there. I have the following XML [CODE]<coordenadoria> <disciplina class="X" cod="AM123"> ...blablabla </disciplina> <disciplina class="X" cod="AM123"> ...blablabla </disciplina> </coordenadoria>[/CODE] Now, i have two kinds of 'selecs' i can do. I can choose a Discipline by its Cod, or its Cod+Class. using the following code, i can choose its Cod only. …

Member Avatar for dknochen
0
178
Member Avatar for zigpy_siva

Hi, we are using the XML Template of MS Word, and trying to use XPath(in a tool not code, but the same is not working in code also) to read the data from the xml file. attached the sample code, xml file and the XSD used to generate the word …

0
102
Member Avatar for Stew007

A simple thing to do but I have a brain blockage this morning and would like some help. I have the following XML... <IntegrationMessage> <RoutingSlip> <NewMessageType> <Market> </Market> </NewMessageType> </RoutingSlip> <XML> <NewFile> ----- ----- I want to extract off using XSLT everything under the XML node so I am left …

Member Avatar for mmmathur06
0
111
Member Avatar for knan

<text> <p><s id="s1"><ng><w pws="yes" id="w1" p="CD">25</w> <w l="woman" pws="yes" id="w4" p="NNP" common="true" headn="yes">Woman</w></ng> <vg tense="past" voice="act" asp="simple" modal="no"><w l="create" pws="yes" id="w10" p="VBD" headv="yes">created</w></vg> <pg><w pws="yes" id="w18" p="IN">for</w></pg> <ng><w vstem="succeed" l="success" pws="yes" id="w22" p="NN" headn="yes">success</w> <w l="barbie" pws="yes" id="w30" p="NN" headn="yes">barbie</w></ng> <ng><enamex type="location"><w l="reynold" pws="yes" id="w37" p="NNP" locname="single">Reynolds</w></enamex> <w l="sep" pws="yes" …

Member Avatar for snippsat
0
221
Member Avatar for desbest

[B]How do I get the value of a node with XPath?[/B] Get all nodes which have a price above 35 [COLOR="Green"]/bookstore/book[price>35.00][/COLOR] But when I change the > to an = for equals, the query fails. Please help. By the way I'm using php, but that shouldn't matter as XPath is …

Member Avatar for pritaeas
0
169

The End.