[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

XML

20K

Solutions

13K

Contributors

Extensible Markup Language (XML) refers to the encoding of documents such that they can be read by both machines and humans. XML documents use tags to show the beginning and end of a set of data. XML is used extensively on websites to show volumes of data, and is the default for a number of office productivity suites. This topic includes discussions of XML-related technologies, such as XQuery (the XML Query language), XPath (the XML Path language), XSLT (eXtensible Stylesheet Language Transformations), XLink (the XML Linking language) and XPointer (the XML Pointer language).

Share tech news, updates, or what's on your mind.

Sign up to Post

I'm having the lot of XSD, which is included with single XSD file and all the files are getting valid well and the corresponding XML file also getting valid against corresponding XSD using oxygen XML editor. But while uploading the xml file against the XSD's file in the product. I'm getting the below error:

    Error resolving component 'Definition.attrib'. It was detected that 'Definition.attrib' has no namespace, but components with no target namespace are not referenceable from schema document

When I opened the corresponding file, it shows validated in oxygen XML editor. Here is the code for the corresponding file:

<?xml version="1.0" encoding="UTF-8"?>

<xs:schema 
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns="http://www.w3.org/1998/Math/MathML"
  targetNamespace="http://www.w3.org/1998/Math/MathML"
  elementFormDefault="qualified"
 >

<xs:include schemaLocation="common-attrib.xsd"></xs:include>
<xs:include schemaLocation="../common/common-attribs.xsd"></xs:include>

<xs:attributeGroup name="mean.attlist">
  <xs:attributeGroup ref="Definition.attrib"/>
  <xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>


<xs:complexType name="mean.type">
  <xs:attributeGroup ref="mean.attlist"/>
</xs:complexType>

<xs:element name="mean" type="mean.type"/>

<xs:attributeGroup name="sdev.attlist">
  <xs:attributeGroup ref="Definition.attrib"/>
  <xs:attributeGroup ref="Common.attrib"/>
</xs:attributeGroup>

<xs:complexType name="sdev.type">
  

Open in new window

0
Why Diversity in Tech Matters
LVL 12
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

I'm trying to create a SCOM Management Pack for my HPE Aruba Switches. However, when using the tool that Microsoft gives you for creating Management packs, I can't import the management pack due to the following error:

This management pack cannot be imported.

: XSD verification failed for the management pack. [Line: 1, Position: 2]
The 'Root' element is not declared.

This is my XML below. What am I doing wrong?

<Root>
  <Manifest>
    <Id>HPEArubaSwitches</Id>
    <Name>HPE Aruba Switches</Name>
    <Version>1.0</Version>
  </Manifest>
  <Device Name="HPE Aruba 2530 48G Switch">
    <DeviceDiscovery>
      <SysObjId>.1.3.6.1.4.1.11.2.3.7.11.139</SysObjId>
      <Type>Switch</Type>
      <Vendor>HPE Aruba</Vendor>
      <Model>2530-48G</Model>
    </DeviceDiscovery>
    <Monitoring>
      <Oids />
      <Rules />
      <Monitors />
    </Monitoring>
    <Components />
  </Device>
  <Device Name="HPE Aruba 2530 48 PoE Switch">
    <DeviceDiscovery>
      <SysObjId>.1.3.6.1.4.1.11.2.3.7.11.136.1</SysObjId>
      <Type>Switch</Type>
      <Vendor>HPE Aruba</Vendor>
      <Model>2530-48 PoE</Model>
    </DeviceDiscovery>
    <Monitoring>
      <Oids />
      <Rules />
      <Monitors />
    </Monitoring>
    <Components />
  </Device>
  <Device Name="HPE Aruba 2530 24G Switch">
    <DeviceDiscovery>
      <SysObjId>.1.3.6.1.4.1.11.2.3.7.11.140.1</SysObjId>
      <Type>Switch</Type>
      <Vendor>HPE Aruba</Vendor>
      …
0
I have xml in which the data is present in a non-regular structure, and I can't use the value method to retrieve it.
By non-regular, I want the value of certain attributes and I can't predict how many nodes deep it might be.

The interesting part is that I want to retrieve attributes from the 3rd level of nodes (1st  level of 'Item') in one column, then place all other instances of a particular attribute, regardless of how many nodes deep it is, into the next column.  The first level always has the same structure (/ItemList/Definition/Item).
While the example shows a depth of perhaps 8 nodes, in reality there may be five or ten times that depth/complexity.

Can this be done?
Thanks,
Ed

DECLARE @TestXMLTable Table(XmlData xml) 
INSERT INTO @TestXMLTable 
SELECT
 ' <ItemList>
    <Definition Trigger="False">
      <Item Id="1" Status="True">
        <ItemDefinition ID="Name1-FirstLevelVariableText" Type="Custom" Key="0">
          <Items>
            <Item ID="Yada-VariableTextFor101" FieldID="101" ManyOthers="xxxxxx" >
              <ItemDefinition ID="yyyy" Expression="zzzzzz">
                <Items>
                  <Item ID="Yada-VariableTextFor102" FieldID="102" IgnoreNull="false" CompareValue="568|569|570">
                    <ItemDefinition ID="">
                      <Items />
                    </ItemDefinition>
                  </Item>
                  <Item ID="Yada-VariableText102b" FieldID="102" IgnoreNull="false" 

Open in new window

0
While writing a custom ribbon for Access, I'm having troubles removing 2 elementsin the info tab of the backstage. See attached image, I would like elements circled in red to be removed.

RibbonCreator did not help much as it hardly support the backstage view (or is that just the shareware ?), and isMso provided by Ribbon Wizard were frowned upon by Access (GroupFileProperties and GroupFileLocation).

Below, the XML I obtained:
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    <commands>
         <command idMso="Help" enabled="false"/>
    </commands>
    <ribbon startFromScratch="true"/>
    <backstage>
         <tab idMso="TabInfo" visible="true">
              <firstColumn>
                   <group idMso="GroupDatabaseCompact"/>
                   <group idMso="GroupDatabaseEncryption" visible="false"/>
                   <group idMso="GroupFileProperties" visible="false"/>
                   <group idMso="GroupFileLocation" visible="false"/>
              </firstColumn>
         </tab>
         <tab idMso="TabOfficeStart" visible="false"/>
         <tab idMso="TabRecent" visible="false"/>
         <button idMso="FileSave" visible="false"/>
         <tab idMso="TabSave" visible="false"/>
         <tab idMso="TabPrint" visible="false"/>
         <button idMso="FileCloseDatabase" visible="false"/>
         <tab idMso="TabHelp" visible="false"/>
         <button idMso="ApplicationOptionsDialog" visible="true"/>
    </backstage>
</customUI>

Open in new window

Access-Backstage.png
0
I want to write a web page that requests an xml or json request every hour from another site and then parse and update fields
I have written general pages that are static in nature, but now I want to write on that auto updates every how with new data pulled from another site which returns the data in either json or xml.
I am not sure how I would do this.
I am looking for some basic samples or a good tutorial for this type of action.

Thanks, Bruce
0
I have to install and activate Visio 2019 pro and I have dilemma.
Having license key but having issues with xml activation process.
Presently I have Visio2019 folder where I downloaded stream.x64.x-none.dat and other necessary components for Visio 2019 Pro.
I don't know what is the problem with my configuration.xml...???
Should I run setup /configure configuration.xml from the location of the stream files or ODT folder (main Visio2019 folder) ...???
XML-SYNTAX.PNG
Stream.x64-location.PNG
Visio2019-folder.PNG
0
Running Access 2013.  Creating custom Ribbons.  Trying to streamline one of my forms that has a tab control on the form, by removing the actual  Tabs on the TabControl and setting focus to the correct tab as the user clicks the Tab on the ribbon. Not a button, but just the Tab above the buttons on the ribbon.
This is the XML for the ribbon and it works fine.  I just needs the proper way to insert an "onAction" to allow the function to run which sets focus to the correct tab.  FYI: The functions work fine too as I have already tested them with a button.

<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
<ribbon startFromScratch="true">
<tabs>
<tab idMso="TabCreate" visible="false" />
<tab idMso="TabExternalData" visible="false" />
<tab idMso="TabDatabaseTools" visible="false" />
<tab id="VendorsTab" label="Vendors" visible="true">

@@@@  NEED A STATEMENT HERE THAT CALLS "Set Tab1 Focus"   @@@@@@

<group id="VendorGroup" label="Purchase Orders"  visible="true">
         <button id="CreatePO" label="New Purchase Order"  imageMso="QueryShowTable" size="large" onAction="=CreateNewPO()" />
         <button id="FindPO" label="Find Purchase Order"   imageMso="FindDialog" size="large" onAction="=FindPurchaseOrder()" />
</group>
<group id="POGroup" label="Vendor"  visible="true">
         <button id="EditVendor" label="Edit Vendor"  imageMso="FileCloseDatabase" size="large" onAction="=EditVendor()" />
         <button id="NewVendor" …
0
I need to create a PHP script to convert XML to JSON using only native PHP XML parsing modules. No json_decode is allowed.
0
Hi

We need to convert the text on an  invoice which can be in the form of image/PDF into XML.

Any third party service which uses artificial intelligence to process different kind of invoice template, is needed.

Please let me know about any tool/service(free/paid) is available for same.
In net I can see many companies providing same but when we actually contact them, they deny.
Please help.

Thanks.
0
Very long story short: I am trying to manually migrate a hyper-v server to AWS ec-2 without using SMS.

I am copying the vhdx virtual disk as I type.  I plan to use the CLI to import the image into an new instance.  My question is, can I also somehow integrate the xml file from hyper-v manager to copy the config of the vm?  Or should I re-define the vm instance in E2 with a fresh start?  If I do the latter, will it affect any of the windows drivers?(maybe dumb question)
0
Introduction to R
LVL 12
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

Hi,

I need to suppress a repeating value within a Group in BIPublisher Report. Except for the Plan, Level, and number of seats fields within a course - I want to suppress repeating values of all other columns within a course.

I have attached what the report layout should look like.  You don't need to be familiar the report writer only with xml.

A search for a solution was suggested that I can used the later in bold below in the form field.  The form field is where a variable resides and you can do what you want with it.

For the Course header, form field looks like this..

<?fld_COURSE_DESCR?>
[b]<xsl:if xdofo:ctx="cell" test="position()=1"></xsl:if><xsl:attribute xdofo:ctx="block" name="number-rows-spanned"><xsl:value-of select="last()"/></xsl:attribute>[/b]

Open in new window


--- this does not work with variables that are numbers such as the Enrl Total
--- Also, say a course has 2 instructors both different, I want them to appear.  This makes only one appear.

So,  I tried the second suggestion which I can understand.  I am not familiar with the code above.

<? fld_NAME[not(.=preceding:: fld_NAME)]?> 

Open in new window


If a name like 'Assn Fac not'  appears once for a course and is needed again for another course it will not appear.  For the number, scenario like the Enrl Total - sometimes values appear sometimes they don't.

Any help would be greatly appreciated,

Brock
report.PNG
codeentry.PNG
desired.PNG
result.PNG
0
I have googled this one and despite numerous suggestions I have not succeeded and yet it seems so simple.
In visual studio community 2017 edition, I have a vb web application which includes an XML file of program settings which I do not want to embed, I want it to stay as an .xml file so the site's behavior can be altered without recompilation.
When I run the web application in debug , the output folder shows the web app DLL of the compiled web app and no XML file and the program fails to locate it.
The file is set to Copy to Output directory and I have tried Content, Additional Files, None, to no avail, it never copies.  If I copy the XML file to the output folder whilst in debug mode it works so the question is why does my XML file not copy to the output directory.
I have included the xml file at the top level of the project.  
What needs to happen for the web app to copy the XML file to the temporary debug iis express folder so my website can find it and work?
Thank you,
0
Hi ,

We're wondering if it is possible to pull XML data directly from an online feed straight into a SQL procedure rather than saving the XML data as a stored table first?

Thanks in advance!
0
I am trying to post an  xml file to a website that uses https and TSL1.2 with the following vbscript.  I supsect the TSL1.2 requirement is casuing the failure point .  I do get back
error 80072EE6  "the url does use a recognized protocol"  .  The vbs code is as follows:

Dim xmlhttp

Set xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")

' Indicate that page that will receive the request and the
' type of request being submitted
xmlhttp.Open "POST", " https://xxxxx.xxxx.xxxxx.xxxxx/data.xml", False


' Indicate that the body of the request contains form data
xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"

' Send the data as name/value pairs
xmlhttp.send "Id=1&S=2"

Set xmlhttp = Nothing

Open in new window


Any thoughts
0
According to this Greg Maxey article it's possible to customise the context sensitive menu at the bottom of this screenshot both via customUI XML and the older CommandBars model.

Office context menu for text
But is there any way to customise the smaller popup menu at the top e.g. the one with the font formatting controls in it?
0
I am having a hair-pulling issue with SAML. I am displaying sanitized versions (with exact search-and-replace) of my current SAML AuthnRequest, the subsequent response, and the ensuing logout request which results in, "No active session(s) found matching LogoutRequest." For context, I am using Auth0 as my identity provider (only for the testing phase). I keep hoping I'm missing something silly.

Login Request sent to https://myapplication.auth0.com/app_id_ixjdiiopspekDDikdkow?SAMLRequest=<base64encoded/urlencoded representation of below>:
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="app_id_ixjdiiopspekDDikdkow" Version="2.0" ProviderName="SAML Test" IssueInstant="{ts '2018-10-17 08:54:00'}" Destination="https://myapplication.autho0.com/samlp/app_id_ixjdiiopspekDDikdkow" ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" AssertionConsumerServiceURL="http://login.myapplicatoin.com/sso_login">
    <saml:Issuer>http://login.myapplication.com/sso_login</saml:Issuer>
    <samlp:NameIDPolicy Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" AllowCreate="true" />
    <samlp:RequestedAuthnContext Comparison="exact">
        <saml:AuthnContextClassRef>urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml:AuthnContextClassRef>
    </samlp:RequestedAuthnContext>
</samlp:AuthnRequest>

Open in new window

The Response:
<samlp:Response 

Open in new window

0
I have a folder and in that I have multiple sub-folders , each containing a default.xml file. I need to rename all the default.xml within all these sub-folders with the same name as that of the sub-folder.

So that my default.xml will become sub-folder_name.xml.

Lets say My main folder is \sites\ASDF, within that I have 10 sub-folders -> ABC-123, DEF-231, ......like this and I want to rename the default.xml within all these sub-folder to ABC-123.xml, DEF-231.xml. It should be done by using Powershell. Any ideas?

rename-item –path "d:\a2\a11\SIT-E1236\default.xml" –newname d:\a2\a11\SIT-E1236\SIT-E1236.xml
rename-item –path "d:\a2\a11\SIT-E1238\default.xml" –newname d:\a2\a11\SIT-E1236\SIT-E1238.xml

This using some loop?

Also how can I edit some xml files together to make some particular changes on the xml nodes?
0
At vultr.com I ne to lock UDP port 389... I guess they receive lots of static from hackers stealing information from there clients! I have the procedure to do this from Windows firewall but I want to use a 3rd party app. I need a xml script to change rules! I tried looking but everyone hates the block of MS's protocol but vultr loses money due to clients losing important information in the cache of the protocol. They want the port off...

I never wrote xml I have a layout for basic coding
<element>
 <![CDATA[-XML CODE HERE
 <script>a=1;</script>]]>
</element>

I have a convert from html to xml as well.
<element>
<xmltag><![CDATA[HTML CODE HERE]]></xmltag>
</element>

Email sent by vultr.com

Dear Customer,

Recent network security audits have detected some issues on your instances. Please review the following reports and help us to ensure the security of our network:




== Insecure LDAP servers ==
LDAP can be abused by attackers to conduct DDOS attacks against third party machines. We suggest that you not expose LDAP to the internet, and use a firewall to ensure that it cannot be accessed by third parties.

For Linux machines, please add firewall rules to block port 389 via UDP:

iptables -I INPUT 1 -m udp -p udp --dport 389 -j DROP

On Windows machines, we'd suggest adding a similar firewall rule to block port 389:
1) Click Start, type 'wf.msc'
2) Right click 'Inbound Rules', select 'Add Rule'
3) Select 'Port' and click Next
4) Select UDP, …
0
I want to kickstart a rhel7.5 kvm VM on a RHEL7.5 host using ansible.  I have a very basic yml file as follows.

