Showing posts with label xml. Show all posts
Showing posts with label xml. Show all posts

Linearlayout changes size (ratio) when i set Image to ImageView

Wednesday, November 4, 2015

I have a dialog with the XML code below, what i wanted to do is just like what is showed in first screenshot (and it is exactly what is showed on the screen when i keep the imageview empty) :



Normal app running without image inside imageView



but when i put the picture inside the imageView using the code :



ImageView img1 = (ImageView) myView.findViewById(R.id.imgView1);
img1.setImageResource(R.drawable.attention);
img1.setScaleType(ImageView.ScaleType.CENTER_INSIDE);


the screen becomes :



When app runs and image inside the imageView



I dont want the linearlayout that contains the imageViews to change the ration, i put the weight ("3") to always keep same ratio, but although it changes.



above my XML source :



<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">

<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_margin="10dp"
android:orientation="vertical"
android:weightSum ="10">

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="3dp"
android:gravity="center"
android:orientation="vertical"
android:layout_weight="1"
android:background="@drawable/dialog_bg">

<TextView
android:id="@+id/txt_field1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/black" />
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="3dp"
android:gravity="center"
android:orientation="vertical"
android:layout_weight="1"
android:background="@drawable/dialog_bg">

<TextView
android:id="@+id/txt_field2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="10dp"
android:paddingLeft="10dp"
android:textColor="@color/black"/>
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="3dp"
android:gravity="left"
android:orientation="vertical"
android:layout_weight="2"
android:background="@drawable/dialog_bg">

<TextView
android:id="@+id/txt_field3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingRight="10dp"
android:paddingLeft="10dp"
android:paddingTop="10dp"
android:paddingEnd="10dp"
android:textColor="@color/black" />
</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="3dp"
android:gravity="left"
android:orientation="horizontal"
android:layout_weight="3"
android:background="@drawable/dialog_bg">

<ImageView
android:id="@+id/imgView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingRight="10dp"
android:paddingLeft="10dp"
android:paddingTop="10dp"
android:paddingEnd="10dp"
android:layout_weight="1"
android:scaleType = "fitXY" />

<ImageView
android:id="@+id/imgView2"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingRight="10dp"
android:paddingLeft="10dp"
android:paddingTop="10dp"
android:paddingEnd="10dp"
android:layout_weight="1"
android:scaleType = "fitXY"/>

</LinearLayout>

<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="3dp"
android:gravity="left"
android:orientation="horizontal"
android:layout_weight="3"
android:background="@drawable/dialog_bg">

<ImageView
android:id="@id/imgView3"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingRight="10dp"
android:paddingLeft="10dp"
android:paddingTop="10dp"
android:paddingEnd="10dp"
android:layout_weight="1"
android:scaleType = "fitXY"/>

<ImageView
android:id="@id/imgView4"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingRight="10dp"
android:paddingLeft="10dp"
android:paddingTop="10dp"
android:paddingEnd="10dp"
android:layout_weight="1"
android:scaleType = "fitXY"/>

</LinearLayout>

</LinearLayout>
</RelativeLayout>


Please any suggestion how to bypass this issue. Thank you.

Keep the backslashs in propertyregex

I'm trying to replace a directory path string in a XML file using ANT with the value stored in variable ${param_value}.



In my example ${param_value} contains c:\mypath\mydir



In order to replace as wished, I use propertyregex.



The issue is that the regex replace value is c:mypathmydir
I don't understand why "replace" removes all backslashes.



When I echo to check the value of my variable before regex, it looks like:



<echo message="param_value out=${param_value}"/>


This echo returns c:\mypath\mydir



${param_token} is xml token (output)



<propertyregex      property="param_temp"
input="${result}"
regexp="(&lt;${param_token})&gt;(.*|\\)*&lt;(/${param_token}&gt;)"
replace="\1&gt;${param_value}&lt;\3"
casesensitive="false"
defaultvalue="NotFound"/>


Thank you for your help.

Can ant build.xml build target from a variable anount of input files

First excuse my bad English.



