Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

I am encountering error 394 when trying to submit the NFC-e to SEFAZ. The error message indicates that the invoice is being rejected due to "missing QR-Code information." However, when ...
Davi Quaresma's user avatar
2 votes
2 answers
65 views

This is my code (XMLElement from xml-builder): use anyhow::Result; use xml_builder::XMLElement; fn foo() -> Result<()> { let mut v = XMLElement::new("v"); v.add_child(XMLElement:...
yegor256's user avatar
  • 106k
0 votes
1 answer
70 views

I have the below sample xml. <A> <B>[email protected]</B> </A> And I want to insert a new set of xml message tags dynamically using groovy as the below 2 samples. ...
jdk1.7's user avatar
  • 166
0 votes
1 answer
369 views

I'm having trouble creating a XML document with a CDATA section. Given this code: const xmlObj = { "s:Envelope": { '@xmlns:s': http://schemas.xmlsoap.org/soap/envelope/", ...
Nigel's user avatar
  • 1,027
1 vote
1 answer
891 views

How can I loop through and choose some data from the array? I try to manage it, but inside the loop the xmlbuilder did not define the expected result. To choose the right value maybe it is easy just I ...
Denes's user avatar
  • 121
0 votes
0 answers
423 views

I have a requirement to provide an endpoint that generates a sitemap. This endpoint uses 'xmlbuilder2' and the goal is to return pure XML that can be delivered to the browser. @Get() public ...
mkjp2011's user avatar
0 votes
1 answer
225 views

I have the following CSV file: iDocType,iDocId,iName,iDate P,555551555,Braiden,2022-12-31 I,100000001,Dominique,2024-12-10 P,100000002,Joyce,2025-11-15 Using jmeter's JSR223 preprocessor element, I ...
JustNatural's user avatar
1 vote
0 answers
244 views

We need to create a XML file with some items in there, so we are using xmlbuilder module for this. The array have 50k of products, the memory usage processing the file is 200mb of ram, but at the ...
Daniel Suarez's user avatar
-1 votes
1 answer
247 views

I am using xmlBuilder library in Nodejs to create XML from prepared corresponding JSON. I am creating JSON structure first and then convert it to XML. Javascript is the coding language. It is required ...
Aditya Rewari's user avatar
2 votes
1 answer
792 views

I'm working with XML in NodeJS. I've been using the xmlbuilder to create my XML. The problem is that now I need to check if a element already exists and delete or update it. For example, I have the ...
myTest532 myTest532's user avatar
0 votes
1 answer
752 views

I am having a case where I want to add this tag in my xml just below the prolog something like this : <?xml version="1.0"?> <?AXOXMLMAP FILE=gnvouchr LIBRARY=. ;VOLUME=xmlmap?> ...
Akshat singh bais's user avatar
1 vote
1 answer
2k views

I am creating the XML files in Node.js using the XMLBuilder package. Everything is working fine except for one thing. I am trying to add attributes to root element but for some reason, it gets added ...
BATMAN_2008's user avatar
  • 3,642
0 votes
1 answer
785 views

I tried searching the answer but as there a limited number of questions on XMLBUILDER could not find. Hence posting the question really sorry if found duplicate. I am using the XMLBUILDER Node.js ...
BATMAN_2008's user avatar
  • 3,642
0 votes
3 answers
500 views

I have a form which has lot of fields consider maybe 100. All of the fields are different such as it could be StartTime DateTime EndTime Value etc.. User can fill whichever the field they want and ...
BATMAN_2008's user avatar
  • 3,642
1 vote
0 answers
840 views

When I include this line in my template for nodejs xmlbuilder2: template = { 'jcr:root': { ... '@xmlns:jcr': 'http://www.jcp.org/jcr/1.0', // this one ... } } I get the following ...
Kenzie's user avatar
  • 151
0 votes
1 answer
216 views

I'm using xmlbuilder2 node module to build the retrieved data and render them into XML page. when the data is very big I got this error FATAL ERROR: Ineffective mark-compacts near heap limit ...
Yasmine ghazal's user avatar
1 vote
1 answer
5k views

I am trying to create the XML file using the node.js and npm package xmlbuilder. When I am trying to create the tags I have some special characters such as : / etc due to which I am getting the ...
BATMAN_2008's user avatar
  • 3,642
2 votes
2 answers
21k views

I need some help/advice with JSON to XML conversion in Node js. I have a service that gets a JSON object in request body that needs to convert to XML. I am able to achieve this using node-xml2js for ...
JavaNaresh's user avatar
0 votes
1 answer
2k views

I am using the following framework to build my xmls https://www.npmjs.com/package/xmlbuilder When I do the following .ele('ATTACHMENTS','') .ele('ATTACHMENT', attachmentXML) I have another ...
p0tta's user avatar
  • 1,691
0 votes
0 answers
46 views

I want have output in 1 row text: <A><d>n</d>Im newspaper text</A> I used xml.A { |t| t.d "n"; t.text! advert.newspaper_text } In this case i have output: <A> <d&...
Nkey's user avatar
  • 31
0 votes
1 answer
449 views

I want to build xml from rails application. I wanted to generate tags from rails application database. For example: I have a database table called cars and it have variable brand and it has values. ...
Ruby4Rails's user avatar
3 votes
2 answers
4k views

I am using "xmlbuilder" node.js module to create xml file. I need to create a CDATA section as follows: <notestext><![CDATA[{Notes Text}]]></notestext> I referred the github link, ...
Kushagra Sinha's user avatar
1 vote
2 answers
330 views

I am creating an xml file using "xml-builder" node module. But when I tried to write angle brackets ("<" or ">"), I got characters like "<" and ">". The code is as follows: let builder = ...
Kushagra Sinha's user avatar
0 votes
2 answers
877 views

I'm trying to build an xml file from 2 JSON objects through 2 cascading loops. In the second loop, I can't find how to pass a value from the previous loop: In the example below, I would like to pass ...
harzack86's user avatar
0 votes
0 answers
1k views

I am trying to stream a large xml file from express to a client, and I have not yet found out how to send until the file is done processing on the server, and res.end() is called. The xml file is ...
csdev's user avatar
  • 323
1 vote
0 answers
2k views

I am using NodeJs library called xmlbuilder-js for building dynamic XML output but I'm having a little difficulty removing the header of the XML Output. Following is my code sample var xml = builder....
Point Networks's user avatar
3 votes
1 answer
2k views

I am using xmlbuilder npm package - which looks powerful , except I want to import an existing xml file into the xmlbuilder and manipulate elements / attributes etc as opposed to building the whole ...
Martin Thompson's user avatar
1 vote
0 answers
161 views

I have a Staff model as follows (for brevity) id firstname lastname stafftype (e.g. Chef, Driver, Team Leader) I also have a StaffTimePeriod model as follows id staffid date staffstatus ...
nexar's user avatar
  • 11.3k
0 votes
1 answer
239 views

I have following string "The quic\b\b\b\b\b\bk brown fo\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007\u0007x... [Beeeep]" But xmlBuilder and xml2js fails to parse this string due to ...
Farhan Yaseen's user avatar
1 vote
0 answers
176 views

So I have an xml doc being generated based on product info in rails (using the builder markup (http://builder.rubyforge.org/classes/Builder/XmlMarkup.html), but when I use builders namespace syntax, ...
Grant Leslie's user avatar
5 votes
1 answer
2k views

I am generating xml in nodejs by using xmlbulilder package, now my requirement is to add namespace to xml. for example <nsA:root xmlns:nsA="namespaceA" xmlns:nsB="namespaceB"> <nsB:...
Sachin's user avatar
  • 109
0 votes
1 answer
730 views

I am using Nokogiri to generate XML. I would like to add a namespace prefix to the XML root node only but the problem is applying the prefix to the first element it get apply to all children elements. ...
Ravi's user avatar
  • 163
2 votes
1 answer
2k views

I posted a question (Rails XML builder not rendering) regarding rendering XML using XmlBuilder. That particular issue was resolved but I’ve run into another issue testing this controller action. The ...
Nate Bird's user avatar
  • 5,335
0 votes
2 answers
65 views

I am passing lot of XML Parameters from my application to the SQL Server (both windows and ASP.Net application) Earlier i used to build XML using the based concatenation operator in string, similar ...
Dilip's user avatar
  • 199
12 votes
3 answers
42k views

Trying to parse XML into JSON with xml2js and then return the JSON to XML using xmlbuilder (usually after modifying the content programmatically). I think that the two should be complements, per this ...
prototype's user avatar
  • 8,195
0 votes
1 answer
561 views

I'm using reading in a .HTML snippet from the file system; it contains just <h1>Hulton Archive</h1>. Then I'm writing a new XML file which must contain that HTML snippet in a certain ...
KatieK's user avatar
  • 13.9k
0 votes
0 answers
44 views

Is it possible to use content_for in *.xml.builder files? when I print: content_for :part do xml.child "anything" end xml.parent do xml << yield(:part) if content_for? :part end it ...
gayavat's user avatar
  • 19.5k
0 votes
1 answer
75 views

This is the XML function to create XML dynamically: def make_toc builder = Nokogiri::XML::Builder.new do |xml| xml.ncx( xmlns: "http://www.daisy.org/z3986/2005/ncx/", version: "2005-1", "xml:...
user2138489's user avatar
1 vote
2 answers
1k views

Error: Template is missing Missing template miscellaneous/sitemap, application/sitemap with {:locale=>[:en], :formats=>[:xml], :handlers=>[:erb, :builder]}. Searched in: * "/Users/yliu/Google Drive/...
Tristan.Liu's user avatar
1 vote
2 answers
2k views

I am creating a data.xml.builder file that I will feed into javascript library to create a table. A short excerpt is the following xml.tag!("row",{"id" => item.id}) do xml.tag!("cell", item....
capcode01's user avatar
  • 163
0 votes
1 answer
130 views

I made an application that depends on the data taken form an XML file, and if the user want to update something in that application he have to change the data contained in that xml file, but for sure ...
Refaat's user avatar
  • 107
4 votes
1 answer
733 views

I have a Google merchant centre XML script which is printing additional white space within every element and I can't seem to get rid of it I've simplified the script below to demonstrate what I'm ...
moztech's user avatar
  • 430
9 votes
2 answers
10k views

I have a project that I am working on and I do not know much about Rails or Ruby. I need to generate an XML file from user input. Can some direct me to any resource that can show me how to do this ...
ironmantis7x's user avatar
0 votes
1 answer
377 views

I have a function like so: def add_auth_fields xml = Builder::XmlMarkup.new(:target => '') xml.instruct! :xml xml.inquiry do |inquiry| inquiry.authentication do |auth| ...
doremi's user avatar
  • 15.4k
3 votes
2 answers
7k views

I have a scenario where records of employees written in flat file, something like : flatFile.txt ============ 1|name1|dept1|10000 2|name2|dept2|12000 3|name3|dept3|9500 .... .... Now I want to read ...
Nirmal's user avatar
  • 4,829
1 vote
1 answer
408 views

This may be a basic question but it has been causing me some problems. I am trying to dump an ActiveRecord Object to an XML file using the to_xml function. For whatever reason, this does not work for ...
Rhawb's user avatar
  • 53
12 votes
1 answer
6k views

I found a post with a headline quite similar to this one, but it didn't give me the answer I was looking for. I am trying to use builder inside a model. The code looks something like this: require '...
klaffenboeck's user avatar
  • 6,377
1 vote
1 answer
636 views

I'm integrating with the google checkout api and all of their attributes include hyphens in their attribute values. So to create a request to charge an order I need to send an xml post that looks like:...
whatWhat's user avatar
  • 4,277
2 votes
1 answer
868 views

I would like to create general layout file for XML response. For example I would like to wrap those general part of RSS in the layout and leave the content be generated in the corresponding view file. ...
PeterWong's user avatar
  • 16k
0 votes
1 answer
594 views

I get this nice XML when there's data in the fields: <DescriptiveDetail> <ProductComposition>00</ProductComposition> <ProductForm>01</ProductForm> <Measure> ...
snowangel's user avatar
  • 3,462