test.yml
- hosts: test-host
  tasks:

  - name: define VM
    virt:
      command: define
      name: testvm
      xml: "{{ lookup('template', 'test.xml.j2') }}"

  - name: start VM
    virt:
        name: testvm
        state: running

Can I use the contents of virsh dumpxml from another VM for test.xml?  If not does anyone have a template file that they can pass on?  Do I require my usual ks.cfg file or can this be included in the xml?
0
OWASP: Forgery and Phishing
LVL 12
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

I have a SVG file in XML format i am trying to deserialize XML to C# objects but when trying to deserialize XML data it is giving error

Below is my code

XmlSerializer serializer = new XmlSerializer(typeof(List<rootobject>));
object objectList = null;
using (StreamReader stream = new StreamReader(@"C:\Users\sana-user\Documents\Visual Studio 
      2015\Projects\SVGXMLToJsonApp\SVGXMLToJsonApp\File\3rect.svg"))
{
      objectList = serializer.Deserialize(stream);
}
 Console.WriteLine(objectList);

Open in new window


Below is my class

[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.w3.org/2000/svg")]
[System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.w3.org/2000/svg", IsNullable = false)]
public partial class svg
{

    private svgStyle styleField;

    private svgG[] gField;

    private string[] textField;

    private decimal versionField;

    private string idField;

    private string xField;

    private string yField;

    private string viewBoxField;

    private string style1Field;

    private string spaceField;

    public svgStyle style
    {
        get
        {
            return this.styleField;
        }
        set
        {
            this.styleField = value;
        }
    }

    [System.Xml.Serialization.XmlElementAttribute("g")]
    public svgG[] g
    {
        get
        {
            return this.gField;
        }
        set
        {
            this.gField = value;
        }
    }

 

Open in new window

0
This may be difficult to answer without sharing my code. if necessary i will share it.

I wrote a c# script that runs a query from the database and outputs in an xml file. The file format is like this:
  <ImportByExternalID>
    <ID>102</ID>
    <Name>102 - All Stores</Name>
    <BulkData>
           s002,Store 002
           s007,Store 007
           s010,Store 010
    </BulkData>
</ImportByExternalID>

My sql query returns the id, name and bulk data, however the bulkdata is one row at a time. So the output of the xml is a new set of tags for each row.

Below is a sample of what my sql returns. What i am trying to do is for each "ID" list all the rows in the bulkdata tag. I'm not the greatest programmer here. it took me forever to get this far. Just looking for suggestions on best way to approach this. Again i'll share code if needed.

ID       Name                         BulkData
1      1 - Shippensburg         s038,Store 038
1      1 - Shippensburg         s056,Store 056
2      2 - State College         s033,Store 033
2      2 - State College         s051,Store 051
2      2 - State College         s137,Store 137
2      2 - State College         s187,Store 187
3      3 - Wellsboro         s198,Store 198
0
Wordpress / Yoast.  i have a lot of Draft Pages in my wordpress CMS.  Yoast will not put them in the sitemap if I mark them to be excluded, but there are too many to go through.  They are all in one category.  I want Yoast to not place a specific category (or taxonomy, which ever is easier) in my XML sitemap.  The reason is, Google will index Draft and private pages and I don't want that because they will come up 404.

How do I exclude a category from the XML sitemap in Wordpress

I found this but I dont think it is what I want

/* Noindex all posts in a category */
add_filter("wpseo_robots", function($robots) {
  if (is_single() && in_category(array(100))) {
    return "noindex,follow";
  }
  return $robots;
});

Open in new window

0
Some random examples:

xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
            "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE html>

What are these for?  What is their origin?

Can these references be viewed?  For example, the one for HTML4 I can go to the strict.dtd page, but what about the one for HTML5?  Or are they proprietary / confidential?  How do web programmers take advantage of them?
0
I need to parse an XML response I'm getting back from the Google Maps Directions API to capture the instructions, distances, and durations.  The XML is coming back in the format:
<?xml version="1.0" encoding="UTF-8"?>
<DirectionsResponse>
 <status>OK</status>
 <route>
  <summary>Water Fowl Dr</summary>
  <leg>
   <step>
    <travel_mode>DRIVING</travel_mode>
    <start_location>
     <lat>37.1654313</lat>
     <lng>-76.4239889</lng>
    </start_location>
    <end_location>
     <lat>37.1654130</lat>
     <lng>-76.4244640</lng>
    </end_location>
    <polyline>
     <points>}zyaF|pmqMB|A</points>
    </polyline>
    <duration>
     <value>12</value>
     <text>1 min</text>
    </duration>
    <html_instructions>Head &lt;b&gt;west&lt;/b&gt; on &lt;b&gt;Loon Ct&lt;/b&gt; toward &lt;b&gt;Water Fowl Dr&lt;/b&gt;</html_instructions>
    <distance>
     <value>42</value>
     <text>138 ft</text>
    </distance>
   </step>
   <step>
    <travel_mode>DRIVING</travel_mode>
    <start_location>
     <lat>37.1654130</lat>
     <lng>-76.4244640</lng>
    </start_location>
    <end_location>
     <lat>37.1699482</lat>
     <lng>-76.4290658</lng>
    </end_location>
    <polyline>
     <points>yzyaFzsmqMc@BSBUHe@Vq@d@WRsA`AWN_@N_@LKBg@Re@XaBlAmDjCWXCBOXMXITK`@Kh@Gj@Eh@G`@Ib@M`@O^KNQV</points>
    </polyline>
    <duration>
     <value>88</value>
     <text>1 min</text>
    </duration>
    <html_instructions>Turn &lt;b&gt;right&lt;/b&gt; at the 1st cross street onto &lt;b&gt;Water 

Open in new window

0
I am importing an XML file generated by a third party application into Microsoft Access, the process works but each of the tables it creates does not import with a unique reference for me to tie everything together, so now I'm left without a way to query the data.

Each XML import is the result of a 'company lookup' which brings in data relating to businesses (directors, names, company details, balance sheet etc.). I will be importing lots of different company data into the same tables, so I need an identifier which will be in each table which identifies which company the data is for - i.e. company registration number. The company registration data is held within each XML import.

<CompanyRegistrationNumber>01981238</CompanyRegistrationNumber>

I have attached an example XML file (don't worry this is all publically accessible information so there's nothing confidential), I have also attached how this imports into Access.
Example:01981238.xml

Can someone help me here to explain how I can get a unique identifier (preferably the company registration number) into all of the tables so that I may link it all together?

Many thanks in advance!
Kindest,
Darren

Access Screenshot
0

XML

20K

Solutions

13K

Contributors

Extensible Markup Language (XML) refers to the encoding of documents such that they can be read by both machines and humans. XML documents use tags to show the beginning and end of a set of data. XML is used extensively on websites to show volumes of data, and is the default for a number of office productivity suites. This topic includes discussions of XML-related technologies, such as XQuery (the XML Query language), XPath (the XML Path language), XSLT (eXtensible Stylesheet Language Transformations), XLink (the XML Linking language) and XPointer (the XML Pointer language).