All Questions
89 questions
1
vote
1
answer
81
views
Keep xml formatting when parsing
I am using dart/Flutter package xml 6.5.0 to parse xml documents. Parsing content with
element.findElements("content").first.innerText
gives my the content, but xml formatting is lost.
I ...
1
vote
0
answers
63
views
Dart code for activate how create login action
Dart code for activate how create login action
How do I create a login UI in Flutter?
Then we create a Stateful widget.
Set Scaffold's AppBar property as follows to make a heading for our ...
0
votes
1
answer
46
views
why doesnt it show anything in output or debug console
this is my test file
import 'package:test/test.dart';
import 'assignment5.dart';
void main() {
test('Serialization and deserialization', () {
final medication1 = Medication(
meds: "...
0
votes
1
answer
308
views
Xpath's "contains" doesn't work in Flutter/Dart
Following example
import 'package:xml/xpath.dart';
....
print(MPD_xml.xpath("//Representation[contains(@mimeType,'audio')]/BaseURL").first.innerText);
gives always error
Unhandled ...
0
votes
0
answers
66
views
add node to specific child by xpath in Dart
I would like to add node as second child of a parent node (as second book in shelf)
///dart example/test.dart
import 'package:xml/xml.dart';
import 'dart:io';
const ...
1
vote
1
answer
245
views
How to get the attribute value from xpath in dart?
I try to get the attribute value from xpath with this:
import 'package:xml/xml.dart';
import 'dart:async';
import 'dart:io';
import 'package:xml/xpath.dart';
final bookshelfXml = '''
<?xml version=...
0
votes
1
answer
99
views
How to get children of xml element with dart?
I would like to have all children of an element.
I have tried following:
import 'package:xml/xml.dart';
import 'dart:async';
import 'dart:io';
import 'package:xml/xpath.dart';
final bookshelfXml = '''...
1
vote
1
answer
67
views
Create branches to children for nesting xml in dart?
I have following xml structure file
<?xml version="1.0" encoding="utf-8"?>
<root uuid="{c6ede94d-c675-48ec-8a81-2080c6ea5725}"><title>Root</...
1
vote
0
answers
137
views
When installing facebook_app_events - The markup in the document following the root element must be well-formed
Error header part -
ERROR:/Users/ostapenkodaniil/vsprojects/caravann/android/app/src/main/res/values/strings.xml:3:6: Resource and asset merger: The markup in the document following the root element ...
-1
votes
1
answer
585
views
How to fix 'Android resource linking failed (failed processing manifest)' error in Flutter projects?
I ran into this issue recently while working on my project. Before this error, my flutter project was loading without a problem.
this is my AndriodManifest.xml code
<manifest xmlns:android="...
1
vote
1
answer
442
views
How to use and authenticate the Last.fm API in Flutter Project
I'm new to Flutter and using APIs. I'm trying to make a really simple Flutter app that would recommend the user similar tracks to a music track that they entered using the Last.fm API. I have an ...
1
vote
0
answers
149
views
How to transform xml using xsl in android and ios with dart flutter
I have searched on internet to find solution of my problem but I did not find any solution.I want to transform xml using xsl in android or ios with dart.Following code is for transform xml using xsl ...
2
votes
0
answers
357
views
How to transform xml using xsl in dart
I have searched on internet but I did not find any solution of my problem.Following code transform xml using xls in java but I need same functionality in dart.
Transformer transformer = this....
0
votes
1
answer
40
views
How to be kept updated while traversing XML tree?
How to be called when the findAllElements() traverses the whole tree, so that I get a chance to notify the user about progress?
final document = XmlDocument.parse(xml);
final pdvs = document
...
0
votes
1
answer
909
views
Parsing a XML list in to a list in flutter
I am getting data from an API that contains an ID, a name, a category, and multiple images and other attributes.
My problem is with images, the XML is something like this:
<photoURLs>
<...