B
Berg
Hello!
I have the following XML-record:
<?xml version="1.0" encoding="UTF-16"?>
<?xml-stylesheet href="car.css" type="text/css"?>
<carDoc>
<car>
<name>saab</name>
<color>silver</color>
</car>
<car>
<name>BMW</name>
<color>silver</color>
</car>
<car>
<name>sherokee</name>
<color>black</color>
</car>
<car>
<name>audi</name>
<color>metallic blue</color>
</car>
<car>
</carDoc>
I´ll try to design the form, where we can search data in xml element(s).
Elements are in xml files, not in database.
For example, if we search data from "name"-element with value "saab", the
result should be in the following format:
"name: saab", "color: silver"
Next example, search with value "s*", result: "name: saab", "color: silver",
"name: sherokee", "color: black"
Last example, search with value "*ud*", result: "name: audi", "color:
metallic blue"
How can I perform that kind of search?
Thanks in advance for help!
I have the following XML-record:
<?xml version="1.0" encoding="UTF-16"?>
<?xml-stylesheet href="car.css" type="text/css"?>
<carDoc>
<car>
<name>saab</name>
<color>silver</color>
</car>
<car>
<name>BMW</name>
<color>silver</color>
</car>
<car>
<name>sherokee</name>
<color>black</color>
</car>
<car>
<name>audi</name>
<color>metallic blue</color>
</car>
<car>
</carDoc>
I´ll try to design the form, where we can search data in xml element(s).
Elements are in xml files, not in database.
For example, if we search data from "name"-element with value "saab", the
result should be in the following format:
"name: saab", "color: silver"
Next example, search with value "s*", result: "name: saab", "color: silver",
"name: sherokee", "color: black"
Last example, search with value "*ud*", result: "name: audi", "color:
metallic blue"
How can I perform that kind of search?
Thanks in advance for help!