Here is the concept:
I have to implement multiple xslt transformations.
How many transformations shall be executed, depends on how many xml files will be in a separate directory/folder. So the problem is: How to tetll the build.xml (the ant build file) to do a loop that iterates a task for each file in a directory.
This is meta code is an attempt to describe the idea:



 foreach(test-cases/*.xml)
{
<xslt
in="." out="report_(n+1).xml" style="ConstantStylesheet.xslt">
</xslt>
}


The stylesheet will not change per transformations, only the input and the output files.



in="." refers to the coherent xml file as an input for the xslt processor.



report_${.}.xml is to tell the processor that the output file name will be suffixed with subsequent name of the input file.
If I specify same output for each transformation the output file will be overwritten each iteration.
If it is not possible in build.xml(the ant script), any ideas are very much wellcome.

XML in SQL: Element values evaluated differently when using table column rather than string

I'm trying to generate some XML via SQL for load testing, but I'm having trouble constructing the XML correctly. This is what I have:



-- Generate XML from table
SELECT id AS '@id',
action AS '@action',
actionTime AS '@actionTime',
firstName AS '@firstName',
lastName AS '@lastName',
email AS '@email',
(SELECT isActive AS '@isActive',
actionTime AS '@actionTime',
displayName AS '@displayName',
identifierId
FOR XML PATH('identifier'), TYPE
)
FROM scratch.dbo.Identities
FOR XML PATH('user'), ROOT('Users')


This generates XML that looks like this:



<Users>
<user id="QALoadTest1" action="add" actionTime="2015-11-01T00:00:00" firstName="Load" lastName="Test1" email="QALoadTest1@loadtest.com">
<identifier isActive="1" actionTime="2015-11-01T00:00:00" displayName="Load Test 1">
<identifierId>1111111111</identifierId>
</identifier>
</user>
</Users>


If I pass a string as the identifier value, the XML is generated correctly:



SELECT id AS '@id',
action AS '@action',
actionTime AS '@actionTime',
firstName AS '@firstName',
lastName AS '@lastName',
email AS '@email',
(SELECT isActive AS '@isActive',
actionTime AS '@actionTime',
displayName AS '@displayName',
'11111111111'
FOR XML PATH('identifier'), TYPE
)
FROM scratch.dbo.Identities
FOR XML PATH('user'), ROOT('Users')


This generates the following, which is what I want:



<Users>
<user id="QALoadTest1" action="add" actionTime="2015-11-01T00:00:00" firstName="Load" lastName="Test1" email="QALoadTest1@loadtest.com">
<identifier isActive="1" actionTime="2015-11-01T00:00:00" displayName="Load Test 1">11111111111</identifierId>
</user>
</Users>


What's the difference between using a column value and a string here? Interestingly, when I wrap the column value in single quotes (''' + identifierId + ''') it generates the XML in the correct structure, but with the additional quote marks (...displayName="Load Test 1">'11111111111'</identifierId>)

Recover hybrid page Alfresco Share

I've created a new page Aikau, but I changed the XML file and the rendered page content between the standard Share header and footer disappeared.



In this page, I want the arguments of the query string, so I write this code:




page.get.desc.xml:




<webscript>
<shortname>My New Page</shortname>
<url>/hdp/ws/my-new-page</url>
<authentication>user</authentication>
</webscript>



page.get.js:




function main ()
{
// Get the args
var fileProp = args["test"];

model.temp = fileProp;
}

main();



page.get.html.ftl:




Test arg: ${temp}


I have to put /hdp/ws/my-new-page in the XML file to write the content of FTL file in this page... But why did the header and footer of the Alfresco template disappeared ? hdp serves for this purpose. And if I don't put the URL like that on the XML, the page appears with the template.



What is wrong in my code? Or how can I recover the template?

using underscore "_" in python iterparse [duplicate]


This question already has an answer here:





new to Python iterparse, what is the meaning of the underscore "_" in iterparse?



for example:



for _, element in ET.iterparse(file_in):

Attributes not valid when referencing another schema in the XSD

I have two schemas:



<schema xmlns:foo="urn:x:foo:1.0" xmlns:bar="urn:x:bar:1.0"
targetNamespace="urn:x:foo:1.0"
version="1.0"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="bar" type="bar:bar" />
</schema>


and



<schema xmlns:bar="urn:x:bar:1.0"
targetNamespace="urn:x:bar:1.0"
version="1.0"
xmlns="http://www.w3.org/2001/XMLSchema">
<complexType name="bar">
<attribute name="goo" type="string" />
</complexType>
<element name="bar" type="bar:bar"/>
</schema>


When editing XML in IntelliJ 15 (EAP), this XML validates well:



<bar goo="xxx" xmlns="urn:x:bar:1.0" />


but this cannot find attribute goo (while the element bar itself is fine):



<bar goo="xxx" xmlns="urn:x:foo:1.0" />


I've tried to add <import namespace="urn:x:bar:1.0"/> to foo.xsd but without success.



Is this a bug in IntelliJ or am I missing something? Would you recommend any (preferably online) XML validator capable of handling multiple XSD files?

How do I export multiple Excel rows to an XML file using an XML schema?

I have an Excel worksheet with a list of cars:



Row 1 contains column descriptors for vehicle attributes



I created an XML schema document to allow me to export the worksheet to XML. The schema is as follows:



<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="Root">
<xsd:complexType>
<xsd:sequence>
<!--Below are the primary vehicle descriptors - essentially the attributes for the cars-->
<xsd:element name="Brand" type="xsd:string"/>
<xsd:element name="Model" type="xsd:string"/>
<xsd:element name="Colour" type="xsd:string"/>
<xsd:element name="Price" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>


In Excel, I clicked Developer > Source > XML Maps > Add, then I selected the XML schema file from above and added it to my worksheet.
I mapped each element in the XML Source window to the corresponding column in the Excel worksheet (the "Brand" element is mapped to A:A, the "Model" element is mapped to B:B, etc.).



enter image description here



When it came to exporting the mapped worksheet (using Developer > Export, then selecting a directory and file name), the resultant XML file only had the first row of data from the worksheet. As my XML mapping included the title row of the worksheet, the XML file looked like this:



<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root>
<Brand>Brand</Brand>
<Model>Model</Model>
<Colour>Colour</Colour>
<Price>Price</Price>
</Root>


I've looked through numerous different help pages, and I'm not sure how to make my XML file store every row (all five, including the title row) of the Excel worksheet.

Android - View inside a View

In XAML for Windows phone I can do something like that:



<Button>
<StackPanel>
<TextBlock Text="Press me" />
<TextBlock Text="Really, press me" />
</StackPanel>
</Button>


Is there a way to do it in xml for android? Thanks you in advance

change html dynamically thru xsl

I have the following html.



<!DOCTYPE html>
<html>
<head>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 5px;
}
</style>
</head>
<body>

<table style="width:100%">
<tr>
<th>Name</th>
<th>City</th>
<th>State</th>
<th>Zip</th>
</tr>
<tr>
<td> [lastName],[firstName] </td>
<td>[City]</td>
<td>[State]</td>
<td>[Zip]</td>
</tr>
</table>

</body>
</html>


I will get the values from an xml



<person>
<lastName>Zones</lastName>
<firstName>Adam</firstName>
<City>Columbus</City>
<State>OH</State>
<Zip>44250</Zip>
</person>


I want to replace the values in the table data elements dynamically as



<td>Zones, Adam</td>
<td>columbus</td>
<td>OH</td>
<td>44250</td>


How to achieve this. Need to change the name,city,state,zip with user entries.

How to set Exact XML element name in DomDocument with PHP

I have a form which on POST creates an XML based on the values in the form. I am using DOM DOCUMENT to create XML. I am giving exact element names when creating xml but when it is created the element names are in lowercase which my API is not accepting. for eg.



I am giving this as an input <LSP_Name>JaVAS</LSP_Name> and when it is created it forms like this <lsp_name>JaVAS</lsp_name>



I tried $xml->formatOutput=true; but had no luck.



Any one who had faced this similar issue ?



DOCUMENT CREATION



$xml = new DOMDocument('1.0', 'utf-8');

$xml->formatOutput=true;
$root = $xml->createElement("NewDataSet");
$xml->appendChild($root);

$LSP_Code = $xml->createElement("LSP_Code");
$LSP_CodeText = $xml->createTextNode(LSP_CODE);
$LSP_Code->appendChild($LSP_CodeText);

$docket = $xml->createElement("Docket");
$root->appendChild($docket);
$docket->appendChild($LSP_Code);


TIA

posting to XML soap service and having a hard time getting the server response

The code throws a 500 html error response when it gets to the line using (WebResponse webResponse = webRequest.EndGetResponse(asyncResult)).



using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;

public partial class RawService : System.Web.UI.Page
{
static string _url = "https://iserv.intecon.co.za/allpsws_test/allps.asmx";
static string _action = "https://iserv.intecon.co.za/allpsws_test/allps.asmx";
static string _inputPath = @"C:\intercon\input.xml";
static string _outputPath = @"C:\intercon\output.xml";
static string _soapEnvelope =
@"<soap:Envelope
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>
<soap:Body></soap:Body></soap:Envelope>";

protected void Page_Load(object sender, EventArgs e)
{

}
private static HttpWebRequest CreateWebRequest(string url, string action)
{
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url);
webRequest.Headers.Add("SOAPAction", action);
webRequest.ContentType = "text/xml;charset=\"utf-8\"";
webRequest.Accept = "text/xml";
webRequest.Method = "POST";
return webRequest;
}

private static XmlDocument CreateSoapEnvelope(string content)
{
StringBuilder sb = new StringBuilder(_soapEnvelope);
sb.Insert(sb.ToString().IndexOf("</soap:Body>"), content);

// create an empty soap envelope
XmlDocument soapEnvelopeXml = new XmlDocument();
soapEnvelopeXml.LoadXml(sb.ToString());

return soapEnvelopeXml;
}
protected void Button1_Click(object sender, EventArgs e)
{
string content = File.ReadAllText(_inputPath);
XmlDocument soapEnvelopeXml = CreateSoapEnvelope(content);
HttpWebRequest webRequest = CreateWebRequest(_url, _action);
InsertSoapEnvelopeIntoWebRequest(soapEnvelopeXml, webRequest);

// begin async call to web request.
IAsyncResult asyncResult = webRequest.BeginGetResponse(null, null);

// suspend this thread until call is complete. You might want to
// do something usefull here like update your UI.
asyncResult.AsyncWaitHandle.WaitOne();

// get the response from the completed web request.
string soapResult;
using (WebResponse webResponse = webRequest.EndGetResponse(asyncResult))
using (StreamReader rd = new StreamReader(webResponse.GetResponseStream()))
{
soapResult = rd.ReadToEnd();
}
File.WriteAllText(_outputPath, (soapResult));
}

private static void InsertSoapEnvelopeIntoWebRequest(XmlDocument soapEnvelopeXml, HttpWebRequest webRequest)
{
using (Stream stream = webRequest.GetRequestStream())
{
soapEnvelopeXml.Save(stream);
}
}

}


all i need to do is get the service response so that i can be able to use the methods

Increase the size of Touch UI Dialog

Is there a way to increase the size of the touch UI Dialog so that all of my tabs won't wrap?



  [Click here for example][1]


[1]: http://i.stack.imgur.com/hzRFd.png

Path to pom.xml via REST API

I have a Jenkins job which checks out some code from a repository and starts a Maven build. To get some informations about the job and the builds I can use the urls http://myjenkins/job/MyJob/api/xml and http://myjenkins/job/MyJob/123/api/xml.



Is it possible to load the configured path to the pom.xml (for cases where it's not just "pom.xml") via those APIs? I couldn't find anything in the results and I don't want to use the config.xml which needs additional rights.



My version of Jenkins is 1.580.3.

BeyondCompare comparison of XML files - Ignore specific elements during folder compare

I'm comparing folders containing XML files and wish to ignore specific nodes in the files when the directory compare is done...whether they have a value or not.



File 1
<myElement>value</myElement>
File 2
<myElement/>

File 1
<myElement>value1</myElement>
File 2
<myElement>value2</myElement>


I have BeyondCompare 3 and am using the xmlTidy sorted attributes plugin.



I have searched the BeyondCompare forums and Googled and can't seem to find step by step instructions that work. I'm sure it isn't that hard but I'm just not getting it. Can you clear the fog for me or give me a link? Thanks.

SaxonHE 9 to create multiple files with XSLT from a very large file

I'm using the information from Splitting XML into multiple files with XSLT to split an XML file that's 143M in size. If I manually take a handful of records out of the file, the following template works as suggested from the above link.



    <xsl:template match="/">
<xsl:for-each select="Report_Data/Report_Entry">
<xsl:result-document method="xml" href="record-{position()}.xml">
<xsl:copy-of select="."/>
</xsl:result-document>
</xsl:for-each>
</xsl:template>


My problem seems to be when I apply the XSLT to the larger document, which doesn't create the files, and outputs only the xml header when no output is provided when the files are created.



$ java -Xmx512M -jar /usr/local/bin/saxon9he.jar largefile.xml transform.xsl
<?xml version="1.0" encoding="UTF-8"?>


I'm working in Cygwin and using 32 bit Java v1.7.0_55.



Is the file just too large for the HE version of Saxon? Is there some other setting or reason that I'm getting output, rather than a collection of files?

Avoid Empty Sub-Tags in XML if everything is blank in an object

We have JAXB objects marshing/unmarshalling XML. Currently, we get this tag, even though everything inside it is empty. We need to completely get rid of the Top section if all its sub-elements are empty. (If at least one is not empty, it should exist.)



    <ns2:Top>
<ns2:OrganizationName></ns2:OrganizationName>
<ns2:Address>
<ns2:Street1></ns2:Street1>
<ns2:Street2></ns2:Street2>
<ns2:City></ns2:City>
<ns2:ZipPostalCode></ns2:ZipPostalCode>
</ns2:Address>
</ns2:Top>


The JAXB class is defined as:



    @XmlElement(name = "Top")
protected Top top;

jQuery $.parseXML calling XML invalid but it passes XML validators

I am trying to load an xml file using jQuery. The file is reported as valid when tested using validator websites. However, when I try to $.parseXML on the file, I get the following error:



Uncaught Error: Invalid XML: questions.xml


Here is the code I'm using:



var xml = $.parseXML('questions.xml');


And here is the XML in questions.xml:



<?xml version="1.0" encoding="UTF-8"?>
<questionnaire defaultLanguage="english" xmlns="http://localhost/questionnaire" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://localhost/questionnaire
questions.xsd">
<question id="index" type="other">
<content>
<default>Hi</default>
<language type="spanish">Hello</language>
<language type="russian">Hi</language>
</content>
</question>
<question id="c01-q01" qId="Q0301" type="compliance">
<content>
<default>Hi</default>
<language type="spanish">Hello</language>
<language type="russian">Again</language>
</content>
<answer id="1" color="green">
<default>Yes</default>
<language type="spanish">sí</language>
<language type="russian">Да</language>
</answer>
<answer id="2" color="red">
<default>No</default>
<language type="spanish">no</language>
<language type="russian">Нет</language>
</answer>
</question>
<question id="c01-q02" qId="Q0302" type="compliance">
<content>
<default>Hiyo</default>
<language type="spanish">What?</language>
<language type="russian">Yolo</language>
</content>
<answer id="1" color="red">
<default>Please</default>
<language type="spanish">Fix</language>
<language type="russian">Me</language>
</answer>
<answer id="2" color="red">
<default>I'm</default>
<language type="spanish">Scared</language>
<language type="russian">Of</language>
</answer>
<answer id="3" color="yellow">
<default>Dark</default>
<language type="spanish">Yolo</language>
<language type="russian">Mole</language>
</answer>
<answer id="4" color="yellow">
<default>Is</default>
<language type="spanish">Helping</language>
<language type="russian">Organization</language>
</answer>
</question>
</questionnaire>

Add a search button to maps


  1. This is normal text.
    Hi,
    I am new to android and I am trying to add a search bar to android maps.
    The map is added as one of the fragment to the project.
    The error seems be introduced by "this".
    Any help is appreciated.
    Thanks in advance.


  2. So is this, but now follows a code block:




public class Maps extends Fragment {



//Initial code public void 

onSearch(View view) {
EditText location_tf = (EditText) getView().findViewById(R.id.TFaddress);
String location = location_tf.getText().toString();
List < Address > addressList = null;
if (location != null || !location.equals(""))

Geocoder geocoder = new Geocoder(this);
try {
addressList = geocoder.getFromLocationName(location, 1);
} catch (IOException e) {
e.printStackTrace();
}
}
Address address = addressList.get(0);
LatLng latLng = new LatLng(address.getLatitude(), address.getLongitude());
googleMap.animateCamera(CameraUpdateFactory.newLatLng(latLng));


}



<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content">


<EditText android:layout_width="287dp" android:layout_height="wrap_content" android:id="@+id/TFaddress"/>

<Button style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Search"
android:id="@+id/button" android:layout_gravity="right" android:onClick="onSearch" />



<com.google.android.gms.maps.MapView android:id="@+id/map"
android:layout_width="match_parent" android:layout_height="match_parent"/>
</LinearLayout>
Error:(83, 46) error: incompatible types: MAPS cannot be converted to Context
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output.
Error:Execution failed for task ':app:compileDebugJava'. Compilation failed; see the compiler error output for details.

phpword document.xml error

I had my script working well and it was populating data fine. I added two new field's in a table:




  1. position_tasks

  2. position_competences



Their data is pulled from a database. Now when I try to open the created word document I get prompted with a "Unspecified Error Location: Part: /word/document.xml, Line 2, Column:0"



So I open up the xml and on line 2 the whole document format. See Picutre
I notice that the data for the two new variables are giving displaying outside of this, Line 4 -19



Is it that they are list that's causing the problem? They should just text.



How would I fix that on my script



I set the Values as such:



$document->setValue('position_tasks', $positionTasks);
$document->setValue('position_competences', $positionCompetencies);


Is it because they are showing up as lists and I have stored it into a single variable?



Thanks
XML Pic